bcgov / traction

Traction is designed with an API-first architecture layered on top of Hyperledger Aries Cloud Agent Python (ACA-Py) and streamlines the process of sending and receiving digital credentials for governments and organizations.
https://digital.gov.bc.ca/digital-trust/tools/traction/
Apache License 2.0
52 stars 48 forks source link

(Through Innkeeper UI) Allow permanent delete of a suspended Tenant #1317

Closed loneil closed 2 weeks ago

loneil commented 1 month ago

UI tweak while we are working on other deletion tasks.

Right now on the Innkeeper UI if you look at deleted Tenants the Delete button isn't there in the table.

image

For these soft-deleted Tenants the Innkeeper should be able to go in and delete (without having to use Restore to get the delete button back).

Should probably look at passing the status into the modal since suspending an already suspended Tenant wouldn't make sense (only allow permanent delete if already in the suspended state)

image

Also might be good to adopt the new "Suspended" naming on the other buttons badges that use "Deleted" as the wording. (the "Show/Hide Deleted" button and the "Deleted" badge)

Other minor UI, when deleting the success toast says marked as deleted, should change to permanently deleted, and update the suspended case to use "suspended"

image

loneil commented 1 month ago

@Gavinok can probably throw these changes on the pile while working on other deletion tickets?

Gavinok commented 1 month ago

Sure thing!