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 2023-06-01] [$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds #18828
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Login again and observe that it displays 'hmm it's not here' page for few seconds
Expected Result:
App should display loading animation until page is loaded
Actual Result:
App displays 'hmm it's not here' page until page is loaded
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.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 Notes/Photos/Videos: Any additional supporting documentation
After login, we will trigger OpenApp API call to load initialize data (including policies data), if this API call is not finished yet => we couldn't find this policy in Onyx store => we might see Not found screen for few seconds
What changes do you think we should make in order to solve the problem?
We need show a Fullscreen loading indicator if if we're fetching OpenApp API. To do it, we can:
Connect to the Onyx key ONYXKEYS.IS_LOADING_REPORT_DATA
Check if this key is true, we show FullScreenLoadingIndicator component in the render method of component WorkspacePageWithSections
changed the title [-]Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/-][+][$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/+]on May 12, 2023
changed the title [-][$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/-][+][HOLD for payment 2023-06-01] [$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/+]on May 25, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.17-5 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 2023-06-01. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
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:
[@mollfpr] The PR that introduced the bug has been identified. Link to the PR:
[@mollfpr] 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:
[@mollfpr] 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:
[@mollfpr] Determine if we should create a regression test for this bug.
[@mollfpr] 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.
[@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
[@mollfpr] The PR that introduced the bug has been identified. Link to the PR:
[@mollfpr] 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:
No offending PR. This is an improvement to show the loading state while the policy is fetched.
[@mollfpr] 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:
The regression step should be enough.
[@mollfpr] Determine if we should create a regression test for this bug.
Yes!
[@mollfpr] 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.
The regression step will cover the place where PR has the changes. Mostly the step is the same.
Test cases
The workspace setting page should display loading animation until the page is loaded
Login with any account
Go to Setting > Workspace
Open any workspace
Open General settings and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace setting page displays loading animation until the page is loaded
The report detail page should display loading animation until the page is loaded
Login with any account
Open any admin room
Click on the header to see detail page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report detail page displays loading animation until the page is loaded
The report setting page should display loading animation until the page is loaded
Login with any account
Open any admin room
Click on the header to see detail page
Open setting and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report setting page displays loading animation until the page is loaded
The report participant page should display loading animation until the page is loaded
Login with any account
Open any group chat
Click on the header to see the participant page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the report participant page displays loading animation until the page is loaded
The workspace initial page should display loading animation until the page is loaded
Login with any account
Open Setting > Workspaces
Open any workspace
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace initial page displays loading animation until the page is loaded
The workspace member page should display loading animation until the page is loaded
Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members and copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace member page displays loading animation until the page is loaded
The workspace invite message page should display loading animation until the page is loaded
Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Select some users and click on next button to open invite message page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite message page displays loading animation until the page is loaded
The workspace invite page should display loading animation until the page is loaded
Login with any account
Open Setting > Workspaces
Open any workspace
Open manage members
Click on invite button to open invite page
Copy the URL
Logout and visit the link that is copied above
Login again with the same account in step 1
Verify that the workspace invite page displays loading animation until the page is loaded
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon May 12, 2023
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon May 12, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)hoangzinh commentedon May 12, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Opening workspace settings by link displays 'hmm it's not here' page for few seconds
What is the root cause of that problem?
The NotFound screen only appears in Workspace Setting page when we can't find policy in the Onyx store
App/src/pages/workspace/WorkspacePageWithSections.js
Line 114 in 615ebd9
After login, we will trigger OpenApp API call to load initialize data (including policies data), if this API call is not finished yet => we couldn't find this policy in Onyx store => we might see Not found screen for few seconds
What changes do you think we should make in order to solve the problem?
We need show a Fullscreen loading indicator if if we're fetching OpenApp API. To do it, we can:
slafortune commentedon May 12, 2023
looks good!
[-]Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/-][+][$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/+]melvin-bot commentedon May 12, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01cd95e1be49eca753
melvin-bot commentedon May 12, 2023
Current assignee @slafortune is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon May 12, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (
External)melvin-bot commentedon May 12, 2023
Triggered auto assignment to @dangrous (
External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.9 remaining items
melvin-bot commentedon May 23, 2023
@dangrous, @slafortune, @mollfpr, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick!
[-][$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/-][+][HOLD for payment 2023-06-01] [$1000] Opening workspace settings by link displays 'hmm it's not here' page for few seconds[/+]melvin-bot commentedon May 25, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 25, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.17-5 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 2023-06-01. 🎊
After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon May 25, 2023
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:
slafortune commentedon May 30, 2023
@dhanashree-sawant, @mollfpr @dukenv0307 Offers sent!
@mollfpr - When you get a chance can you complete the above check list
I am OOO but will come back to pay this out on the 1st.
mollfpr commentedon May 30, 2023
No offending PR. This is an improvement to show the loading state while the policy is fetched.
The regression step should be enough.
Yes!
The regression step will cover the place where PR has the changes. Mostly the step is the same.
Test cases
slafortune commentedon Jun 1, 2023
Paid!