UX: Use modals to edit categories and tags that appear in sidebar (#22295)

Why this change?

We are currently not fully satisfied with the current way to edit the
categories and tags that appears in the sidebar where the user is
redirected to the tracking preferences tab in the user's profile causing
the user to lose context of the current page. In addition, the dropdown
to select categories or tags limits the amount of information we can
display.

Since editing or adding a custom categories section is already using a
modal, we have decided to switch editing the categories and tags that
appear in the sidebar to use a modal as well.

This commit removes the `new_edit_sidebar_categories_tags_interface_groups` site setting and
make the modals the default for all users.
This commit is contained in:
Alan Guo Xiang Tan
2023-06-28 07:20:31 +08:00
committed by GitHub
parent 4d3999de10
commit aef7c2fe8f
15 changed files with 28 additions and 410 deletions

View File

@ -68,7 +68,6 @@ class CurrentUserSerializer < BasicUserSerializer
:sidebar_category_ids,
:sidebar_sections,
:new_new_view_enabled?,
:new_edit_sidebar_categories_tags_interface_groups_enabled?,
:experimental_search_menu_groups_enabled?
delegate :user_stat, to: :object, private: true