Skip to content

refactor(views): replace obsolete Watermark with PlaceholderText - #140

Merged
DeepDiver1975 merged 1 commit into
mainfrom
fix/autocompletebox-placeholder
Aug 27, 2026
Merged

refactor(views): replace obsolete Watermark with PlaceholderText#140
DeepDiver1975 merged 1 commit into
mainfrom
fix/autocompletebox-placeholder

Conversation

@DeepDiver1975

Copy link
Copy Markdown
Collaborator

What

Replaces the obsolete Avalonia Watermark property with PlaceholderText on 37 control attributes across 8 views, eliminating all 72 AVLN5001 "obsolete: Use PlaceholderText instead" warnings from the build.

  • 13 AutoCompleteBox attributes: EtbView, ForcesView, MasterDataEditorView, OperatorPromptView, RolesView, ScbaView
  • 24 TextBox attributes: EtbView, FilesView, ForcesView, IncidentWorkspaceView, MasterDataEditorView, OperatorPromptView, RolesView

Theme/Styles.axaml template-part selectors (PART_Watermark/PART_FloatingWatermark) are intentionally untouched — those are internal template part names, not the obsolete property.

Why

Watermark is a pure alias for PlaceholderText in Avalonia 12 (get => PlaceholderText; set => PlaceholderText = value;), so this is a behavior-identical rename that clears 72 obsolete-API build warnings.

Verification

  • LageBuch.App.Shared and LageBuch.App: clean build, 0 warnings / 0 errors
  • Unit tests (AppLogic/Domain/App): 463 passing

Screenshots

PENDING — the headless render harness cannot run in the build sandbox (xunit.v3 test-process launch fails; pre-existing and reproduced on pristine main). This is a visual no-op alias rename (placeholder text, color, and behavior are identical), so visual impact is nil. Screenshots will be supplied from a local render before merge.

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@DeepDiver1975
DeepDiver1975 force-pushed the fix/autocompletebox-placeholder branch from 264e60c to 3dae01c Compare August 27, 2026 09:12
@DeepDiver1975
DeepDiver1975 merged commit 9fed8cd into main Aug 27, 2026
2 checks passed
@DeepDiver1975
DeepDiver1975 deleted the fix/autocompletebox-placeholder branch August 27, 2026 09:17
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