Skip to content
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-11-20] [$250] Brief loading circle when accessing Company Cards page #51333

Closed
joekaufmanexpensify opened this issue Oct 23, 2024 · 45 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Oct 23, 2024

Problem

(Discussed here) every time you access the Company cards empty-state page on the workspace, there's a brief loading circle while we render the graphic in the middle of the page. This makes the experience feel less premium, as there isn't any significant amount of data being loaded here. It also doesn't exist for the Expensify Card empty state, which is analogous to this page.

Company cards page

2024-10-22_16-16-28.mp4

Expensify Card page

2024-10-22_16-16-53.mp4

Solution

Remove this loading indicator when accessing Company cards. If we don't need it when accessing Expensify Card empty state, it shouldn't be necessary here either, as they're essentially the same page with a different graphic.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021849080892463168395
  • Upwork Job ID: 1849080892463168395
  • Last Price Increase: 2024-10-23
  • Automatic offers:
    • allgandalf | Contributor | 105194260
Issue OwnerCurrent Issue Owner: @getusha
@joekaufmanexpensify joekaufmanexpensify added Daily KSv2 NewFeature Something to build that is a new item. labels Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

Triggered auto assignment to @Christinadobrzyn (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

Copy link

melvin-bot bot commented Oct 23, 2024

Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

@joekaufmanexpensify joekaufmanexpensify moved this to Release 3: Fall 2024 (Nov) in [#whatsnext] #expense Oct 23, 2024
@joekaufmanexpensify
Copy link
Contributor Author

@waterim is taking this one. Once they comment here, we'll assign them!

@joekaufmanexpensify
Copy link
Contributor Author

@shawnborton IDT there are really any design implications to this one, as it's just polish for the loading of this page. But LMK if anything comes to mind!

@waterim
Copy link
Contributor

waterim commented Oct 23, 2024

Hello Im Artem from Callstack and would like to take this one!

@joekaufmanexpensify joekaufmanexpensify added the External Added to denote the issue can be worked on by a contributor label Oct 23, 2024
@melvin-bot melvin-bot bot changed the title Brief loading circle when accessing Company Cards page [$250] Brief loading circle when accessing Company Cards page Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

Job added to Upwork: https://www.upwork.com/jobs/~021849080892463168395

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 23, 2024
Copy link

melvin-bot bot commented Oct 23, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Oct 23, 2024
@joekaufmanexpensify joekaufmanexpensify removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 23, 2024
@shawnborton
Copy link
Contributor

Sounds good, yeah this one seems pretty straightforward 👍

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 23, 2024
@Christinadobrzyn
Copy link
Contributor

PR under works - #51360

@joekaufmanexpensify
Copy link
Contributor Author

@waterim is this it? #52615

@waterim
Copy link
Contributor

waterim commented Nov 21, 2024

@joekaufmanexpensify probably, I took ticket to fix it, will update why its happening!

Copy link

melvin-bot bot commented Nov 25, 2024

@shawnborton, @rlinoz, @waterim, @Christinadobrzyn, @getusha Eep! 4 days overdue now. Issues have feelings too...

Copy link

melvin-bot bot commented Nov 29, 2024

@shawnborton, @rlinoz, @waterim, @Christinadobrzyn, @getusha Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

@Christinadobrzyn
Copy link
Contributor

Just checking in on this @waterim do you have an update? It looks like the PR is still being reviewed, is that correct? #52615

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2024
@waterim
Copy link
Contributor

waterim commented Dec 2, 2024

@Christinadobrzyn It was fixed here and merged :)

@Christinadobrzyn
Copy link
Contributor

Ah thanks @waterim! So I think we can pay this out and there were no regressions, is that correct?

@Christinadobrzyn
Copy link
Contributor

I'm just checking on this; I still see a loading circle - is this expected? cc @waterim @getusha This is on Mac Chrome

2024-12-03_09-59-08.mp4

@waterim
Copy link
Contributor

waterim commented Dec 4, 2024

@Christinadobrzyn yes, its expected behavior for an empty state when we dont have cardList, but once we have it we will not have a loading state

@Christinadobrzyn
Copy link
Contributor

Thanks @waterim! Do we need a regression test for this? @getusha @waterim

@waterim
Copy link
Contributor

waterim commented Dec 4, 2024

Im not sure actually
Maybe @mountiny or @joekaufmanexpensify can help to answer this

Copy link

melvin-bot bot commented Dec 4, 2024

📣 @allgandalf 🎉 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 📖

@mountiny
Copy link
Contributor

mountiny commented Dec 4, 2024

I think we should add the regression test for this one @allgandalf. Could you please write up the regression test from the scenarios we have been discussing? I think you will be able to nail it really well

@allgandalf
Copy link
Contributor

allgandalf commented Dec 5, 2024

Regression Test Proposals

Regression test 1:

Precondition:

  • User has a workspace with company card enabled
  • There is not feed assigned to the policy
  • User is logged out of the app

Test:

  • Login the App
  • Go to workspace with company cards enabled
  • Click on Company cards

Verify that: Loading screen is shown while we fetch the company cards feed details

Regression test 2:

Precondition:

  • User has a workspace with company card enabled
  • There is not feed assigned to the policy
  • and the user has already visited the company cards page atleast once.

Test:

  • Go to workspace > Company cards

Verify that: Loading screen is shown everytime the user visits company cards page, followed by empty cards modal

Regression test 3:

Precondition:

  • User has a workspace with company card enabled
  • User has feed added to the policy
  • User is logged out

Test:

  • Login the App
  • Go to workspace with company cards enabled
  • Click on Company cards

Verify that: A loading screen is shown when the user visits the cards page for the first time.

Regression test 4:

Precondition:

  • User has a workspace with company card enabled
  • User has feed added to the policy
  • and the user has already visited the company cards page atleast once.

Test:

  • Go to workspace > Company cards

Verify that: There is no loading screen on the company cards page

Do we agree 👍 or 👎

@allgandalf
Copy link
Contributor

These are the 4 cases i could think of for a real user, feel free to add / remove if any feels redundant

@Christinadobrzyn
Copy link
Contributor

Christinadobrzyn commented Dec 5, 2024

Thanks @allgandalf! Regression test here - https://github.com/Expensify/Expensify/issues/450899

So what's the payment for this:

  • Contributor: @waterim is from an agency-contributor and is not due payment
  • Reviewer: @getusha owed $250 via NewDot
  • Reviewer: @allgandalf owed $250 via NewDot/Upwork (they will be paid in a separate GH from this one)

Is this accurate?

@rlinoz
Copy link
Contributor

rlinoz commented Dec 6, 2024

I think @allgandalf is being paid in the project of this other PR #52615, so only @getusha should be paid here

Correct me if I am wrong @allgandalf @mountiny

@melvin-bot melvin-bot bot added the Overdue label Dec 6, 2024
@Christinadobrzyn
Copy link
Contributor

Thanks @rlinoz - @getusha can you request payment through NewDot? TY!

@mountiny
Copy link
Contributor

mountiny commented Dec 8, 2024

Correct @allgandalf will be paid separately in one go probably this week

@Christinadobrzyn
Copy link
Contributor

okay sounds good. @getusha can you make sure to request payment through ND.

Payment summary here - #51333 (comment)

Going to close this as complete.

@melvin-bot melvin-bot bot removed the Overdue label Dec 9, 2024
@github-project-automation github-project-automation bot moved this from Hold for Payment to Done in [#whatsnext] #expense Dec 9, 2024
@garrettmknight
Copy link
Contributor

$250 approved for @getusha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
Status: Done
Development

No branches or pull requests

9 participants