maas-ui icon indicating copy to clipboard operation
maas-ui copied to clipboard

Confusing UI - "Use secure erase" and "Use quick erase" are supposed to be subsidiary of "Erase nodes' disk"

Open webteam-app opened this issue 1 year ago • 2 comments

Bug originally filed by nobuto at https://bugs.launchpad.net/bugs/2009669

maas: 1:3.3.0-13159-g.1c22f7beb-0ubuntu1~22.04.1 maas-ui: 3.3.0 acde9f13b45dd515b3d9638545bf82d282d7d5a2

In WebUI as MAAS/r/settings/storage, there is disk erase related configurations.

  1. Erase nodes' disks prior to releasing (True/False)
  2. Use secure erase by default when erasing disks (True/False)
  3. Use quick erase by default when erasing disks (True/False)

Those 3 are presented equally at the same UI level in the WebUI. However,

2&3 do not take effect unless 1 is True, so it would be nice if

  • 2&3 are grayed out if 1 is False.
  • 2&3 are displayed at a subsidiary level of 1 in the UI (indented for example)

2&3 are mutually exclusive by design and MAAS doesn't not allow to release a node if both 2&3 are enabled so it would be nice if

  • the fact that 2&3 are mutually exclusive is reflected in the UI (radio box or something)

webteam-app avatar Mar 08 '23 07:03 webteam-app