-
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
Update subscribe on leave #30812
Update subscribe on leave #30812
Conversation
Hi, I need to spend more time on another modal refocusing issue, so I plan to un-assign myself. If @chiragsalian is available, please feel free to push forward. :) Well, I can't un-assign myself in a PR...😅 |
I can take this over if @ntdiary agrees |
@srikarparsi please pull main. It maybe fix author checklist failing. |
Hi, I didn't add the other screenshots yet which is why author checklist is failing. Please review it if you have a chance in the meantime though and I'll add screenshots tomorrow :) |
Missing screenshots doesn't affect checklist. If you pull main, I think it will be fixed. |
And https://github.com/Expensify/Auth/pull/9222 is deployed to staging/production? |
nope its not merged yet. |
Hey @situchan, Auth PR is on production now so this is ready for review :) |
Please complete author checklist when you get a chance |
Finished the checklist and merged main, it's ready for review whenever you get a chance @situchan |
Code LGTM! Testing |
@srikarparsi Leave case works well. I think we should implement same for Join case. |
Thanks for the review! For joining a room, I believe we already optimistically subscribe when we join. Join room button calls updateNotificationPreference here Update notification preference sends optimistic data for childReportNotificationPreference here Was this what you were referring to or something else? |
I reported based on testing Screen.Recording.2023-12-22.at.2.08.30.AM.mov |
I think I found the root cause. |
Nice, thanks @situchan. Yeah, I just added in the fix for it here since it's pretty straightforward. |
merge main for test
Please resolve conflict came from #33791 you reviewed |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.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.
@srikarparsi You've got a failing Reassure Performance Tests failure. Not sure how to go about addressing that… |
It's unrelated. |
…pensify/App into srikar-updateSubscribeOnLeave merge main into branch
✋ 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/deetergp in version: 1.4.23-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.23-4 🚀
|
Details
Fixed Issues
$ #30546
PROPOSAL:
Tests
Test with this Auth PR
Offline tests
QA Steps
Same as Tests
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)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Screen.Recording.2023-11-16.at.4.11.58.AM.mov
MacOS: Desktop