Fix - Update the Group Creation flow#55030
Conversation
|
@hungvu193 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] |
hungvu193
left a comment
There was a problem hiding this comment.
All good. I left 2 small comments.
|
LGTM so far. I'll take more tests before approving |
|
@FitseTLT We have conflicts, please resolve it 😄 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-01-13.at.16.59.45.movAndroid: mWeb ChromeScreen.Recording.2025-01-12.at.00.09.08.moviOS: NativeScreen.Recording.2025-01-12.at.00.02.15.moviOS: mWeb SafariScreen.Recording.2025-01-11.at.23.47.32.movMacOS: Chrome / SafariScreen.Recording.2025-01-11.at.23.29.36.movMacOS: DesktopScreen.Recording.2025-01-11.at.23.30.51.mov |
|
little bump @FitseTLT |
|
Conflict resolved. @hungvu193 @mountiny I have implemented filtering out self dm if there is a participant already selected please confirm that it is an expected behaviour. |
I think that makes sense to me. But curious what's your thought? @mountiny |
|
little bump @mountiny |
|
Can you address these comments above today? @FitseTLT |
|
✋ 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/mountiny in version: 9.0.89-0 🚀
|
| if (isOptionInList) { | ||
| newSelectedOptions = reject(selectedOptions, (selectedOption) => selectedOption.login === option.login); | ||
| } else { | ||
| newSelectedOptions = [...selectedOptions, {...option, isSelected: true, selected: true, reportID: option.reportID ?? `${CONST.DEFAULT_NUMBER_ID}`}]; |
There was a problem hiding this comment.
@FitseTLT Please note that we shouldn't use ${CONST.DEFAULT_NUMBER_ID} to by pass the lint, it still violates the the lint rule.
https://expensify.slack.com/archives/C01GTK53T8Q/p1737913879440099
There was a problem hiding this comment.
BTW I did not make that change I only moved the function.
There was a problem hiding this comment.
That's weird. I saw it came from this commit: ef09dba
Do you know which added that? We should remind them.
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|
Details
Fixed Issues
$ #54460
PROPOSAL: #54460 (comment)
Tests
add to groupbutton it will add/remove the user to/from the group instead of creating a chat with that user as long as there is a user selected.Offline tests
Same as above
QA Steps
Same as above
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(themeColors.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
a.mp4
Android: mWeb Chrome
aw.mp4
iOS: Native
i.mp4
iOS: mWeb Safari
iw.mp4
MacOS: Chrome / Safari
w.mp4
MacOS: Desktop
2025-01-09.23-31-32.mp4