-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Problem
Currently the deletion of phone numbers is implemented with a delete button on each phone number row in the PhoneNumbersDetailView
. This has been done to render a progress indicator on the row after one taps it (i.e. while the server is processing the delete). This behaviour could not be achieved with the onDelete
view modifier (which adds a swipe-to-delete functionality) since the row gets deleted immediately after the swipe on the UI, no matter what the callback result is (i.e. whether the deletion has been successful on the backend). This can cause a row to temporarily disappear after a swipe, but reappear after some time if the deletion fails, which is not the best user experience.
Solution
We need to look into this again and see if we can implement a nice user experience that features swipe-to-delete but improves the user experience by working around the described behaviour above.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct and Contributing Guidelines