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-04-05] [$125] Workspace - Categories load without loading spinner #37904
@alexpensify 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.
Please re-state the problem that we are trying to solve in this issue.
Categories load without loading spinner
What is the root cause of that problem?
We have loading spinner logic on the page, but we only check if the policyCategories are undefined, but these can be null, before fetching. Since isLoading isn't true when it is null. No loading spinner is shown
changed the title [-][$125] Workspace - Categories load without loading spinner[/-][+][HOLD for payment 2024-04-05] [$125] Workspace - Categories load without loading spinner[/+]on Mar 29, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR:
[@DylanDylann] 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:
[@DylanDylann] 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:
[@DylanDylann] Determine if we should create a regression test for this bug.
[@DylanDylann] 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.
[@alexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Activity
melvin-bot commentedon Mar 7, 2024
Triggered auto assignment to @alexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.izarutskaya commentedon Mar 7, 2024
@alexpensify 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.
izarutskaya commentedon Mar 7, 2024
We think that this bug might be related to #wave8-collect-admins
CC @zanyrenney
neonbhai commentedon Mar 7, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Categories load without loading spinner
What is the root cause of that problem?
We have loading spinner logic on the page, but we only check if the
policyCategoriesare undefined, but these can be null, before fetching. Since isLoading isn't true when it is null. No loading spinner is shownApp/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Lines 172 to 178 in c270b5e
App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Line 128 in c270b5e
What changes do you think we should make in order to solve the problem?
We should add a check for if policyCategories are null here
App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Line 128 in c270b5e
allgandalf commentedon Mar 8, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Categories load without loading spinner
What is the root cause of that problem?
We have
!isLoadingset for the state where the categories are empty:App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Lines 179 to 180 in c270b5e
But we don't have a
!isLoadingstate for when we list of categories:App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx
Lines 186 to 187 in c270b5e
What changes do you think we should make in order to solve the problem?
We need to add a
!isLoadingparameter to the list:What alternative solutions did you explore? (Optional)
N/A
alexpensify commentedon Mar 8, 2024
I'll test early next week and we can figure out the next steps. Thanks!
melvin-bot commentedon Mar 11, 2024
@alexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
alexpensify commentedon Mar 11, 2024
No update yet, I need to test.
allgandalf commentedon Mar 12, 2024
bump @alexpensify for review
alexpensify commentedon Mar 13, 2024
I've started a discussion in the wave room related to Collect - https://expensify.slack.com/archives/C036QM0SLJK/p1710357619580229. I should have an update by tomorrow.
39 remaining items
allgandalf commentedon Mar 22, 2024
PR ready for review @luacmartins @DylanDylann
[-][$125] Workspace - Categories load without loading spinner[/-][+][HOLD for payment 2024-04-05] [$125] Workspace - Categories load without loading spinner[/+]melvin-bot commentedon Mar 29, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 29, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-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 2024-04-05. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 29, 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:
alexpensify commentedon Apr 4, 2024
I confirmed the job link works here. I'll complete the payment process tomorrow.
https://www.upwork.com/jobs/~01197fc8d66a9362f0
alexpensify commentedon Apr 5, 2024
Payouts due: 2024-04-05
Upwork job is here.
Closing - Everyone has been paid here