discourse/app/assets/stylesheets/desktop/components
Alan Guo Xiang Tan 82d6420e31
PERF: Paginate loading of tags in edit nav menu tags modal (#22380)
What is the problem?

Before this change, we were relying on the  `/tags` endpoint which 
returned all the tags that are visible to a give user on the site leading to potential performance problems. 
The attribute keys of the response also changes based on the `tags_listed_by_group` site setting. 

What is the fix?

This commit fixes the problems listed above by creating a dedicate `#list` action in the
`TagsController` to handle the listing of the tags in the edit
navigation menu tags modal. This is because the `TagsController#index`
action was created specifically for the `/tags` route and the response
body does not really map well to what we need. The `TagsController#list`
action added here is also much safer since the response is paginated and
we avoid loading a whole bunch of tags upfront.
2023-07-04 11:36:39 +08:00
..
sidebar/edit-navigation-menu PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
_index.scss DEV: Switch edit nav menu tags/categories modal to component (#22401) 2023-07-04 09:45:21 +08:00
user-card.scss FIX: uses popper for cards 2023-01-30 21:12:30 +01:00
user-info.scss
user-stream-item.scss UX: Tweak user deleted posts items (#21856) 2023-05-31 16:49:56 +02:00