Skip to content

fix(ui): draw the last wizard error as a shared alert - #1252

Merged
TheMeinerLP merged 1 commit into
mainfrom
fix/wizard-remote-alert
Nov 23, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
fix/wizard-remote-alert

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The repository wizard drew all its problems as shared alerts except one: the "add at least one remote repository" message on the proxy step was a bare red paragraph. It now uses the same error alert as the rest of the wizard, so every wizard problem looks and is announced the same way. This finishes the wizard part of task 5.6 of unify-dialogs-menus-and-feedback. The message cannot be reached through the UI today (the first remote cannot be removed), so nothing changes visibly.

Type of change

  • fix - bug fix

How was this tested?

  • npx vitest run src/components/settings/RepositoryWizard src/components/settings/SettingsView.wizard src/anchors src/style-gate: 13 files, 373 tests pass.
  • No test was added: the message is unreachable through the UI, so a rendering test would need to bypass the component.

Checklist

  • Commit messages follow the Conventional Commits convention
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally (frontend-only change, not run)
  • Documentation and configuration samples are updated if the change is user-facing (not user-facing)
  • Existing copyright headers are preserved
  • No credentials, tokens or personal data are included in the diff

The remote repository step still showed its "add at least one remote"
error as a bare paragraph while every other wizard error already uses
the shared alert. Draw it the same way.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 5afbfa8 Nov 23, 2026
39 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/wizard-remote-alert branch November 23, 2026 07:40
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.

1 participant