discourse/app/assets/stylesheets/common
Martin Brennan 0b3cf83e3c
FIX: Do not cook icon with hashtags (#21676)
This commit makes some fundamental changes to how hashtag cooking and
icon generation works in the new experimental hashtag autocomplete mode.
Previously we cooked the appropriate SVG icon with the cooked hashtag,
though this has proved inflexible especially for theming purposes.

Instead, we now cook a data-ID attribute with the hashtag and add a new
span as an icon placeholder. This is replaced on the client side with an
icon (or a square span in the case of categories) on the client side via
the decorateCooked API for posts and chat messages.

This client side logic uses the generated hashtag, category, and channel
CSS classes added in a previous commit.

This is missing changes to the sidebar to use the new generated CSS
classes and also colors and the split square for categories in the
hashtag autocomplete menu -- I will tackle this in a separate PR so it
is clearer.
2023-05-23 09:33:55 +02:00
..
admin UX: improve contrast of overridden setting indicator dot (#21128) 2023-04-18 09:09:38 +02:00
base UX: improve tags spacing (#21585) 2023-05-23 09:52:15 +08:00
components FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
foundation Button research (#21621) 2023-05-22 16:03:34 -05:00
modal FEATURE: integrate DnD with user status (#19410) 2022-12-16 16:35:39 +04:00
select-kit UX: loading slider for select-kit filter (#21401) 2023-05-08 14:56:46 -04:00
d-editor.scss DEV: allow themes to more easily set border-radii (#19037) 2022-11-16 11:35:09 -05:00
font-variables.scss FIX: Use rem for font sizes in post headings (#13720) 2021-07-14 11:15:58 +10:00
input_tip.scss DEV: Refactor popup-tip component (#15257) 2021-12-13 11:22:02 -05:00
printer-friendly.scss DEV: Remove lazy-yt and replace with lazy-videos (#20722) 2023-03-29 11:54:25 -04:00
software-update-prompt.scss UX: Add hover style to refresh-page dismiss button (#15711) 2022-02-01 20:04:46 +01:00
topic-entrance.scss fix topic entrance button layout (#11887) 2021-01-28 15:44:01 -05:00
topic-timeline.scss UX: use relative units to prevent timeline crop (#20943) 2023-04-04 09:40:43 -04:00
whcm.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00