discourse/app/assets/stylesheets/mobile/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
topic-footer-mobile-dropdown.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
user-card.scss UX: adjust various avatars due to size changes (#21890) 2023-06-01 11:17:44 -04:00
user-stream-item.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00