OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[MD] Optimize delete button on listing page
User Story - Delete multiple credentials from credentials view page:
A user clicked "Credentials" button under stack management, looking through all credentials listed. Then Andrew decided to delete some of credentials by selecting them:
* CredentialName1
* CredentialName2
* CredentialName3
A window pops up with all selected credentials with such context:
Delete *2 credentials* permanently?
This will also delete all their crypto info and any attached credentials profiles.
* CredentialName1
* CredentialName3
This action cannot be undone.
To confirm deletion, enter delete in the text input field.
Following confirmation of deletion, the OSD server received delete multiple credentials request and deleted credential saved objects. Meanwhile, a spinning effect is visible. Following the response, there is an error handling toast that includes which credential could not be deleted.
- Delete method with non-blocking IO - @yibow98
- Delete button layout and text cases (Singular VS Plural) - @yibow98
- Confirmation pops up after delete button clicking - @yibow98
- Localization for delete button pops up (part of #2047) - @yibow98
- Spinning in progress page - @yibow98
Please make changes based on comments left on https://github.com/opensearch-project/OpenSearch-Dashboards/pull/2076