discourse/app/assets/stylesheets
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
..
common PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
desktop PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
mobile PERF: Paginate loading of tags in edit nav menu tags modal (#22380) 2023-07-04 11:36:39 +08:00
vendor
admin.scss
admin_rtl.scss FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales (#21876) 2023-06-01 05:27:11 +03:00
color_definitions.scss UX: softer dropdown and menu panel shadows (#22114) 2023-06-15 10:52:51 -04:00
common.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00
desktop.scss
desktop_rtl.scss
embed.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
ember_cli.scss
mobile.scss
mobile_rtl.scss
publish.scss UX: update and consolodate published page styles (#18792) 2022-11-01 14:31:39 -04:00
qunit-custom.scss DEV: Add dark theme support to QUnit (#19014) 2022-11-17 18:44:44 +01:00
qunit.scss DEV: Add dark theme support to QUnit (#19014) 2022-11-17 18:44:44 +01:00
wcag.scss DEV: Remove legacy user menu (#21308) 2023-05-17 09:16:42 -07:00
wizard.scss UX: Remove branded blobs background (#22115) 2023-06-14 13:21:08 -06:00
wizard_rtl.scss FEATURE: Serve RTL versions of admin and plugins CSS bundles for RTL locales (#21876) 2023-06-01 05:27:11 +03:00