mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-16 18:05:35 +08:00
This PR allows user to choose any emoji in reaction, like the old retort plugin. * Add a `discourse_reactions_experimental_allow_any_emoji` option, if enabled, will add a button of EmojiPicker in the ReactionsPicker * When the EmojiPicker is shown, will prevent ReactionsPicker from collapse when clicking at outside(necessary on mobile device) / moving mouse outside of ReactionsPicker * This is considered a disabled by default experimental feature for now, admins can enable at their own discretion, as there is not currently a way to limit which reactions can be used here
29 lines
837 B
YAML
29 lines
837 B
YAML
discourse_reactions:
|
|
discourse_reactions_enabled:
|
|
default: false
|
|
client: true
|
|
discourse_reactions_like_icon:
|
|
client: true
|
|
default: "heart"
|
|
discourse_reactions_reaction_for_like:
|
|
client: true
|
|
type: enum
|
|
default: "heart"
|
|
enum: ReactionForLikeSiteSettingEnum
|
|
discourse_reactions_enabled_reactions:
|
|
type: emoji_list
|
|
default: "+1|laughing|open_mouth|clap|confetti_ball|hugs"
|
|
client: true
|
|
discourse_reactions_desaturated_reaction_panel:
|
|
default: false
|
|
client: true
|
|
discourse_reactions_excluded_from_like:
|
|
type: emoji_list
|
|
default: "-1"
|
|
validator: "ReactionsExcludedFromLikeSiteSettingValidator"
|
|
discourse_reactions_like_sync_enabled:
|
|
default: true
|
|
discourse_reactions_experimental_allow_any_emoji:
|
|
default: false
|
|
client: true
|
|
area: "experimental"
|