Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to group actions? #269

Open
duhmojo opened this issue Jun 16, 2022 · 5 comments
Open

How to group actions? #269

duhmojo opened this issue Jun 16, 2022 · 5 comments

Comments

@duhmojo
Copy link

duhmojo commented Jun 16, 2022

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.

@m50S79sM6SRNp8Jn
Copy link

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

@safwansamsudeen
Copy link
Collaborator

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

@duhmojo
Copy link
Author

duhmojo commented Apr 5, 2024

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.

@safwansamsudeen
Copy link
Collaborator

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

@duhmojo
Copy link
Author

duhmojo commented Apr 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants