Add menu items for issues, MRs and to-dos to "Your work" sidebar
What does this MR do and why?
This builds on !107345 (merged) and adds three more menu items to the new Your work sidebar (#384342 - closed):
- Issues
- Merge Requests
- To-Dos
These three are very similiar to each other, showing their count as a badge (if > 0
) and they are also very much the same counts as the ones we currently still have in the header nav on the top-right.
See #384342 (closed) for design, more info and related MRs.
Screenshots or screen recordings
How to set up and validate locally
- Make sure you have the
your_work_sidebar
feature flag enabled:
Feature.enable(:your_work_sidebar)
- While logged in, go to http://gdk.test:3000/dashboard/projects. This page already showed the sidebar before, so it's a good starting point.
- Navigate to Issues from within the sidebar.
- Navigate to Merge requests from within the sidebar.
- Navigate to To-Do List from within the sidebar.
- On all three pages you should see the "Your work" sidebar on the left, and the menu item you've just clicked should now show as active.
- All these pages should have breadcrumbs.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Thomas Hutterer