Skip to content

Comments

feat(installation-media): replace modal with wizard by default#2246

Merged
talos-bot merged 2 commits intosiderolabs:mainfrom
Slessi:e2e-test-im-and-enable
Feb 9, 2026
Merged

feat(installation-media): replace modal with wizard by default#2246
talos-bot merged 2 commits intosiderolabs:mainfrom
Slessi:e2e-test-im-and-enable

Conversation

@Slessi
Copy link
Member

@Slessi Slessi commented Feb 2, 2026

  • Replace the Installation Media modal with the wizard by default
  • Add an E2E test to cover the wizard instead of the modal
  • Update some components for better a11y, to help with testing

Closes #2009

E2E test in action:

video.webm

Replace the Installation Media modal with the wizard by default.

Signed-off-by: Edward Sammut Alessi <[email protected]>
@Slessi Slessi force-pushed the e2e-test-im-and-enable branch from f5595cc to 3a676ae Compare February 9, 2026 15:25
@Slessi Slessi marked this pull request as ready for review February 9, 2026 15:25
Copilot AI review requested due to automatic review settings February 9, 2026 15:25
@talos-bot talos-bot moved this to In Review in Planning Feb 9, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the legacy “Download Installation Media” modal/feature-flag path and makes the Installation Media wizard the default entry point, updating navigation and E2E coverage accordingly.

Changes:

  • Removes the downloadInstallationMedia modal (component + story) and the localStorage feature flag (useInstallationMediaEnabled).
  • Updates UI entry points (Home, Machines help text, Sidebar, Join Tokens actions) to navigate to the InstallationMedia wizard route.
  • Adds/updates E2E coverage to exercise the wizard flow, and improves copy-button accessibility labels in the wizard confirmation step.

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
frontend/src/views/omni/Settings/JoinTokens.vue Removes “Download Installation Media” action from join token actions menu.
frontend/src/views/omni/Modals/DownloadInstallationMedia.vue Deletes legacy modal implementation.
frontend/src/views/omni/Modals/DownloadInstallationMedia.stories.ts Deletes Storybook story for the removed modal.
frontend/src/views/omni/Machines/Machines.vue Changes inline navigation to route directly to InstallationMedia instead of opening a modal.
frontend/src/views/omni/InstallationMedia/Steps/Confirmation.vue Adds explicit aria-labels for copy actions (CopyButton/CodeBlock).
frontend/src/views/omni/Home/HomeGeneralInformation.vue Removes feature-flag gating; always routes to InstallationMedia.
frontend/src/methods/features.ts Removes localStorage-backed useInstallationMediaEnabled feature flag helper.
frontend/src/components/common/CopyButton/CopyButton.vue Extends prop typing to allow button HTML attributes (for a11y attrs like aria-label).
frontend/src/components/common/CodeBlock/CodeBlock.vue Adds buttonAttrs prop to pass CopyButton attributes through.
frontend/src/components/common/Checkbox/TCheckbox.vue Refactors checkbox to use reka-ui Checkbox components.
frontend/src/components/TModal.vue Removes downloadInstallationMedia modal registration.
frontend/src/components/SideBar/TSideBar.vue Always shows “Installation Media” sidebar entry (no feature flag).
frontend/e2e/talemu/installation_media.spec.ts Adds new Playwright E2E test covering the wizard end-to-end.
frontend/e2e/talemu/home.spec.ts Removes the old modal-based installation media download test.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Write an E2E test for the installation media wizard to create, download, and delete an image. Validates information on the confirmation page as well.

Signed-off-by: Edward Sammut Alessi <[email protected]>
@Unix4ever
Copy link
Member

💯

@Slessi
Copy link
Member Author

Slessi commented Feb 9, 2026

/m

@talos-bot talos-bot merged commit 9bca00a into siderolabs:main Feb 9, 2026
71 of 74 checks passed
@github-project-automation github-project-automation bot moved this from Approved to Done in Planning Feb 9, 2026
@Slessi Slessi deleted the e2e-test-im-and-enable branch February 9, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Remove feature flag + add E2E test

4 participants