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
[HOLD for payment 2024-03-13] [$125] Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null. #37445
Version Number: 1.4.44-11 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:
Go to staging.new.expensify.com
Create a new workspace
Do not go to workspace chat (very important)
Go offline
Go to FAB > Request money > Manual
Enter amount > Next
Select the new workspace in Step 1
Click on the workspace under "To"
Go to Settings
Expected Result:
Workspace room settings will not show Visibility row
Actual Result:
Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null.
This issue only occurs when the workspace room has not been visited
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@eh2077] The PR that introduced the bug has been identified. Link to the PR:
[@eh2077] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@eh2077] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@eh2077] Determine if we should create a regression test for this bug.
[@eh2077] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@kadiealexander] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: n/a
Determine if we should create a regression test for this bug: I think we don't need to add a regression test for this bug. It was introduced during TS migration and the fix is straightfoward.
Activity
melvin-bot commentedon Feb 28, 2024
Triggered auto assignment to @kadiealexander (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.lanitochka17 commentedon Feb 28, 2024
We think that this bug might be related to #vip-vsp
CC @quinthar
lanitochka17 commentedon Feb 28, 2024
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
apeyada commentedon Feb 28, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null
What is the root cause of that problem?
This happens when report.visibility = null, meets this condition:
App/src/pages/settings/Report/ReportSettingsPage.tsx
Line 146 in fe6d902
What changes do you think we should make in order to solve the problem?
update condition to
!!report?.visibility &&allgandalf commentedon Feb 28, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null
What is the root cause of that problem?
This happens because when we are offline the visibility is returned as null but we return false only when it is undefined.
App/src/pages/settings/Report/ReportSettingsPage.tsx
Line 146 in fe6d902
What changes do you think we should make in order to solve the problem?
We need to update the condition to
report?.visibility ?? false.What alternative solutions did you explore? (Optional)
N/A
melvin-bot commentedon Feb 29, 2024
Job added to Upwork: https://www.upwork.com/jobs/~0122cd4185dcaeff62
[-]Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null.[/-][+][$500] Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null.[/+]melvin-bot commentedon Feb 29, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eh2077 (
External)21 remaining items
[-][$125] Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null.[/-][+][HOLD for payment 2024-03-13] [$125] Room - Workspace room settings shows Visibility row with newRoomPage.visibilityOptions.null.[/+]melvin-bot commentedon Mar 6, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 6, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.47-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-03-13. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 6, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
eh2077 commentedon Mar 11, 2024
Checklist
cc @kadiealexander
kadiealexander commentedon Mar 13, 2024
Payouts due:
Upwork job is here.
youssef-lr commentedon Mar 13, 2024
@kadiealexander this was changed to $125
kadiealexander commentedon Mar 13, 2024
Whoops, typo! Updated.
@apeyada please let me know when you've accepted the contract I sent across.