You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$125] Room-In offline, notify settings displays daily but in online changed to immediately #33150
Version Number: 1.4.13-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation: @
Action Performed:
Precondition : Toggle on forced offline
Launch app
Tap fab
Tap start chat
Tap room
Create a room
Tap on room header--- settings
Note, notify me daily options displayed
Toggle off forced offline
Tap on room chat
Tap on room header--- Settings
Expected Result:
While creating room in offline, the notify me settings displays daily so after changing to online the settings must remain same daily and must not show immediately.
Actual Result:
In offline, create room and note "notify me settings displays daily" and change to online and check "notify me settings displays immediately".
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Room-In offline, notify settings displays daily but in online changed to immediately[/-][+][$500] Room-In offline, notify settings displays daily but in online changed to immediately[/+]on Dec 15, 2023
Please pay attention to the edit history of the proposal above – it was posted empty.
Please re-state the problem that we are trying to solve in this issue.
The notification preference of a room changes from daily to always when coming back online.
What is the root cause of that problem?
When creating a room, there is a discrepancy in the optimistic value of notificationPreference: "daily" and the response from the BE: notificationPreference: "always".
What changes do you think we should make in order to solve the problem?
If we take the BE as the source of truth, we should set the optimistic value to "always" as well, so it will be consistent.
If we want the daily to be the default preference, we should modify the data BE sends in response to AddWorkspaceRoom API call.
What alternative solutions did you explore? (Optional)
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
Activity
[-]Room-In offline, notify settings displays daily but in online changed to immediately[/-][+][$500] Room-In offline, notify settings displays daily but in online changed to immediately[/+]melvin-bot commentedon Dec 15, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01e0d9c2705dbcfd9a
melvin-bot commentedon Dec 15, 2023
Triggered auto assignment to @isabelastisser (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Dec 15, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Dec 15, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (
External)GItGudRatio commentedon Dec 15, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Room-In offline, notify settings displays daily but in online changed to immediately
What is the root cause of that problem?
By default, in a new room, the notification preference is daily.
App/src/pages/workspace/WorkspaceNewRoomPage.js
Line 137 in 31f79a6
When we go online, it changes to immediately.
What changes do you think we should make in order to solve the problem?
Change to it Immediately.
What alternative solutions did you explore? (Optional)
On the backend, change the policy to use Daily instead.
paultsimura commentedon Dec 15, 2023
Proposal
Please pay attention to the edit history of the proposal above – it was posted empty.
Please re-state the problem that we are trying to solve in this issue.
The notification preference of a room changes from
dailytoalwayswhen coming back online.What is the root cause of that problem?
When creating a room, there is a discrepancy in the optimistic value of
notificationPreference: "daily"and the response from the BE:notificationPreference: "always".App/src/libs/actions/Report.ts
Line 1641 in ac358ef
What changes do you think we should make in order to solve the problem?
If we take the BE as the source of truth, we should set the optimistic value to
"always"as well, so it will be consistent.If we want the daily to be the default preference, we should modify the data BE sends in response to
AddWorkspaceRoomAPI call.What alternative solutions did you explore? (Optional)
melvin-bot commentedon Dec 18, 2023
@isabelastisser, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
27 remaining items
melvin-bot commentedon Jan 3, 2024
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Jan 3, 2024
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
paultsimura commentedon Jan 4, 2024
Thanks. The PR is ready for review: #33924
paultsimura commentedon Jan 9, 2024
The PR was deployed to prod, automation here didn't work: #33924 (comment)
isabelastisser commentedon Jan 9, 2024
@situchan, what's next here? Are we waiting for regressions before we can process the payment?
situchan commentedon Jan 9, 2024
yes
isabelastisser commentedon Jan 9, 2024
Thanks!
paultsimura commentedon Jan 16, 2024
@isabelastisser this is due payment today.
The automation didn't work on deployment: #33924 (comment)
isabelastisser commentedon Jan 16, 2024
Payments were made in Upwork.
@paultsimura Contributor $125
@situchan Contributor+ $125