Skip to content

Sharing and export failures still show raw exception text, cut off behind a hover tooltip #655

Closed

Description

@DeepDiver1975

Split out of the UX review #262. Leftover of #602.

Problem

Sharing and export failures still put the raw exception text into German UI, and then cut it off:

  • ShareStatus = $"Freigabe fehlgeschlagen: {ex.Message}"; (IncidentWorkspaceViewModel.cs:1478); the export status does the same (:1346, :1382). fix: frame raw failure text in German, send a fixed reason for unknown ids #633 added a German prefix; the English socket/IO text after it is unchanged.
  • Both are shown with MaxWidth and TextTrimming="CharacterEllipsis", and the full text exists only as a hover tooltip (IncidentWorkspaceView.axaml:193-194, :784-786). On a tablet there is no hover, so the reason is never readable.

When sharing fails at the start of an Einsatz, the Lagebuchführer sees "Freigabe fehlgeschlagen: Only one usage of each socket addr…" and nothing they can act on.

Expected

  • Known causes map to fixed German reasons that say what to do: port already in use, no network / socket error, access denied writing the export, file in use. Anything else falls back to a generic German sentence, following the approach Raw exception messages leak into German UI text and across the sync wire #602 took.
  • The status text is readable on touch: it wraps, or a tap opens the full detail.

Notes

  • Tests: drive each mapped exception type through the share/export path and assert the German text; assert no ex.Message reaches ShareStatus or ExportStatusDetail.
  • This touches the UI, so the PR needs a before/after screenshot pair.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestuxUser interface and usability

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions