-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storage: Rename "Name" field to "Filesystem label" and move it down #20066
base: main
Are you sure you want to change the base?
Conversation
Both partitions and filesystems can have "names", and people don't know that this field is for when creating a partition. Also, giving a filesystem a label is optional and not very important, so having it at the top makes it seem more important than it is. https://bugzilla.redhat.com/show_bug.cgi?id=2264540 cockpit-project#19170
Ah, nice! I was going to suggest moving it down and changing it to "Display name" as I thought it isn't always a label? You beat me to it! Thanks! I'm not entirely happy with "Filesystem label" (due to jargon), but if that is what it is and what people would expect, then I guess it works. GNOME Disks calls it "Volume Name", but I don't think that's necessarily an improvement over "Name". KDE just uses "Label": KDE has the mount separate: Windows calls it "Volume label": macOS calls it "Partition" or "Name" (it seems "Partition" is the old name and "Name" is the new name): What's interesting to note:
|
We should also sync up the name and partition fields, so if you enter one and the other isn't filled out yet, then it autosuggests based on the other (provided rules match). |
Oh, I only now realize that the dialog doesn't say "Filesystem" anywhere else. What about saying "filesystem" also in the "Type" dropdown and having the label immediately below "Type": Ultimately, I think we should have a dedicated dialog just for formatting filesystems. Other things like erasing a block device, formatting it as swap, or creating a biosboot partition should have their own dialogs. |
First pass at redesigning the dialog: Changes:
I guess even if we keep the secure erase (it's not really useful; if people really care about security, they'd use encrypted partitions already), then the expander might still be overkill, as the encryption options are already hidden unless selected. Additionally, I'm wondering if we want mount point or the label first. I guess it depends on which one is more likely to be used? As people can mount things in arbitrary locations, we could suggest a label based on the last part of the path (/foo/bar => Bar, /my/wacky/path/ => Path). I'd suggest capitalizing, but that wouldn't work for every language and might get tricky, so perhaps that'd be "bar" and "path" as the names still, unless we have a function to properly capitalize that works across languages. Anyway, I'm trying to figure out how much we would want to do to address the labeling and the amount of scrolling in one go. Basically this is trying to cover this PR and #20060 and a bit more, taking a step back at the dialog in general. What do you think? It's all up for discussion. I just wanted to present a few ideas together like this and get your feedback. |
Note, it's even simpler if we drop "secure erase", as:
I'm saying it's a relic from the past which doesn't really apply in modern times. If we want to continue supporting erasing a partition, perhaps we should move it out from create and into delete or a special "wipe" option which is different considering what the storage device supports. |
Yeah, probably! Oh, I missed the mounting options. Wow. I need to "go back to the drawing board" (literally) then. This is way to complex, and the fact that I missed those probably means things. 😉 (Like it's way too complex.) |
Both partitions and filesystems can have "names", and people don't know that this field is for when creating a partition. Also, giving a filesystem a label is optional and not very important, so having it at the top makes it seem more important than it is.
https://bugzilla.redhat.com/show_bug.cgi?id=2264540
#19170