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

Spinner indicator while loading and when waiting for page updates for "Don't ask again" across all DevHUB components #689

Closed
5 of 8 tasks
petersalomonsen opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@petersalomonsen
Copy link
Collaborator

petersalomonsen commented Mar 13, 2024

Is your feature request related to a problem? Please describe.
Through #687 we already improved the UX for activity posts. Both the like and post buttons now have spinning indicators as long as the transaction goes on, and until the page contents are refreshed

Describe the solution you'd like
I would like to see the same UX across whole DevHub as it is now with Activity post. I would like it for: communities, discussions, blogs, the new proposals feature. I would also like to have developer documentations, with clear guidelines on how to create user friendly interactions when the "Don't ask again" feature is enabled. It is also needed for wallets confirming the transaction in a separate window, like Meteor wallet.

Describe alternatives you've considered
We know that this solution creates another issue for when transactions are confirmed manually. In the case where the user cancels sending the transaction, the spinners will still spin. To solve this, a callback method is needed in the VM like described here: NearSocial/VM#105

@petersalomonsen petersalomonsen added the enhancement New feature or request label Mar 13, 2024
@petersalomonsen petersalomonsen self-assigned this Mar 13, 2024
@petersalomonsen petersalomonsen moved this from 🆕 Triage to 🏗 In progress in 🚀 DevHub Products Mar 13, 2024
@petersalomonsen petersalomonsen changed the title Spinner indicator while loading and when waiting for page updates for "Don't ask again across" all DevHUB components Spinner indicator while loading and when waiting for page updates for "Don't ask again" across all DevHUB components Mar 14, 2024
@petersalomonsen
Copy link
Collaborator Author

See the first video of creating a discussion in the Pull request, and note that there's an issue on refreshing the feed ( up to 5 second delay ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant