Re: [Planner Dev] Planner enhancement - use resource patch against CVS 011 20040316.





Richard Hult wrote:

tor 2004-03-18 klockan 11.55 skrev lincoln phipps openmutual net:

Richard Hult wrote:


Hi!

tis 2004-03-16 klockan 23.28 skrev lincoln phipps openmutual net:


Attached is the use resource patch. It adds a nice little
button plus menu actions and right-mouse task of Use Resource.


Maybe we should call it "Assign resources"?


I thought about this and ended up with the verb "Use", though
Assign is equally meaningful its a longer word :)


Might be better. Any comments from the rest of the crew? :) We can
always change it later, I guess.


I'll go with the majority. I just didn't want the single word
resource so I needed a easy to remember verb so I gave it the
easy-to-grep string of "use_resource"


This simply pops up a dialog that simply has the resources
on it.

Where it helps is when you ctrl/shift-click multiple tasks.
Then it opens up one dialog per task in quick succession
(dialogs layered on top of each other).

Maybe we should make it popup no more than say 5 or 10 of those at a
time? Just to prevent a mistake where you accidentally select all and
choose this feature...

Not 5 or 10 but lots !. I've actually used it on my current 100 task
project, selected all tasks and gone through each tweaking the
resources -> close dialog, tweak resource -> close dialog etc etc.
In the past this would have taken a lot of time ! It doesn't seem to
cause any problems i.e. it doesn't hang or crash if you select
all and -> Use Resource so I'd like to leave it as it is.


Well, I'd rather put some limit even if it's 20, and maybe a popup
saying that it was limited. If you have 1000 tasks and accidentally get
1000 windows up, I'm sure the window manager and X will get in trouble.
I'm not even sure you can have that many toplevel windows in X, iirc
there's some limit.

OK this is a fairly easy change in task_view_update_ui() and
gantt_view_update_ui() to test for count_value > some arbitary limit
and then make the button/menu inactive. This'll be an easy
change.  Someone will know its stopped working when the button goes
inactive. We don't need a warning dialog at this time.

OK, maybe just 20 tasks it is. It should be some multiple of 10.



I was thinking, what do you think about making the menu/button popup the
task dialog with the resources page active instead of using a separate
dialog?

Though it seems like adding extra code it was really to make it a
clean presentation to tweak resources so I really wanted it to
popup this 1 very focused dialog to help satisfy the project managers
responsibility of updating resource allocations.  Once a set of
project tasks is decided then the next step in project management
is the initial allocation of resources and then refactoring
these resource allocations.

The dialog is just showing the relationship between the tasks and
the resources and therefore shouldn't show the whole task (nor the
whole resource), only the things that affect the two.


Well I was just thinking that there would be one way to do resource
assignment instead of two => less confusion for users, less code to
maintain, less UI to get consistent.

Since the resource tab would be selected, it would look mostly the same
as your suggestion, plus it would be exactly the same code and
look-n-feel as when dealing with it elsewhere.

I'm sort of starting to agree - err -how do I message a dialog
to bring the Resources tab into focus when its opened ?.

If you want I can redo this based on your feedback.


/Richard


Rgds,
Lincoln.

ps: Task Priority patch finished. Testing OK. will add priority
to schema along with the new deadline date so schema changes are
at a minimum.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]