Skip to content

fix(views): unify Funkrufname fields to AutoCompleteBox - #145

Merged
DeepDiver1975 merged 1 commit into
mainfrom
fix/unify-callsign-fields
Aug 27, 2026
Merged

fix(views): unify Funkrufname fields to AutoCompleteBox#145
DeepDiver1975 merged 1 commit into
mainfrom
fix/unify-callsign-fields

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Aug 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Funkrufname (call sign) in Funktionen (add row + transfer panel) and Atemschutz was a bare ComboBox with no PlaceholderText, rendering as a blank box with only a dropdown arrow — an outlier among the app's other call-sign-ish fields
  • ETB's Von/An, the operator's own call-sign field, and Forces' Funkrufname already use AutoCompleteBox (free-text with suggestions), since a call sign might not be in Stammdaten yet (mutual aid, ad-hoc units) — direction confirmed with the product owner over the open question in Unify call-sign input fields (AutoCompleteBox vs ComboBox split) into a reusable component #92
  • Converted the three remaining ComboBox instances to the same AutoCompleteBox pattern, each with a "z. B. ..." placeholder like every other input field
  • No view-model changes: NewCallSign/TransferCallSign were already plain string? properties, so this is XAML-only

Closes #92

Before / after

Funktionen (Roles)

Before:
roles-assignment

After:
roles-assignment

Atemschutz (Scba)

Before:
atemschutz

After:
atemschutz

Test plan

  • dotnet build src/LageBuch.App.Shared — clean
  • dotnet test (Domain/AppLogic/Persistence/Documents/App/Sync/Sync.Hosting) — all passed, no assertions touch these controls (NewCallSign/TransferCallSign are plain strings)
  • LageBuch.Acceptance.Tests (89 tests, run via the in-process xunit v3 runner — dotnet test's out-of-process launcher has a pre-existing, unrelated failure in this environment) — all passed, including RolesTabRenderTests and ScbaTabRenderTests
  • Captured before/after screenshots via the headless Skia render harness (RENDER_OUT + WorkspaceRenderHelper)

🤖 Generated with Claude Code

Roles (Funktionen add-row + transfer panel) and Scba (Atemschutz) had
Funkrufname as a bare ComboBox with no PlaceholderText, rendering as a blank
box with only a dropdown arrow. Meanwhile ETB, the operator's own call-sign
field, and Forces' Funkrufname already use AutoCompleteBox, since a call
sign might not be in Stammdaten yet (mutual aid, ad-hoc units) and the field
must stay enterable. Convert the three remaining ComboBox instances to the
same free-text-with-suggestions AutoCompleteBox pattern, with a "z. B. ..."
placeholder like every other input field. NewCallSign/TransferCallSign were
already plain string properties, so this is a XAML-only change.

Closes #92

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EgFDVXVsJVKJAw1fxBETFR
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@DeepDiver1975
DeepDiver1975 merged commit fa30355 into main Aug 27, 2026
2 checks passed
@DeepDiver1975
DeepDiver1975 deleted the fix/unify-callsign-fields branch August 27, 2026 19:54
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.

Unify call-sign input fields (AutoCompleteBox vs ComboBox split) into a reusable component

1 participant