-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat(web): UI for editing partition #2019
feat(web): UI for editing partition #2019
Conversation
if (mountPoint !== initialMountPoint && mountPoints.includes(mountPoint)) { | ||
return { | ||
id: "mountPoint", | ||
message: _("Select or enter a mount point that is not already assigned to another device"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this iteration, but I’d like to offer the user the "implicit move action" at this point. Of course, we’ll need to implement richer validations for it. Additionally, we should provide the information we already know, such as the device to which the mount point is currently assigned.
43211ce
to
d9fcfd1
Compare
d9fcfd1
to
59985db
Compare
b547d9c
to
4ba4032
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a quick look and taking into consideration it is manually battle tested, it looks fine to be merged and unblock the merge of storage-config-ui with mater.
const filesystemButton = screen.getByRole("button", { name: "File system" }); | ||
within(filesystemButton).getByText("XFS"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A note for whoever could be interested: these lines reveal we are using a not fully accessible component for selects. Something to be fixed in the future, or not. Depends on team/developers priorities.
1341c0d
into
agama-project:storage-config-ui
Make the "edit partition" button to navigate to the partiton page, and the partition page is adapted to allow editing a partition.