A user should have the possibility to fully remove a credential from their wallet.
While this was not important in the early phases of development and for demo environments, it is now becoming more of an inconvenience during testing not to be able to recreate a flow again.
The user should be prompted with a confirmation screen before the credential is actually removed (this could be turned off in dev mode). In this confirmation screen, the user could be asked if they want to keep the associated history for that credential or if it should also be removed.
Motivation
Required for production release, but would already improve DX in current stage.
Requirements
New action & reducer to trigger removal (parameters: credential_id, remove_history: bool)
UI element ("three dot menu") in credential/badge details to trigger confirmation sheet
New UI element: "confirmation sheet" (switch/checkbox to confirm removal of history)
Open Questions
Recoverability? Undo delete? Restore from trash?
Batch delete? Delete multiple credentials/badges at once?
Description
A user should have the possibility to fully remove a credential from their wallet.
While this was not important in the early phases of development and for demo environments, it is now becoming more of an inconvenience during testing not to be able to recreate a flow again.
The user should be prompted with a confirmation screen before the credential is actually removed (this could be turned off in dev mode). In this confirmation screen, the user could be asked if they want to keep the associated history for that credential or if it should also be removed.
Motivation
Required for production release, but would already improve DX in current stage.
Requirements
credential_id
,remove_history: bool
)Open Questions
Are you planning to contribute this in a PR?
Yes