discourse/plugins/chat/spec/system
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
..
admin DEV: Introduce <DPageHeader /> and <DPageSubheader /> components (#30146) 2024-12-18 08:13:39 +10:00
chat/composer
chat_message
drawer
list_channels DEV: waits for mark_read! to be applied (#30444) 2024-12-23 13:54:13 +01:00
page_objects DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
reply_to_message
select_message
shortcuts
thread_list DEV: simplify restore message spec (#30490) 2024-12-28 15:27:12 +01:00
thread_tracking
user_menu_notifications
user_status
about_page_site_acitivity_spec.rb
admin_sidebar_navigation_spec.rb
anonymous_spec.rb
archive_channel_spec.rb
bookmark_message_spec.rb
browse_page_spec.rb
channel_members_page_spec.rb
channel_message_upload_spec.rb
channel_settings_page_spec.rb
channel_thread_message_echoing_spec.rb
chat_channel_spec.rb
chat_composer_draft_spec.rb DEV: uses capybara helper has_field (#30438) 2024-12-23 13:25:17 +01:00
chat_composer_spec.rb DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
chat_footer_spec.rb
chat_message_creator_spec.rb
chat_message_interaction_spec.rb
chat_message_onebox_spec.rb
chat_new_message_spec.rb
closed_channel_spec.rb
create_channel_spec.rb DEV: ensures channel has been created (#30445) 2024-12-23 13:54:22 +01:00
dates_separators_spec.rb
deleted_channel_spec.rb
deleted_message_spec.rb
document_title_spec.rb
drawer_spec.rb
edited_message_spec.rb
flag_message_spec.rb
hashtag_autocomplete_spec.rb
invite_users_to_channel_spec.rb
kick_user_from_channel_spec.rb
mention_warnings_spec.rb
message_errors_spec.rb
message_notifications_mobile_spec.rb
message_notifications_with_sidebar_spec.rb
message_thread_indicator_spec.rb
message_user_info_spec.rb
move_message_to_channel_spec.rb
navigation_spec.rb
react_to_message_spec.rb DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
read_only_spec.rb
removing_channel_spec.rb
restore_message_spec.rb
reviewables_spec.rb
send_message_spec.rb
separate_sidebar_mode_spec.rb
sidebar_navigation_menu_spec.rb
sidebars_spec.rb
silenced_user_spec.rb
single_thread_spec.rb
thread_preview_spec.rb
transcript_spec.rb
unfollow_dm_channel_spec.rb
update_last_read_spec.rb
uploads_spec.rb
user_card_spec.rb
user_chat_preferences_spec.rb
user_profile_spec.rb FEATURE: Restrict profile visibility of low-trust users (#29981) 2024-12-09 13:07:59 +03:00
user_threads_spec.rb
visit_channel_spec.rb DEV: correct test to visit category channel and not DM (#30441) 2024-12-23 13:36:02 +01:00