-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Overview
Currently, we have two different implementations for milestones types checkpoint-review and final-designs.
-
The old style is when we add links inside the milestone, it looks like this:
-
The new style, when we add links in special
add-linksmilestones which goes beforecheckpoint-revieworfinal-designs. And insidecheckpoint-reviewandfinal-designsmilestones we only choose the winners, but cannot add links. It looks like this:
Issues
-
Currently we support them both just not to ruin some already created projects for development and testing, but actually, support is not robust and there are issues with the old style
checkpoint-reviewandfinal-designs. If they are following one another like herefinal-designscomes immediately aftercheckpoint-reviewthanfinal-desginswill work as new style milestone and will get links fromcheckpoint-reviewinstead of asking user to provide the list of links.It happens because to old style and new style milestones have the same milestone type so we detect old/new style by checking if previous milestone provides the list of
marvelapplinks https://github.com/appirio-tech/connect-app/blob/dev/src/projects/detail/components/timeline/Milestone/Milestone.jsx#L301
So this is not the robust solution.
Questions
- Do we have to support both of these types? So we have to fix the issue above, or we have to remove the support for old style milestones.


