-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Room mentions composer #40279
Room mentions composer #40279
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeroomAndroid.mp4Android: mWeb ChromeroomMentionAndroidChrome.mp4iOS: NativeroomMentioniOS.mp4iOS: mWeb SafariroomMentioniOSSafari.mp4MacOS: Chrome / SafariroomMentionChrome.mp4MacOS: DesktoproomMentionDesktop.mp4 |
NIT: For the current room mention, we use a different colour in the report action here
but in the composer it is same for all room mentions including the current room mention. |
Changing mention color for current room is not supported by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I was sure I approved this earlier.
It is working great, thanks!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/rlinoz in version: 1.4.63-0 🚀
|
This caused a deploy blocker here: #40414 It seems the styling is not working for phones and causing the console error |
It's not too bad, as it still works when a message is sent, but we probably want to fix it. If you concatenate more than one mention, it removes the markdown for all the mentions |
It stem |
@robertKozik Sounds good! |
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
Details
This PR bumps
react-native-live-markdown
library to introduce room mentions support (fe.#room-name
). In addition, it introduces new custom styling forroomMention
key which is the same as user mentions style - as described in design docFixed Issues
$ #39542
PROPOSAL: design doc
Tests
Offline tests
Same as test steps
QA Steps
Same as test steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop