-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
nested quote for editing message #39096
Conversation
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
@allroundexperts Hello could you check please? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-01.at.4.13.42.PM.movAndroid: mWeb ChromeScreen.Recording.2024-04-01.at.4.01.11.PM.moviOS: NativeScreen.Recording.2024-04-01.at.4.04.21.PM.moviOS: mWeb SafariScreen.Recording.2024-04-01.at.3.56.35.PM.movMacOS: Chrome / SafariScreen.Recording.2024-04-01.at.3.53.59.PM.movMacOS: DesktopScreen.Recording.2024-04-01.at.3.55.32.PM.mov |
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.
Looks good.
@andrey010 Your screenshots for the native devices are not accurate. You needed to rebuild the app in order for the changes to appear. I've covered this in my screen recordings but for the future, please make sure to include the latest screenshots.
@allroundexperts just checking, I'm assuming you took a look at the Expensify-common PR? Expensify/expensify-common#671 |
I'm a bit confused on the expected behavior here. If the input is:
Then the output would be:
And when editing it would be:
But from the tests here, I see the text when editing is:
Is that correct, @andrey010 @allroundexperts ? |
Changes are looking good there. |
@MariaHCD The expected behaviour is: When typing a new message, in the composer, we should have the following:
When the message is sent, it should be displayed as:
When the message is edited, in the composer following should show:
My screen recordings are reflecting the same. @andrey010's screen recordings for native are incorrect because a rebuild is required in order for new changes to appear. |
Hmm, I thought that when editing that message would show:
I guess I'm unclear on why we have three parsed nested quotes in addition to |
Oh, I see. Thanks for clarifying! Looks like even if it's just one nested quote, if we're editing it, then we show the parsed quote in addition to Screen.Recording.2024-04-01.at.7.13.10.PM.movSince this is an existing pattern, this makes sense to me. |
Got it , thanks |
🚀 Deployed to staging by https://github.com/MariaHCD in version: 1.4.59-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
Details
Added changes of quote rule to expensify-common library
Fixed Issues
$ https://github.com/Expensify/App/issues/38199
PROPOSAL: https://github.com/Expensify/App/issues/38199#issuecomment-1994052313
Tests
Offline tests
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