discourse/lib/tasks
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
..
add_topic_to_quotes.rake
admin.rake FEATURE: Add option to hide full name input at signup (#30471) 2024-12-30 22:26:20 +03:00
annotate.rake DEV: add rake task to annotate plugins in clean DB (#29378) 2024-10-24 15:15:59 -03:00
api.rake
assets.rake DEV: Remove max compression level for brotli in assets.rake (#30220) 2024-12-11 14:01:33 +08:00
auto_annotate_models.rake
autospec.rake
avatars.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
backfill.thor
categories.rake
cdn.rake
compatibility.rake DEV: Introduce rake task to validate discourse-compatibility file (#26158) 2024-03-13 13:57:41 +00:00
db.rake DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
destroy.rake
dev.rake
docker.rake DEV: Drop qunit timeout args (#28775) 2024-09-06 13:08:42 +02:00
documentation.rake
emails.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
emoji.rake DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
export.rake
groups.rake
hashtags.rake
i18n.rake
images.rake
import.rake FIX: correct topics and posts count in import:ensure_consistency rake task (#30104) 2024-12-30 15:15:18 +01:00
incoming_emails.rake
javascript.rake DEV: unifies emoji picker (#28277) 2025-01-08 11:41:36 +01:00
list_email_templates_strings.rake FIX: Add new/missing email templates to the email templates editor (#28075) 2024-07-30 00:27:41 +03:00
log.rake
maxminddb.rake DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
plugin.rake DEV: improve the plugin:spec rake task (#29050) 2024-11-29 06:33:14 +11:00
populate.rake DEV: Add reviewables:populate rake task (#30540) 2025-01-03 10:05:04 +08:00
populate.thor
posts.rake UX: Add a rake task to monitor progress for long rebakes (#27517) 2024-07-03 07:52:47 +10:00
profile.rake DEV: Fix benchmark script 2024-11-20 14:36:44 +01:00
qunit.rake DEV: Run theme tests in random order (#28841) 2024-09-11 10:45:12 +02:00
redis.rake
release_note.rake DEV: Bump rubocop_discourse (#29608) 2024-11-06 06:27:49 +08:00
revisions.rake
rspec.rake
s3.rake DEV: Remove line of code that does not work (#30258) 2024-12-13 09:36:51 +08:00
scheduler.rake
search.rake
site_settings.rake DEV: Ensure all site settings have a keyword entry (#30485) 2024-12-30 12:22:55 +11:00
site.rake
smoke_test.rake DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
svg_icons.rake DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
svg_sprites.rake
tags.rake
themes.rake PERF: Optimize themes:update task (#29290) 2024-10-21 12:36:40 +01:00
topics.rake
turbo.rake
typepad.thor
uploads.rake DEV: Fix uploads:fix_missing_s3 rake task when file is too big (#29735) 2024-11-13 15:01:44 +08:00
users.rake DEV: update rake task to disable 2FA for a user (#29052) 2024-10-16 09:11:29 +11:00
version_bump.rake DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00