Re: [Planner Dev] Update to the new task initials and resource button/menu feature.



ons 2004-03-03 klockan 11.01 skrev lincoln phipps openmutual net:
> Hi all,

Hi!

> I've finished adding a new feature that implements the resource
> initials on the Gantt that I wanted. I've finished coding
> and doing testing which will take a few days.
> 
> Its a handy feature - If you define anything in the (new)
> initials field on a resource then it uses this in the
> gantt display instead of the resource name.

Great! 

> Some fun cut+paste learning on this one as I had to change
> the dtd too (created a new one and update the DTD validation
> code). I'll test to make sure that the legacy MrProject
> and older Planners don't bork on the new file. If they do then
> we may have to implement a FileSaveAs or ExportAs (Planner0.11)
> style menu offering too but I'll see.

In the past, we've kept forward compatibility but not backwards, which I
think is fine if it's hard to avoid breakage. 

In this case though, it should be easy to just add the initial property
as "#IMPLIED" in the DTD which makes it not required, and then make sure
that we can handle loading files that doesn't have that property. The
old versions should work out of the box if we do it that way. 

We must not forget to add load/save code to the database backend and
maybe the HTML export as well. 

> I also found a bug in current code (also in MrProject !) in that
> the Gantt chart units display doesn't update as the units are changed.
> 
> See http://bugzilla.gnome.org/show_bug.cgi?id=136045
> 
> I tweaked the gantt_row_ensure_layout () in planner-gantt-row.c
> to make sure that gantt_row_update_resources (row) is never
> missed out (moved it down a line). This seems to fix the problem.
> 
> @@ -602,9 +605,8 @@ gantt_row_ensure_layout (PlannerGanttRow
>   	if (row->priv->layout == NULL) {
>   		row->priv->layout = gtk_widget_create_pango_layout (
>   			GTK_WIDGET (GNOME_CANVAS_ITEM (row)->canvas), NULL);
> -
> -		gantt_row_update_resources (row);
>   	}
> +	gantt_row_update_resources (row);
>   }

Good catch, looks fine! I'll commit it for you.

> I'm still working on my rolled-up resource patch but thats
> a lot harder than I initially thought so I will ship a working
> but not fully featured implementation which gives people a
> nice resource button BUT it'll only update/focus on one task.
> What I've done is still a very handy button/menu option which
> I use all the time on my own Project plans.

That would indeed be a good addition, even for only one task at a time.

> I'd like to work next on a quick way of accessing constraints
> until I know enough to complete the rolled-up-tasks change
> feature.

One thing that would help usability in this area is an icon column to
the left where we can flag different things like "has a note", "has a
constraint of type foo", etc. Also having the ability to set constraints
in the task dialog should be good.

Thanks!
Richard

-- 
Richard Hult                    richard imendio com
Imendio                         http://www.imendio.com




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