discourse/app/assets/stylesheets/common
Bianca Nenciu 1403217ca4
FEATURE: Async load of category and chat hashtags (#25526)
This commit includes several changes to make hashtags work when "lazy
load categories" is enabled. The previous hashtag implementation use the
category colors CSS variables, but these are not defined when the site
setting is enabled because categories are no longer preloaded.

This commit implements two fundamental changes:

1. load colors together with the other hashtag information

2. load cooked hashtag data asynchronously

The first change is implemented by adding "colors" to the HashtagItem
model. It is a list because two colors are returned for subcategories:
the color of the parent category and subcategory.

The second change is implemented on the server-side in a new route
/hashtags/by-ids and on the client side by loading previously unseen
hashtags, generating the CSS on the fly and injecting it into the page.

There have been minimal changes outside of these two fundamental ones,
but a refactoring will be coming soon to reuse as much of the code
and maybe favor use of `style` rather than injecting CSS into the page,
which can lead to page rerenders and indefinite grow of the styles.
2024-02-12 12:07:14 +02:00
..
admin FIX: customise themes/components CSS (#25127) 2024-01-04 16:00:25 +11:00
base UX: fix post count position on avatars in topic map (#25622) 2024-02-08 17:07:38 -05:00
components FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
float-kit FIX: Position Float Kit elements correctly in RTL mode (#24908) 2023-12-15 13:16:31 +03:00
foundation UX: Update selected colour var (#25500) 2024-01-31 09:32:38 +01:00
login UX: cleaning up some invite page styles (#25247) 2024-01-12 17:15:01 -05:00
modal WIP: Experiemental Bulk Topic Actions Dropdown (#25245) 2024-01-25 09:12:06 -07:00
select-kit UX: Add "filter for more" to icon picker (#25263) 2024-01-23 21:53:13 +01:00
table-builder UX: improve mobile table editor button location (#25426) 2024-01-26 13:08:12 -05:00
d-editor.scss FIX: Form template form error visiblity (#24779) 2023-12-07 12:26:56 -08:00
font-variables.scss
input_tip.scss A11Y: disable non-essential CSS animations for reduced-motion users (#23571) 2023-09-14 17:31:43 -04:00
loading-slider.scss FIX: better supports ipad and hub footer nav (#25518) 2024-02-01 10:24:44 +01:00
post-action-feedback.scss FIX: allow styling of feedback on mobile (#25072) 2023-12-30 08:57:16 +11:00
printer-friendly.scss FEATURE: remove category badge style options, set bullet style as default (#24198) 2023-11-13 10:46:15 -05:00
software-update-prompt.scss REFACTOR: move shadow vars to css custom props (#22094) 2023-06-13 16:38:31 -04:00
topic-entrance.scss REFACTOR: move shadow vars to css custom props (#22094) 2023-06-13 16:38:31 -04:00
topic-timeline.scss UX: improve touch, swipe, panning performance on mobile menus (#23775) 2023-10-16 11:27:00 -07:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00