-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Don't treat muted reports as unread in LHN #33779
Conversation
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
# Conflicts: # src/libs/ReportUtils.ts
Ready for review! cc @rlinoz |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScenario 1 33779-scenario-1.mp4Scenario 2 33779-scenario-2.mp4Scenario 3 33779-scenario-3.mp4Scenario 4 33779-scenario-4.mp4Scenario 5 33779-scenario-5.mp4Scenario 6 33779-scenario-6.mp4Scenario 7 33779-scenario-7_1.mp433779-scenario-7_2.mp4Scenario 8 33779-scenario-8.mp4 |
@@ -3662,7 +3663,7 @@ function shouldReportBeInOptionList({ | |||
|
|||
// All unread chats (even archived ones) in GSD mode will be shown. This is because GSD mode is specifically for focusing the user on the most relevant chats, primarily, the unread ones | |||
if (isInGSDMode) { |
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.
NAB, but it would be nice to have some sort of comment that gives a hint what GSD mode is (in relation to focus mode and/or recent mode).
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.
LGTM.
All scenarios test well.
@arosiclair 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] |
Hey @roryabraham , code looks good! I just got this scenario, want to know if it is a problem:
When sending a message with user B in a room the notification count shown in the tab goes up for user A |
@rlinoz good question – let's ask in slack Edit: brought to slack, but I went ahead and fixed the bug. Great catch @rlinoz! Updating the testing steps to account for that... |
# Conflicts: # src/components/LHNOptionsList/OptionRowLHN.tsx # src/libs/ReportUtils.ts
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.
👍
✋ 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/rlinoz in version: 1.4.32-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.4.32-5 🚀
|
Details
This PR accomplishes the following:
Fixed Issues
$ (partial) #33619
Tests
Setup
Notify me about new messages
) toMute
Scenario 1: regular DM, "most recent" mode
Preferences
->Priority Mode
)Scenario 2: regular DM, #focus mode
Scenario 3: manual mark as unread, "most recent" mode
Scenario 4: manual mark as unread, #focus mode
Scenario 5: Money request, #focus mode
#### Scenario 6: Task assignment, #focus mode1. As user B, open the DM with user A and assign a task to user A.1. As user A, verify that the DM with user B appears in the LHN and has a GBR indicator. Verify that is does not appear as bold.1. As user A, open the DM with user B and mark the task as completed.1. As user A, open a different report.1. Verify that the DM with user B is no longer visible in the LHN.Note: Scenario 6 is failing because the task report appears in the LHN as a new, fresh report. Therefore is has a fresh notification preference of
Immediately
. To fix this, I think all that's needed would be a back-end change to make new reports inherit the notification preference from their parent report. I'm not treating this as a blocker. Slack contextScenario 7: Mention in a room, #focus mode
Mute
Scenario 8: Pinning a chat, #focus mode
Scenario 9: Basic regression test
Offline tests
n/a
QA Steps
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(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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
Scenario 1
Android: Native
android1.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iosWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 2
Android: Native
android2.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 3
Android: Native
android3.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 4
Android: Native
android4.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 5
Android: Native
android5.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
~~Scenario 6~~
Scenario 7
Android: Native
android7.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 8
Android: Native
android8.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov
Scenario 9
Android: Native
android9.mp4
Android: mWeb Chrome
iOS: Native
ios.mov
iOS: mWeb Safari
iOSWeb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov