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

DBP: Add initial loading indicator when loading web UI #2227

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

jotaemepereira
Copy link
Collaborator

Task/Issue URL: https://app.asana.com/0/0/1206570989671741/f

Description:
Adds loading indicator when loading the web UI

loading-indicator-50x50.mov

Steps to test this PR:

  1. Open the browser, bypass the waitlist and open PIR
  2. You should see an activity indicator in the middle of the screen while the page is being loaded

@jotaemepereira jotaemepereira requested a review from Bunn February 20, 2024 13:40
@github-actions github-actions bot added bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project and removed bot: not in app board Added by automation for pull requests with tasks not added to macOS App Board Asana project labels Feb 20, 2024
Copy link
Collaborator

@Bunn Bunn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
The spinner looks just a tiny bit blurry but I noticed that even changing the controlSize to .large it doesn't affect anything.

I'd personally change:

  • Set the controlSize to .large
  • Remove
 loader.widthAnchor.constraint(equalToConstant: Consts.loaderDimension),
 loader.heightAnchor.constraint(equalToConstant: Consts.loaderDimension)

and let the system decide the correct size. But if we want it a 50x50 sounds good to me like it is.

All this is nit :) probably not worth to spend more time on this since we'll eventually change to something with designs in the future.

@jotaemepereira jotaemepereira force-pushed the juan/dbp/add-initial-loading-web-ui branch from a21fcd1 to cdc2bb1 Compare February 21, 2024 18:51
@jotaemepereira jotaemepereira merged commit 883db58 into main Feb 21, 2024
17 checks passed
@jotaemepereira jotaemepereira deleted the juan/dbp/add-initial-loading-web-ui branch February 21, 2024 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants