discourse/app/assets/stylesheets/common/components
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
..
_index.scss REVERT: "FEATURE: Offline indicator controlled by message-bus connectivity (#21324)" (#21327) 2023-05-01 15:27:02 -05:00
badges.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
banner.scss UX: Styling changes to global banner (#16191) 2022-03-15 16:19:55 +01:00
bookmark-list.scss DEV: Use more css vars (#18561) 2022-10-12 16:05:42 +02:00
bookmark-modal.scss UX: align the trash button on the bookmark modal (#16884) 2022-05-23 18:51:01 +04:00
buttons.scss Button research (#21621) 2023-05-22 16:03:34 -05:00
char-counter.scss FEATURE: Add word count and indicator when exceeded max (#19367) 2023-02-20 12:06:43 +01:00
color-input.scss FEATURE: Use native color-picker (#15748) 2022-02-01 11:18:13 -03:00
conditional-loading-section.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
convert-to-public-topic-modal.scss FEATURE: Allow choice of category when making a PM public (#7907) 2019-07-19 11:52:50 -04:00
d-toggle-switch.scss UX: Easily toggle badges in admin badge list (#20225) 2023-02-09 11:36:27 -08:00
d-tooltip.scss UX: catch edge cases in tooltip (#20327) 2023-02-16 10:34:17 +01:00
date-input.scss UX: Fix date input icon display issues (#14369) 2021-09-17 12:07:10 -04:00
date-picker.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
date-time-input-range.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
date-time-input.scss UX: Normalize sizing for inputs, buttons, dropdowns (#14226) 2021-09-09 11:01:56 -04:00
download-calendar.scss FIX: uses tippy for popover (#15409) 2022-05-02 17:10:26 +02:00
footer-nav.scss DEV: set CSS custom property for footer-nav-height (#17744) 2022-08-01 18:01:06 -04:00
group-member-dropdown.scss DEV: Set containing block for Popper dropdowns (#20745) 2023-03-20 15:26:20 -04:00
groups-form-membership-fields.scss UX: Make group membership UI clearer (#8210) 2019-10-17 18:05:42 +01:00
hashtag.scss FIX: Do not cook icon with hashtags (#21676) 2023-05-23 09:33:55 +02:00
horizontal-overflow-nav.scss UX: move vertical admin plugin nav to horizontal overflow nav (#20319) 2023-02-17 10:21:30 -05:00
iframed-html.scss Merge pull request from GHSA-vw39-6w7q-gfx5 2020-02-27 11:47:15 -06:00
ignored-user-list.scss UX: fix color preference layout (#21346) 2023-05-03 10:11:52 +08:00
keyboard_shortcuts.scss UX: improve layout of keyboard shortcut modal (#20220) 2023-02-08 16:39:32 -05:00
navs.scss DEV: allow themes to more easily set border-radii (#19037) 2022-11-16 11:35:09 -05:00
pick-files-button.scss DEV: add pick-files-button component (#13764) 2021-07-16 21:50:50 +04:00
relative-time-picker.scss UX: Fix local-dates styling (#12085) 2021-02-15 10:44:30 +00:00
share-and-invite-modal.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
svg.scss DEV: Remove xlink hrefs (#15059) 2021-11-25 15:22:43 +11:00
tap-tile.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
time-input.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00
time-shortcut-picker.scss UX: fix time pickers input width on mobile (#21170) 2023-04-19 10:08:24 -05:00
topic-query-filter.scss UX: Make input on /filter route full width (#20952) 2023-04-04 14:10:39 +10:00
user-card.scss FEATURE: Show user cards for inactive users (#21387) 2023-05-15 21:45:26 +03:00
user-info.scss DEV: Use css var font sizes (#18518) 2022-10-12 15:31:59 +02:00
user-status-message.scss UX: improve styles of the user status message component (#17904) 2022-08-14 18:55:54 +04:00
user-status-picker.scss FEATURE: user status emoji (#17025) 2022-06-22 18:15:33 +04:00
user-stream-item.scss UX: highlight vars updates (#20346) 2023-02-21 10:15:49 +01:00
user-stream.scss UX: remove unneeded margin from user stream (#11964) 2021-02-04 14:39:43 +11:00
widget-dropdown.scss FEATURE: automatic dark mode (#10341) 2020-08-03 22:57:10 -04:00