Skip to content
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

Conversation

joseivanlopez
Copy link
Contributor

@joseivanlopez joseivanlopez commented Feb 18, 2025

Make the "edit partition" button to navigate to the partiton page, and the partition page is adapted to allow editing a partition.

if (mountPoint !== initialMountPoint && mountPoints.includes(mountPoint)) {
return {
id: "mountPoint",
message: _("Select or enter a mount point that is not already assigned to another device"),
Copy link
Contributor

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.

@joseivanlopez joseivanlopez marked this pull request as ready for review February 20, 2025 10:39
Copy link
Contributor

@dgdavid dgdavid left a 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.

Comment on lines +240 to +241
const filesystemButton = screen.getByRole("button", { name: "File system" });
within(filesystemButton).getByText("XFS");
Copy link
Contributor

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.

@joseivanlopez joseivanlopez merged commit 1341c0d into agama-project:storage-config-ui Feb 20, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants