-
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
Select members from ONYX on page open, remove them on unmounting #34028
Select members from ONYX on page open, remove them on unmounting #34028
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] |
@allroundexperts Can you continue the review, I am facing some issues building android app from last two days. |
@allroundexperts all yours |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-01-13.at.2.35.43.AM.movAndroid: mWeb ChromeScreen.Recording.2024-01-13.at.2.34.11.AM.moviOS: NativeScreen.Recording.2024-01-13.at.2.32.38.AM.moviOS: mWeb SafariScreen.Recording.2024-01-13.at.2.08.14.AM.movMacOS: Chrome / SafariScreen.Recording.2024-01-13.at.2.03.55.AM.movMacOS: DesktopScreen.Recording.2024-01-13.at.2.06.48.AM.mov |
BUG
Screen.Recording.2024-01-13.at.2.44.09.AM.mov@BhuvaneshPatil I think this is not related to your PR but can you please double check? |
@allroundexperts I checked on v1.4.24-7 Screen.Recording.2024-01-13.at.9.18.32.AM.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!
✋ 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 production by https://github.com/marcaaron in version: 1.4.26-2 🚀
|
return; | ||
} | ||
newSelectedOptions.push({...detailsMap[login], isSelected: true}); | ||
}); |
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.
This logic caused minor regression.
More details about the root cause: #36350 (comment)
Details
When we select users for adding to workspace and go to invite message page and refresh it, after going back to invite page those users are not selected. This PR addresses that issue by setting the selected options from Onyx.
Fixed Issues
$ #32839
PROPOSAL: #32839 (comment)
Tests
Further more -
6. Go back to members page
7. click on invite
8. Verify if the users are not selected
Offline tests
Same as above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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
Screen.Recording.2024-01-10.at.11.36.28.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-01-09.at.8.23.08.AM.mov
iOS: Native
Screen.Recording.2024-01-08.at.10.43.37.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-01-08.at.10.49.12.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-01-08.at.10.40.20.PM.mov
MacOS: Desktop
https://github.com/Expensify/App/assets/27822551/f97745f7-a6c6-458b-b09d-1ae15b85b2f2