-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix: render mentions, emojis, and inline elements inside headings #6911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
57a1402
Markdown rendering fix for user and channel mention
Rohit3523 5cecc0d
Added story
Rohit3523 cfb112b
Snapshot update
Rohit3523 0923428
Remove bold from mention
Rohit3523 196a500
chore: format code and fix lint issues [skip ci]
Rohit3523 61d8cee
Remove inlint style
Rohit3523 ab7bc37
chore: format code and fix lint issues [skip ci]
Rohit3523 e0246aa
Merge branch 'develop' into mention-markdown-fix
Rohit3523 936acf3
Added android style in mention
Rohit3523 c563b3a
snapshot update
Rohit3523 d09196b
It works with fontweight too ;-;
Rohit3523 6c7f366
Added italic mention in story
Rohit3523 9690ab2
Merge branch 'develop' into mention-markdown-fix
Rohit3523 9de47f3
use channels in story
Rohit3523 f1275c5
Merge branch 'develop' into mention-markdown-fix
Rohit3523 717c267
Merge branch 'develop' into mention-markdown-fix
Rohit3523 2cacce2
Changes
Rohit3523 8cad6f6
Readded style
Rohit3523 59a7020
story
Rohit3523 40757d0
fix
Rohit3523 4078c77
style readded for ios
Rohit3523 5f3d56b
test update
Rohit3523 a0111af
memorize it
Rohit3523 cb88c50
use textSemibold on android as well
Rohit3523 3aa3558
more changes
Rohit3523 bf01420
fix: add lineHeight to heading styles to prevent text clipping on iOS
Rohit3523 bf9559c
revert storybook change
Rohit3523 83a2f6c
chore: revert @rocket.chat/message-parser version bump (unrelated to …
Rohit3523 7b9a0f3
remove unrelated changes
Rohit3523 874183a
chore: bump @rocket.chat/message-parser to 0.31.36 (needed for nested…
Rohit3523 445892d
chore: update snapshot for new parser AST
Rohit3523 eb1c624
Improve markdown component by removing prop and using context inside …
Rohit3523 41f3d6c
Added inter italic font
Rohit3523 b7027e8
import fix
Rohit3523 57f1eff
some changes
Rohit3523 1bb821e
added bold too
Rohit3523 69056f6
chore: format code and fix lint issues
Rohit3523 9005abd
added provider in markdown context...
Rohit3523 e1af7da
Merge branch 'develop' into mention-markdown-fix
Rohit3523 01570c4
remove getCustomEmoji from story
Rohit3523 6c2406d
minor changes
Rohit3523 85dc3a0
Snapshot update
Rohit3523 3507337
Merge branch 'develop' into mention-markdown-fix
Rohit3523 22c035e
Merge branch 'develop' into mention-markdown-fix
Rohit3523 96f8a27
Improvements
Rohit3523 69b6218
story update
Rohit3523 e1de8ba
remove italic changes as well
Rohit3523 9a7a342
Merge branch 'develop' into mention-markdown-fix
Rohit3523 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
322 changes: 253 additions & 69 deletions
322
app/containers/UIKit/__snapshots__/UiKitMessage.test.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.