Work item - Design sidebar and description
What does this MR do and why?
Introduce sidebar when viewing a design from a work item.
- Displays design description if it already exists
- Display empty state image until discussions are implemented
- Clicking on the discussion button in the toolbar toggles the sidebar
Note: DesignDisclosure is moved to vue_shared
as we don't need a copy of this reusable component.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Visit an issue and upload a design to it.
- Click on the design and add a description.
- Visit the work item equivalent to that issue.
- Click on a design to open it.
- Verify the description displays correctly.
- Click on the discussion button in the top right corner to close the sidebar and reopen it.
- Issue example URL:
http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/issues/2
- Corresponding work item URL:
http://127.0.0.1:3000/gitlab-org/gitlab-shell/-/work_items/2
Related to #460796 (closed)
Edited by Florie Guibert