RocketChat / RocketChat/Rocket.Chat

Support Emoji in Modal

Open
#33,819 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

planned
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

In the old versions, I see the modal is able to display emoji but the latest versions, the emoji cannot be rendered in modal anymore.
So all the apps those use emoji in modal, will display plain text instead, and look really weird.

Steps to reproduce:
  1. Create an app and build a modal.
  2. Use addSectionBlock to add content to modal.
  3. Add emoji as :rocket: to the content.
  4. Modal will show the emoji as plain text.
Expected behavior:

Modal is able to display emoji instead of plain text, same as old versions.

Actual behavior:
Screenshot 2024-11-05 at 10 03 02
Server Setup Information:
  • Version of Rocket.Chat Server: 6.13.0
  • License Type: Enterprise
  • Number of Users: 50
  • Operating System: Centos
  • Deployment Method: Manual
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21
  • MongoDB Version: 4.4
  • App Engine: 1.46.0
Client Setup Information
  • Desktop App or Browser Version: Chrome
  • Operating System: MacOS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the modal behavior through the addSectionBlock entry point described in the issue, using 🚀 content. Trace how the modal renders that content and compare it with the behavior in older versions. Done means the emoji renders in the modal instead of appearing as plain text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.