-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Describe the bug
When a worker enters the homepage, then they will have a homepage that that immediately says "No clients". If the request for clients from the server is not served quickly (or fails with an error), the worker could be confused and it will make the user experience more choppy.
To Reproduce
Log in as worker and go to home page
Expected behavior
While home page loads and is awaiting data from the server, there should a loading screen that looks passable. For instance, we can have these placeholding shimmer loading cards. https://codepen.io/muratbenli/pen/yLOYmgj
Additional Notes
- Should only require changes in WorkerLanding.tsx
- This page should optimally be rendered only once on login and cached so the loading doesn't happen everytime the worker enters the homepage. That can be a separate issue, but if the tech stack ever changes (to Nextjs), that problem will be fixed by itself.
Metadata
Metadata
Assignees
Labels
No labels