Skip to content

Stopping sharing disconnects every joined device without a confirm #604

Closed

Description

@DeepDiver1975

Split out of the UX review #262.

Problem

While an Einsatz is shared, the header shows a small icon-only ✕ next to the share info button (IncidentWorkspaceView.axaml:176-189). Clicking it runs ToggleSharing → StopSharingAsync() immediately (IncidentWorkspaceViewModel.cs:1453-1456). The host stops, and every joined device loses its connection mid-Einsatz.

The target is small and sits right beside another icon button, so a mis-tap is easy, especially on a tablet. Closing the incident does ask first (:1169); stopping sharing has the same blast radius for the rest of the team and does not.

Expected

  • Stopping sharing goes through the existing ConfirmDialog, following the destructive-confirm rule in epic: keyboard-only operation (tracking) #545: focus on ABBRECHEN, Enter activates the focused button. The message names the consequence, e.g. "Freigabe beenden? N verbundene Geräte werden getrennt."
  • Optional: skip the confirm when no peer is connected.

Notes

  • Test: invoke the stop action and assert the host is still running until the confirm is accepted.
  • 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