fix: custom emoji align vertically in message#6738
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (3)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughEmoji rendering was changed to wrap Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
app/containers/markdown/components/emoji/Emoji.tsx(2 hunks)
🧰 Additional context used
🪛 ESLint
app/containers/markdown/components/emoji/Emoji.tsx
[error] 3-3: All imports in the declaration are only used as types. Use import type.
(@typescript-eslint/consistent-type-imports)
🪛 GitHub Check: ESLint and Test / run-eslint-and-test
app/containers/markdown/components/emoji/Emoji.tsx
[failure] 3-3:
All imports in the declaration are only used as types. Use import type
3c1199f to
39de1a1
Compare
|
We noticed that Storybook wasn’t updated and after pulling the changes from the develop branch, GitHub showed 272 file changes. To fix this, I reverted the merge commit and force-pushed the branch. After that, I updated the branch using the GitHub UI and then I pushed the updated Storybook snapshots |
Proposed changes
Right now custom emojis are not vertically center aligned in the chat which make the UI look bad. After some research i found that we can't vertically align image inside text and only way to make is center is applying translateY to the image
I can confirm that sending single emoji will not have different behaviour
Issue(s)
https://rocketchat.atlassian.net/browse/COMM-89
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Summary by CodeRabbit