From: Peter L. <pal...@gm...> - 2011-08-25 22:49:55
|
Just experimenting with tsng. I created a new client. Client appears in client lists,and doesn't appear in any drop down lists I created a new project for this client. a default task gets created as well. Delete the default task, and the project list says "no tasks". Try to add some time to this project, and the task list says "no tasks assigned to you" So it seems that tsng already handles the situation where there are no default tasks or projects. Just need to delete the code that creates the defaults in the first place and test using an empty database. Peter On 08/26/2011 12:54 AM, Scott Miller wrote: > I believe the default task, project and client entries were created as > a solution to the problem of "how should the system handle a user that > has no clients, projects or tasks?". This particular answer meant the > system didn't have to handle that problem as there should never be a > time when a user didn't have at least one of each. > > FWIW, I dislike them as well, and I'm hopeful that they can be removed. > > -Scott > > On Thu, Aug 25, 2011 at 7:10 AM, Peter Lazarus <pal...@gm... > <mailto:pal...@gm...>> wrote: > > I don't like these default things either. Will investigate. > > On 08/25/2011 09:47 PM, David Thompson wrote: >> Back on the list... >> >> I think "no/any client" is handled ok, I have set up an install >> with clients turned off completely. >> Default project and default task worry me. Do we really >> need these? It gets confusing when times are entered against them. >> >> Dave >> >> ------------------------------------------------------------------------ >> Date: Wed, 24 Aug 2011 19:31:48 +1000 >> From: pal...@gm... <mailto:pal...@gm...> >> To: tom...@us... >> <mailto:tom...@us...> >> CC: ma...@rw... <mailto:ma...@rw...>; >> 2n...@ak... <mailto:2n...@ak...>; >> sco...@gm... <mailto:sco...@gm...> >> Subject: Re: [Tsheetx-developers] Customizable default tasks >> >> David, >> what are you referring to in special handling of defaults? Do you >> mean that a default task, project, client are currently inserted >> in the database and show up in lists? >> Peter >> >> On 08/24/2011 06:08 PM, David Thompson wrote: >> >> Peter >> Without looking at the code, but from your good analysis, I >> agree that your suggestion is better. Scott was working on a >> new config style (in the V2 branch?) anyway, so extending the >> old config table that is earmarked for removal is not useful. >> >> So a good design sounds something like you said: a set of >> (potential) standard tasks, that can be checkboxed when >> creating tasks in a project, together with a UI to manage >> that list of standard tasks (add, delete, modify). >> >> Can we also get away from special handling of defaults here >> (default task, default project, no/any client)? >> >> Cheers >> Dave >> > |