discourse/app
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
..
assets PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
controllers PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
helpers UX: Improve login required page (#20847) 2023-03-28 07:09:44 -05:00
jobs FIX: Set `Jobs::BackfillSidebarSiteSettings` cluster concurrency to 1 (#22316) 2023-06-28 13:07:46 +08:00
mailers FIX: don't add "Re:" prefix in email subject for first post of group PMs. (#22175) 2023-06-19 18:52:00 +05:30
models FIX: error when CategoryList tried to find relevant topics (#22339) 2023-06-29 11:25:58 +10:00
serializers FIX: consistent sidebar section external links (#22343) 2023-06-30 12:25:43 +10:00
services FIX: improve performance of post alerter job (#22378) 2023-07-03 19:58:53 +10:00
views DEV: add class for static login description section (#22002) 2023-06-08 19:51:41 +05:30