discourse/plugins/chat/assets/stylesheets/desktop
Joffrey JAFFEUX 6740a340ca
DEV: unifies emoji picker (#28277)
The chat emoji picker is renamed emoji-picker, and the old emoji-picker is removed.

This commit doesn't attempt to fully rework a new emoji-picker but instead tries to migrate everything to one picker (the chat one) and add small changes.

Other notable changes:
- all the favorite emojis code has been mixed into one service which is able to store one state per context, favorites emojis will be stored for all topics, and for each chat channel. Meaning that if you always use a specific emoji in a channel, it will only show as favorite emoji in this channel.
- a lot of static code has been removed which should improve initial load perf of discourse. Initially this code was around to improve the performance of the emoji picker rendering.
- the emojis are now stored, once the full list has been loaded, if you close and reopen the picker it won't have to load them again.

List of components:

- `<EmojiPicker />` will render a button which will open a dropdown
- `<EmojiPickerContent />` represents the content of the dropdown alone, it's useful when you want to render a picker from an action which is not the default picker button
- `<EmojiPickerDetached />` just a simple wrapper over `<EmojiPickerContent />` to make it easier to use it with `this.menu.show(...)`

---------

Co-authored-by: Renato Atilio <renatoat@gmail.com>
2025-01-08 11:41:36 +01:00
..
base-desktop.scss fix (#30450) 2024-12-23 09:42:55 -06:00
chat-channel-info.scss UX: chat channel info area > classname changes (#24954) 2023-12-18 22:09:47 +01:00
chat-channel.scss UI: hides channel with visible panel on narrow screen (#29541) 2024-11-28 11:58:36 +01:00
chat-composer-uploads.scss DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
chat-index-drawer.scss FEATURE: load chat channel settings within drawer (#27346) 2024-06-06 14:01:09 +04:00
chat-index-full-page.scss DEV: Refactor header offset calculations (#29398) 2024-10-31 09:50:01 -04:00
chat-message-actions.scss DEV: Convert mobile chat message actions to a modal (#26436) 2024-04-04 09:25:52 -03:00
chat-message-creator.scss FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
chat-message-thread-indicator.scss FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
chat-message.scss UX: Improve border-radius stuff in chat-message actions (#25129) 2024-01-04 12:33:07 +01:00
chat-side-panel.scss FIX: lower thread panel min-width (#30158) 2024-12-06 19:18:45 +01:00
index.scss DEV: removes sidebar-extensions css (#30266) 2024-12-13 15:36:30 +01:00