-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-04-05] [$125] Workspace - Categories load without loading spinner #37904
Comments
Triggered auto assignment to @alexpensify ( |
@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. |
We think that this bug might be related to #wave8-collect-admins |
ProposalPlease 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 App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx Lines 172 to 178 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
|
ProposalPlease 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 App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx Lines 179 to 180 in c270b5e
But we don't have a 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 {categoryList.length > 0 && !isLoading && (
<SelectionList What alternative solutions did you explore? (Optional)N/A |
I'll test early next week and we can figure out the next steps. Thanks! |
@alexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
No update yet, I need to test. |
bump @alexpensify for review |
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. |
This is not a bug. We only want to show the loading spinner if we have no local data. |
Closing this issue. |
Thanks @luacmartins for the update! |
Actually we do need to show a spinner cause when we make a collect workspace for the first there is no local data and we tend to see only the header like simplescreenrecorder-2024-03-20_19.35.25.mp4Can we reopen this issue ? @alexpensify @luacmartins |
@GandalfGwaihir AFAIK we already do that here. Am I missing something? |
Actually we need to add extra check over here for category list, currently: App/src/pages/workspace/categories/WorkspaceCategoriesPage.tsx Lines 312 to 315 in e2bff56
here We need to add an extra check: {!shouldShowEmptyState && !isLoading && (
<SelectionList
canSelectMultiple
sections={[{data: categoryList, indexOffset: 0, isDisabled: false}]} |
Over there the isLoading check is only for the spinner icon and not the |
friendly bump @luacmartins :) |
I think we should just mirror the conditions we have for the tags page. This was also what we initially had for categories, but we changed it somewhere along the way. |
Makes sense :) Are we reopening this issue then ? |
This is so straightforward. @GandalfGwaihir's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Current assignee @luacmartins is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
also @luacmartins as this is for tags pages as well, i guess the bounty can be $250 right :) |
@GandalfGwaihir Please also check all other pages like tax page, member page, distance rate page,... |
noted :) c.c. @luacmartins |
Sorry, the changes are really simple so we'll keep it at $125 |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @GandalfGwaihir 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
$125 right? |
Yes, sorry haven't fully woken up yet. $125 I edited my message above. |
PR ready for review @luacmartins @DylanDylann |
|
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:
|
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:
|
I confirmed the job link works here. I'll complete the payment process tomorrow. |
Payouts due: 2024-04-05
Upwork job is here. Closing - Everyone has been paid here |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Found when validating PR : #37457
Version Number: v1.4.48-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Pre-requisite: an admin account with a policyExpenseChat enabled Collect policy and another workspace.
Expected Result:
Categories load with loading spinner
Actual Result:
Categories load without loading spinner
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
2024-03-07.16.27.56.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: