Fix: Invite message does not remain#33269
Conversation
|
@rushatgabhane 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] |
|
@rushatgabhane please help review this PR once you have a chance. Thanks |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: NativeScreen.Recording.2023-12-28.at.12.31.56.moviOS: mWeb SafariScreen.Recording.2023-12-28.at.12.28.20.movMacOS: Chrome / SafariScreen.Recording.2023-12-28.at.12.25.48.movMacOS: Desktop |
| key: ({route}) => `${ONYXKEYS.COLLECTION.WORKSPACE_INVITE_MESSAGE_DRAFT}${route.params.policyID.toString()}`, | ||
| selector: (draft) => (isEmpty(draft) ? '' : draft), | ||
| selector: (draft) => { | ||
| if (_.isUndefined(draft)) { |
There was a problem hiding this comment.
@DylanDylann
I think @bernhardoj is correct #32835 (comment) too.
and less code is better. so let's remove the selector to fix the issue ? what do you think?
There was a problem hiding this comment.
@rushatgabhane I just updated. Please help check
|
@DylanDylann please fix the author checklist by getting it from PR template |
|
✋ 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/johnmlee101 in version: 1.4.22-0 🚀
|
|
🚀 Deployed to staging by https://github.com/johnmlee101 in version: 1.4.22-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.22-6 🚀
|

Details
Fixed Issues
$ #32835
PROPOSAL: #32835 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
Screencast.from.19-12-2023.12.40.11.webm
iOS: Native
iOS: mWeb Safari
Screencast.from.19-12-2023.12.40.11.webm
MacOS: Chrome / Safari
Screencast.from.19-12-2023.12.35.27.webm
MacOS: Desktop
Screencast.from.19-12-2023.12.49.23.webm