IMPORTANT: After exchanging opinions in the yast-devel mailing list, this can be considered obsolete and replaced by the refined version at https://gist.github.com/ancorgs/25eb67a90b666ec2211ca34034df8771
This is a follow-up of https://lists.opensuse.org/yast-devel/2018-09/msg00023.html which means is also a follow-up of https://gist.github.com/ancorgs/bf81a230e2a4634df7a05b90a1241116#file-partitioner-buttons-md
This includes a proposal for the UI of the partitioner offering all the new features (partitionable RAIDs, formattable disks and so on).
It's based on three general ideas:
- Offer a different set of buttons depending on the item selected on the table.
- Always offer an "Edit" menu-button.
- General actions that don't correspond to a concrete entry of the table are represented by buttons in a second line.
See animated image below.
Some notes about the buttons for a disk.
- "Edit -> Hard Disk" opens the wizard to directly format/mount/encrypt the disk.
- "Partitions -> Edit List" takes the user to the "Partitions" tab for the disk, just as the old "Edit" button used to do.
- Having "Edit" and "Partitions" side by side should be a good sign for the user about the fact that "Edit" doesn't mean jumping to the list of partitions anymore.
Some notes about the buttons for a partition.
- "Edit -> Partition" is the old partition "Edit", i.e. the wizard to format/mount/encrypt the partition.
- "Edit -> Size" is the old "Resize".
- "Edit -> Position" is the old "Move".
See animated image below.
The buttons for a RAID are basically equivalent to the buttons for a hard disk, but with two additions.
- A "Delete" button.
- An "Edit -> Used Devices" option equivalent to the old "Resize".
The buttons for a partition are equivalent to the Hard Disks table.
See animated image below. Not much to add, the buttons affecting the current selected partition are explained above and the two general buttons should be self-descriptive.
See animated image below. The buttons for VGs and LVs are their respective meanings are pretty much analogous to the ones in the table of RAIDs and their partitions. So not much explanation should be needed at this point.
The only strange thing is that, for symmetry with the other tables, the "Edit" option for an VG is a menu-button, despite the fact that it only contains one action (so far).