-
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
Clear notifications after opening a report #31762
Conversation
This is working decently well but I'm running into issues with the focus event not being unsubscribed because we're rendering multiple ReportScreens when switching chats. I'm asking about this here. |
Was able to resolve this by using |
src/libs/Notification/LocalNotification/BrowserNotifications.js
Outdated
Show resolved
Hide resolved
…ear-read-notifications-native
…-read-notifications-native
I repro'd this. Looks like there's an issue with
It's being updated here even though the window isn't actually visible Fixing this with a |
Alright PR is updated and ready for another review! @s77rt @Julesssss |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb ChromeNot applicable iOS: NativeCan't test notifications on iOS iOS: mWeb SafariNot applicable MacOS: Chrome / Safariweb.movweb-2.movMacOS: Desktopdesktop.mov |
@marcochavezf 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] |
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.
The code LGTM
Alright I tried getting an iOS tester a couple times here with no luck. Since this is on a time crunch I just re-tested myself here: RPReplay_Final1702679356.MP4Looking good so going to merge |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Just realized I introduced another require cycle:
Opened a new issue to address that here |
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.4.14-0 🚀
|
🚀 Deployed to staging by https://github.com/arosiclair in version: 1.4.14-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.14-6 🚀
|
Details
Fixed Issues
$ Part of https://github.com/Expensify/Expensify/issues/258535
Tests
No tests on mWeb
Offline tests
None
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)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
RPReplay_Final1701968552.MP4
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop