Skip to content

Make frequent projects/groups list editable in Super sidebar

Kushal Pandya requested to merge kp-super-sidebar-frequent-list-editable into master

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

  1. Enable the super_sidebar_nav and your_work_sidebar feature flags.
  2. Log into the GDK and enable the New Navigation for the current user.
  3. 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 line frequency: shouldUpdate ? currentFrequency + 1 : currentFrequency, to frequency: 10000,. This will force every item to get populated as frequently accessed item.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kushal Pandya

Merge request reports