-
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
Set optimistic default notification preference #11653
Conversation
Code changes look good at first glance, will test them out tomorrow |
Don't have the bandwidth right now, could you unassign me, please? |
Just tested on my end and everything seems to be working as expected. @neil-marcellini thanks for your patience |
|
✋ 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 @jasperhuangg in version: 1.2.21-0 🚀
|
🚀 Deployed to production by @Julesssss in version: 1.2.21-4 🚀
|
Details
We were always setting the notification preference to 'daily' when creating optimistic reports, but some chat types such as the #admins room, policy expense chats, and regular chats should have a default notification preference of 'always'. I have added a
notificationPreference
param tobuildOptimisticChatReport
, with a default value of 'always'. I then set the param to 'daily' when we create policy rooms and announce rooms. These changes match the backend logic here.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/232248
PROPOSAL: N/A
Tests
For offline iOS testing, merge the changes from this draft PR #12135.
A
B
r/
, or from messages in the console.I did see the following prop type error when creating a new workspace. I commented on the original report in Slack.
QA Steps
Test A only.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting 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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting 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
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
A
web-A.mov
B
web-B.mov
Mobile Web - Chrome
android-chrome-A.mov
Mobile Web - Safari
iOS-Safari-A.mp4
Desktop
desktop-A.mov
desktop-B.mov
iOS
ios-A.mp4
Android
android-A.mov