Skip to content

Two types of checkpoint-review and final-designs milestones #2361

@maxceem

Description

@maxceem

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:

    image

  • The new style, when we add links in special add-links milestones which goes before checkpoint-review or final-designs. And inside checkpoint-review and final-designs milestones we only choose the winners, but cannot add links. It looks like this:

    image

Issues

  1. 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-review and final-designs. If they are following one another like here final-designs comes immediately after checkpoint-review than final-desgins will work as new style milestone and will get links from checkpoint-review instead of asking user to provide the list of links.

    image

    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 marvelapp links 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

  1. 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.

cc @RishiRajSahu

Aha! Link: https://topcoder.aha.io/features/TCCONNECT-338

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions