meerkat-dashboard / meerkat

Drag-and-drop dashboards for Icinga
https://meerkat.run
GNU Affero General Public License v3.0
18 stars 2 forks source link

Asset Deletion should have safety mechanisms #200

Open sol1-matt opened 1 year ago

sol1-matt commented 1 year ago

Is your feature request related to a problem? Please describe. Deleting a background occurs when you click on the delete button. This is unsafe behaviour.

Describe the solution you'd like There should be 2 levels of safety mechanisms here:

  1. Unable to delete if the asset is currently used in any dashboards. Alert with list of dashboards and/or elements in use on attempt.
  2. If allowed to delete (ie: isn't used on any dashboards) then there is a "are you sure?" yes/no confirmation

This will prevent accidental deletion and deletion of assets in use.