-
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
fix: default notification to be hidden for new chat #43638
Conversation
Signed-off-by: dominictb <[email protected]>
@DylanDylann 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] |
Signed-off-by: dominictb <[email protected]>
Signed-off-by: dominictb <[email protected]>
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-06-18.at.11.17.38.movAndroid: mWeb ChromeScreen.Recording.2024-06-18.at.11.16.35.moviOS: NativeScreen.Recording.2024-06-18.at.11.18.18.moviOS: mWeb SafariScreen.Recording.2024-06-18.at.11.17.09.movMacOS: Chrome / SafariScreen.Recording.2024-06-18.at.11.10.49.movMacOS: DesktopScreen.Recording.2024-06-18.at.11.14.48.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.
The change looks good. We will hide the notification option until we get a response from BE (discussion here)
@DylanDylann do we change the default notification pref for group chat to be hidden as well? If yes then I'll need to revert my latest commit. |
@dominictb Yep, Let's update it again |
This reverts commit c90fb0b.
@cead22 All yours |
@dominictb @DylanDylann you checked these, but there are console errors. Can you link to where they're being addressed?
And out of curiosity, do you fill out the checklist by reading each item for each PR, or do you check them all in one go now that you're used to submitting PRs in this repo? It's ok if it's the latter, you wouldn't be the first that do these, and I want to know to see if we need to change this solution Also, do you know if these bugs have been reported? If not, can you report them? Menu items truncated / not full width
Floating referral box and compose box / Bottom of the screen not calculated correctly
|
Only the first and the third warning logs will need to be fixed, the second one is from warning log from RN devtool I believe so @cead22 . I believe we don't need to fix that, or I'm not really sure whether we can fix/disable it properly. For the first and the third one, should I report that on Slack or what @cead22 @DylanDylann?
It's more on the latter, even though I think as a contributor I could still follow the checklist consistently without explicitly checking for individual items. For example, if I encounter some weird error logs, I will report it immediately, but the warning logs you saw seem date back long time ago, so probably me (and some others) are well trained to ignore it, thinking it might have been reported/fixed by someone else.
@cead22 I recalled these bugs have been reported somewhere as deploy blockers? I haven't been able to pin down the exact reported issue numbers, maybe @DylanDylann can try? ll try to merge main again to see if the issues are fixed. |
@cead22 this issue should have been fixed in the latest main. I have merged main and test it! |
Yes, please report them on slack, including the RN dev tool one, so we can have a discussion about it. And link those discussions here
Totally. I think it'd be ideal if we start reporting every single console warning or error, and that way we can prioritize fixing them, so it'll be uncommon when they happen. As opposed to now, where they're very common, but we've been seeing them for a while so they don't get as much attention. What do you think?
If you find the slack convos, feel free to revive them, and if not, let's start new ones |
👍 for this point
I'll ask on Slack if someone knew or fixed this. Will link back the relevant issues/PRs here.
Ok will do this as well on Monday! |
@cead22 reported and tagged you on Slack: https://expensify.slack.com/archives/C01GTK53T8Q/p1719213192132509 |
@cead22 Thanks for the reminder, I'll keep that in mind in the next PRs. @dominictb created a Slack thread on the Open Source Channel. Should I bring these bugs to #expensify-bugs channel? |
If the convos aren't moving forward, or we don't have issues for these warnings, then yes let's report them on expensify-bugs to get issues created for these and get them fixed |
✋ 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/cead22 in version: 9.0.2-0 🚀
|
🚀 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
fix: default notification to be hidden for new chat
Fixed Issues
$ #43218
PROPOSAL: #43218 (comment)
Tests
Start a new chat/a new group chat
Click on the header of the newly created chat
Verify that the
notify me about new messages
option should not appearOffline tests
QA Steps
Start a new chat/a new group chat
Click on the header of the newly created chat
Verify that the
notify me about new messages
option should not appearPR 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
compressed_android.webm.mp4
Android: mWeb Chrome
compressed_aweb.webm.mp4
iOS: Native
compressed_iosweb.mp4.mp4
iOS: mWeb Safari
compressed_ios.mp4.mp4
MacOS: Chrome / Safari
compressed_web.mov.mp4
MacOS: Desktop
compressed_web.mov.mp4