Make frequent projects/groups list editable in Super sidebar
What does this MR do and why?
Note: This feature is part of Super sidebar which is currently behind a feature flag.
This MR brings back the functionality added in !108205 (merged), into super sidebar.
Screenshots or screen recordings
Screen_Recording_2023-03-24_at_12.20.36_PM
How to set up and validate locally
- Enable the
super_sidebar_nav
andyour_work_sidebar
feature flags. - Log into the GDK and enable the New Navigation for the current user.
- Visit a couple of projects/groups multiple times to make them show up under
Frequent projects
/Frequent groups
list.- Typically it takes some time for an item to show up in frequents list, you can make a project/group show up in the list quickly by editing
app/assets/javascripts/super_sidebar/utils.js#L45
and changing the linefrequency: shouldUpdate ? currentFrequency + 1 : currentFrequency,
tofrequency: 10000,
. This will force every item to get populated as frequently accessed item.
- Typically it takes some time for an item to show up in frequents list, you can make a project/group show up in the list quickly by editing
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 Kushal Pandya