-
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
Marking as read when coming from notification #43919
Marking as read when coming from notification #43919
Conversation
@abdulrahuman5196 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] |
@gedu can you add a bit more details about the solution to the PR body? thanks! @abdulrahuman5196 what is your ETA for the checklist? |
Details updated |
Hi, Will work on this review today. |
Hey, any news |
This comment was marked as outdated.
This comment was marked as outdated.
Reviewer Checklist
Screenshots/VideosAndroid: NativeSorry my android was continuously failing, i used the agency members video:unread_notification_android.mp4Android: mWeb ChromeScreen.Recording.2024-06-26.at.6.44.53.PM.moviOS: NativeNotification is not allowed for dev environment ([context](https://expensify.slack.com/archives/C02NK2DQWUX/p1718633594039199))iOS: mWeb SafariScreen.Recording.2024-06-26.at.6.46.42.PM.movMacOS: Chrome / SafariScreen.Recording.2024-06-26.at.6.02.58.PM.movMacOS: DesktopScreen.Recording.2024-06-26.at.6.16.46.PM.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.
RCA was clear and tests well, cannot verify on iOS as notifications are not allowed on them.
This is ready to be deployed 👍
@gedu can you tick of the checklist please, i know the iOS won't apply here but that is necessary for the conditions to pass :) thanks |
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.
approving again for the checklist to pass
@mountiny , can you also mark this as internal QA? We need to test internally for iOS native |
@gedu you need to complete the checklist |
Checked it off for you |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Sorry I didn't see the message, thanks to check it |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
The configuration changes on this PR: #32548
That configuration changes made .desktop.js has priority over websites.js files, so now we need to add specific extensions depending on the platform. In this case making the default web and desktop (index.ts) and using specific code just for iOS and Android (index.native.ts)
Fixed Issues
$ #40152
PROPOSAL: #40152 (comment)
Tests
Offline tests
QA Steps
Verify that no errors appear in the JS console
Sign in with any user in Chrome, as like Bob
In Chrome: Change tab so Exfy is not focused
Then sign in with any user in Safari, this user must have Bob as friend or be able to chat
From Safari send a message to Bob
Wait for the notification to show up, click it
Exfy should show up, open the right report and on LHN the report title shouldn't be bold
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
unread_notification_android.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
unread_notification_chrome.mp4
MacOS: Desktop
unread_notification_desktop.mp4