discourse/app/assets/stylesheets/common/form-kit
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
..
_alert.scss UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
_char-counter.scss
_checkbox-group.scss DEV: Convert admin user fields to FormKit (#29070) 2024-10-14 13:19:53 +08:00
_col.scss
_collection.scss DEV: adds support for nested collections and objects (#30265) 2024-12-13 15:43:32 +01:00
_conditional-display.scss
_container.scss DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
_control-checkbox.scss UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
_control-code.scss FIX: correctly render ace editor in FormKit (#28601) 2024-08-28 16:24:44 +02:00
_control-composer.scss
_control-custom-value-list.scss DEV: Convert admin user fields to FormKit (#29070) 2024-10-14 13:19:53 +08:00
_control-custom.scss DEV: Migrate about config area to Form Kit (#28021) 2024-07-25 19:07:38 +03:00
_control-icon.scss DEV: Convert group SMTP settings form to FormKit (#27965) 2024-07-24 09:52:52 +10:00
_control-image.scss
_control-input-group.scss
_control-input.scss DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01:00
_control-menu.scss DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
_control-password.scss DEV: Convert group SMTP settings form to FormKit (#27965) 2024-07-24 09:52:52 +10:00
_control-radio.scss UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
_control-select.scss DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01:00
_control-textarea.scss UX: fix textarea height on mobile (#28495) 2024-08-22 16:31:48 -04:00
_default-input-mixin.scss DEV: <DSelect /> (#30224) 2024-12-13 10:40:06 +01:00
_errors-summary.scss DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00
_errors.scss
_field.scss FIX: applies full class to field (#29190) 2024-10-15 10:24:39 +09:00
_fieldset.scss UX: move admin flag form to form-kit (#28187) 2024-08-05 11:01:25 +10:00
_form-kit.scss
_index.scss DEV: adds support for nested collections and objects (#30265) 2024-12-13 15:43:32 +01:00
_meta.scss
_object.scss DEV: adds support for nested collections and objects (#30265) 2024-12-13 15:43:32 +01:00
_row.scss
_section.scss
_variables.scss