discourse/app/assets/stylesheets
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
..
common FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
desktop UX: Improve display of short site description in header dropdown (#21628) 2023-05-18 10:16:21 +08:00
mobile DEV: .quick-access-profile no longer exists (#21663) 2023-05-20 17:47:04 +10:00
vendor A11Y: Add clearer focus states for date picker elements (#17890) 2022-08-15 14:50:07 -04:00
admin.scss Sane sendAction() behavior 2015-09-11 09:34:20 -07:00
color_definitions.scss UX: update ring animation to avoid scroll (#21150) 2023-04-19 09:13:50 -04:00
common.scss A11Y: Improve accessibility in WHCM themes (#18606) 2022-10-17 07:07:46 -07:00
desktop_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
desktop.scss DEV: Added support for custom site setting 'emoji_list' (#12414) 2021-04-07 15:32:05 +02:00
embed.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
ember_cli.scss DEV: Require Ember CLI to be used in development mode (#12738) 2021-04-29 14:13:36 -04:00
mobile_rtl.scss FEATURE: support user local switching to RTL correctly 2015-05-20 15:56:54 +10:00
mobile.scss DEV: Refactor font and category background importers (#12312) 2021-03-10 11:05:56 -05:00
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: minor installation success style adjustments (#21239) 2023-04-25 15:50:54 -04:00