Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

[BUG] "All" dashboard should not be allowed to be deleted #553

Closed
Samyak2 opened this issue Dec 28, 2021 · 1 comment
Closed

[BUG] "All" dashboard should not be allowed to be deleted #553

Samyak2 opened this issue Dec 28, 2021 · 1 comment
Milestone

Comments

@Samyak2
Copy link
Contributor

Samyak2 commented Dec 28, 2021

Describe the bug

A default "All" dashboard is created at the time of setting up Chaos Genius or upgrading from an older version. All KPIs not assigned to any other dashboard will live here.

Deleting this dashboard causes all the KPIs inside it to be inaccessible until they are re-assigned to another dashboard.

Explain the environment

  • Chaos Genius version: main (ce137b83867858e0ec1910bf1fb9e378bbad86c3)
  • OS Version / Instance: Fedora 35 (applicable to all deployments)
  • Deployment type: setup from scratch

Current behavior

Steps to reproduce:

  • Upgrade or setup chaos genius to 0.3.0
  • Enable Enterprise Edition (for dashboard feature)
  • Delete option is available on the default "All" dashboard
  • All dashboard is deleted successfully

Expected behavior

"All" dashboard must not have the delete option in the UI or must show an error if it's being deleted.

Screenshots

"All" dashboard deleted:
image

@manassolanki
Copy link
Member

This is being handled at the backend side with a proper validation message.

@Samyak2 Samyak2 added this to the v0.3.0 milestone Jan 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants