Uday Rana
58d6c71ed2
[MM-53650] Add disable emoticon rendering setting to webapp (#29414)
* add renderEmoticonsAsEmoji to post_markdown
* add renderEmoticonsAsEmoji to preferences, config
* add EnableRenderEmoticonsAsEmoji to GenerateClientConfig
* add EnableRenderEmoticonsAsEmoji to TeamSettings
* create renderEmoticonsAsEmoji component
* update translation file
* update tests
* add tests for RenderEmoticonsAsEmoji
* remove unused prop
* remove unused variables
* add test cases for undefined/false values for renderemoticonsasemoji
* switch strings from backticks to single quotes
* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* Update webapp/channels/src/components/user_settings/display/render_emoticons_as_emoji/render_emoticons_as_emoji.tsx
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* Update webapp/channels/src/utils/emoticons.tsx
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
* remove server setting
* remove usestate
* update i18n
* remove config setting
* fix broken test
* fix focus edit button logic
* update tests for when render emoticons option is undefined
* remove config usage from selectors
* update setting display text
* remove 'automatically' from setting description
* use default from preferences instead of hardcoded true
* update component snapshot
* remove renderemoticonsasemoji = true from emoticons tests
* Apply suggestions from code review
* Switch from useEffect to useDidUpdate
* Run fix-style
* Add RenderEmoticonsAsEmoji component to test spec
* Rewrite RenderEmoticonsAsEmoji to mirror ManageTimezones and ManageLanguages
* Update UserSettingsDisplay snapshot
* Switch test to renderWithContext, update props
* Move options into const objects
* Wrap functions in useCallback
---------
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-06-02 14:35:27 +02:00
..
2025-06-02 14:35:27 +02:00
2024-12-03 21:53:23 +00:00
2023-03-28 18:10:00 +02:00
2024-11-12 12:04:32 +01:00
2024-11-05 11:46:06 +01:00
2023-03-28 18:10:00 +02:00
2024-01-09 11:40:33 +01:00
2025-03-12 23:10:07 +01:00
2025-03-12 23:10:07 +01:00
2023-03-28 18:10:00 +02:00
2024-11-20 16:45:12 +01:00
2025-01-23 14:07:38 +01:00
2024-08-07 14:08:50 +02:00
2025-03-12 23:10:07 +01:00
2023-03-28 18:10:00 +02:00