gantt icon indicating copy to clipboard operation
gantt copied to clipboard

How to group actions?

Open duhmojo opened this issue 3 years ago • 5 comments

Hi all. Thanks for working on such a cool looking Gantt component.

I'd like to group actions into a milestone instead of just a series of actions. Is there anyway of throwing a full width item in the list? Maybe an action with a custom style? Thanks.

duhmojo avatar Jun 16 '22 14:06 duhmojo

Not sure how to do this. Would be interesting to learn. If someone has a code example please share.

m50S79sM6SRNp8Jn avatar Aug 20 '23 22:08 m50S79sM6SRNp8Jn

@duhmojo what would be the practical difference between a milestone and a series of actions?

safwansamsudeen avatar Apr 04 '24 20:04 safwansamsudeen

A milestone is a collection of actions within a project. In a project you typically have more than just unrelated actions. It's pretty standard stuff. Here's a shot of what I implemented.

image

The milestones reflect the start/end of the sub-actions. You can attach meaning to the milestone, like a Lead contact. You can send out notifications/alerts to a milestone lead when an action is updated, etc... Stuff like you'd see in Project.

duhmojo avatar Apr 05 '24 17:04 duhmojo

@duhmojo But a milestone shouldn't have editable progress or dates, am I correct? Both should be auto calculated?

safwansamsudeen avatar Apr 05 '24 19:04 safwansamsudeen

In my implementation the milestone has an initial date and range (today + a day) then I added some Esther painful support for a custom popover where you can add an action (shows an add modal). Once you have an action or two the milestone date range is automatically determined from the actions that belong to it. You could have a milestone have its own date and range but practically it’ll become pointless if the actions go outside of it, so I just created the milestones with the mix/max of its actions.

duhmojo avatar Apr 06 '24 00:04 duhmojo