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 |
allgandalf
left a comment
There was a problem hiding this comment.
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 |
allgandalf
left a comment
There was a problem hiding this comment.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso 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
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