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

Show loader when fetching recoveries #1625

Merged
merged 1 commit into from
May 22, 2023
Merged

Show loader when fetching recoveries #1625

merged 1 commit into from
May 22, 2023

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented May 22, 2023

This ensures the recoveryWizard displays a loader when fetching the list of recovery methods. Otherwise, it's not clear that the app is waiting for canister data.

Before:

Screen.Recording.2023-05-22.at.12.16.44.mov

After:

Screen.Recording.2023-05-22.at.12.17.37.mov

This ensures the `recoveryWizard` displays a loader when fetching the
list of recovery methods. Otherwise, it's not clear that the app is
waiting for canister data.
Copy link
Contributor

@frederikrothenberger frederikrothenberger left a comment

Choose a reason for hiding this comment

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

In theory, the app has already loaded the recoveries (with the initial lookup for the credential ids) and the state could be funneled through. But it would be a bigger refactoring...

@nmattia
Copy link
Collaborator Author

nmattia commented May 22, 2023

But it would be a bigger refactoring...

Which I plan on taking on soon 😬 stay tuned...

@nmattia nmattia added this pull request to the merge queue May 22, 2023
Merged via the queue into main with commit 8f65c27 May 22, 2023
@nmattia nmattia deleted the nm-authn-loader branch May 22, 2023 11:45
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