Skip to content

feat: [WD-34728] Storage driver custom select#1916

Merged
Kxiru merged 1 commit intocanonical:mainfrom
Kxiru:storage-custom-select
Apr 16, 2026
Merged

feat: [WD-34728] Storage driver custom select#1916
Kxiru merged 1 commit intocanonical:mainfrom
Kxiru:storage-custom-select

Conversation

@Kxiru
Copy link
Copy Markdown
Contributor

@Kxiru Kxiru commented Apr 2, 2026

Done

  • Added a Custom select dropdown list for Storage drivers
  • Descriptions open to copy adjustments.
    • Copies verified and cross referenced with LXD Docs team
    • Updated OutputField React Component use.
  • Minor amendments to tests to suppor the new design and ensure uniformity across custom creation of pools w.r.t naming.

QA

  1. Run the LXD-UI:
  2. Perform the following QA steps:
    • Navigate to Storage Pools > Create
    • Observe that the dropdown in the Storage pool creation page displays the Custom select dropdown and descriptions.
    • Verify that previous functionality to save the pool still works.

Screenshots

image

Read only output field usage:
image

Help text specification for the storage drivers that require storage appliances:
image

@webteam-app
Copy link
Copy Markdown

@Kxiru Kxiru force-pushed the storage-custom-select branch from 42f2e86 to 7634023 Compare April 2, 2026 16:54
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start, some ideas to refine the changes below.

Comment thread src/pages/storage/forms/StoragePoolFormMain.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Copy link
Copy Markdown
Contributor

@omarelkashef omarelkashef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR. A few comments below

Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch 2 times, most recently from 4d45bde to db7458f Compare April 7, 2026 17:06
@Kxiru Kxiru requested review from edlerd and omarelkashef April 7, 2026 17:06
@Kxiru Kxiru force-pushed the storage-custom-select branch from db7458f to fabdf29 Compare April 7, 2026 17:11
Copy link
Copy Markdown
Contributor

@omarelkashef omarelkashef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the iteration. It looks nearly perfect, but I think it broke some tests.

Comment thread src/pages/storage/forms/StorageDriverSelect.tsx
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM, tiny nitpicks below.

Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch from fabdf29 to 2051446 Compare April 9, 2026 13:40
@Kxiru Kxiru requested review from edlerd and omarelkashef April 9, 2026 13:41
edlerd
edlerd previously approved these changes Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA LGTM, some tiny nitpicks below, then good to merge 👍

Comment thread src/pages/storage/forms/StorageDriverSelect.tsx
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch 2 times, most recently from 12e12ce to 955dc7a Compare April 9, 2026 19:34
@Kxiru Kxiru requested a review from edlerd April 9, 2026 19:35
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch 2 times, most recently from 51c980a to 30e13bc Compare April 10, 2026 14:22
@Kxiru Kxiru requested a review from omarelkashef April 10, 2026 14:38
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch from 30e13bc to 3321293 Compare April 10, 2026 16:40
@Kxiru Kxiru requested a review from edlerd April 10, 2026 16:42
edlerd
edlerd previously approved these changes Apr 10, 2026
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the iterations :)

@edlerd
Copy link
Copy Markdown
Collaborator

edlerd commented Apr 10, 2026

I think this breaks some of the tests though, can you check the CI results for new errors related to the changes in here?

@Kxiru
Copy link
Copy Markdown
Contributor Author

Kxiru commented Apr 13, 2026

@edlerd I think tests should be looking good from now (storage wise)

@edlerd
Copy link
Copy Markdown
Collaborator

edlerd commented Apr 13, 2026

@edlerd I think tests should be looking good from now (storage wise)

The 5.21 tests are still failing with storage bucket errors. I think that is due to changes in this PR.

@Kxiru Kxiru force-pushed the storage-custom-select branch 3 times, most recently from d587c44 to 7160125 Compare April 16, 2026 00:29
@Kxiru Kxiru requested a review from edlerd April 16, 2026 00:29
@Kxiru Kxiru force-pushed the storage-custom-select branch 4 times, most recently from ac7969f to b1d39d9 Compare April 16, 2026 01:42
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two ideas to simplify this further.

Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
Comment thread src/pages/storage/forms/StorageDriverSelect.tsx Outdated
@Kxiru Kxiru force-pushed the storage-custom-select branch from b1d39d9 to 7ad6c17 Compare April 16, 2026 11:25
@Kxiru Kxiru requested a review from edlerd April 16, 2026 11:25
Signed-off-by: Nkeiruka <nkeiruka.whenu@canonical.com>
@Kxiru Kxiru force-pushed the storage-custom-select branch from 7ad6c17 to 289fa4d Compare April 16, 2026 11:30
Copy link
Copy Markdown
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good stuff :)

@Kxiru Kxiru merged commit 143672d into canonical:main Apr 16, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants