•  
     
    story #20979 Display children in Roadmap
Summary
user
Display children in Roadmap

I have a broad and hierarchical overview of the activity

Overview

Artifacts ("tasks") displayed in the roadmap widget can have children (artifact link with type _is_child).

When the roadmap is displayed, the children are not displayed.

Mockup for collapsed tasks

User can expand a task to see its children. A REST call is made to roadmap_tasks/:id/children to retrieve a paginated collection of TaskRepresentation.

Only one level of children is displayed.

Mockup of expanded task

In the Links selector, we need to remove the possibility to display children.

Edge cases

Weird Hierarchy

Given hierarchy like:

  graph TD
    Epic1:::epic --> Story1:::story
    Epic1:::epic --> Epic2:::epic
    Epic2:::epic --> Story2:::story
    Epic2:::epic --> Story3:::story
    Epic3:::epic
    Epic4...:::epic
    ThemeA --> Epic5:::epic
    classDef epic fill:#ecfaf6,stroke:#28c4a0,color:#00775c
    classDef story fill:#f8eccc,stroke:#f18e06,color:#774a0a

Epic2 shouldn't be displayed in first place because it should appear as a child of Epic1. The general rule is:

  • Given a selected tracker (eg. Epic)
  • Display all artifacts that doesn't have an element of selected tracker as parent
    • Epic1 has no parent => displayed
    • Epic2 has a parent, it's Epic1 => not displayed
    • Epic5 has a parent, it's a Theme (not Epic) => displayed

Needed mockups

  • Caret to expand/collapse children
  • Error state when the list of children fails to load
Empty
Status
Empty
Done
Development
  • [x] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [x] Are permissions checked?
  • [x] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#20979
Nicolas Terray (nterray)
2021-05-31 11:03
2021-04-30 10:57
3801

References

Follow-ups

User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes