Avatar Availability Integration: Leverage async callback to implement a loading state #6621
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
New feature request
Feature: Integration
An integration with another app in the ecosystem
Is your feature request related to a problem? Please describe.
Opening the availability modal from either the
NcAvatar
orContactsMenu
action might take some time to load. During the loading phase there is no feedback to the user. The modal will simply pop up after some time.Describe the solution you'd like
We should leverage an async callback to implement a loading state. Render the button in a loading state while the Promise is being resolved until the modal is shown.
Describe alternatives you've considered
None
Additional context
Follow-up to nextcloud/server#49375
The text was updated successfully, but these errors were encountered: