discourse/app/assets/stylesheets/desktop
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
..
admin DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
components PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
_index.scss DEV: remove old and experimental user menu styles (#21326) 2023-05-02 15:07:42 -04:00
admin_customize.scss UX: Editing theme name stays active when switching themes. 2019-04-23 14:57:14 +08:00
alert.scss FEATURE: update bootstrap mode notice to add invite and wizard links (#17822) 2022-08-10 00:13:42 +05:30
category-list.scss FIX: add category colors back to categories pages (#21977) 2023-06-07 12:57:10 -04:00
compose.scss REFACTOR: move shadow vars to css custom props (#22094) 2023-06-13 16:38:31 -04:00
discourse.scss UX: improve layout and styles for solo preferences (#21094) 2023-04-19 09:41:02 -04:00
edit-category.scss UX: Move category editing/creation to its own page (#10973) 2020-10-23 12:49:02 -04:00
group.scss UX: Fix alignment in group navigation bar (#15169) 2021-12-02 09:45:33 -05:00
header.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
history.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
latest-topic-list.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
login.scss DEV: Update eslint/prettier (#22226) 2023-06-21 20:59:03 +02:00
menu-panel.scss UX: show tooltip for global nav section icon (#21974) 2023-06-08 12:57:44 -04:00
modal.scss FEATURE: support for chronologically merging posts into existing topic (#21374) 2023-05-25 14:38:34 -04:00
topic-list.scss UX: Various improvements to welcome topic CTA (#21010) 2023-05-12 17:09:40 +03:00
topic-post.scss REFACTOR: move shadow vars to css custom props (#22094) 2023-06-13 16:38:31 -04:00
topic.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
upload.scss FEATURE: use native file picker in composer (#13552) 2021-06-30 12:45:47 +04:00
user.scss DEV: remove old and experimental user menu styles (#21326) 2023-05-02 15:07:42 -04:00