Skip to content

Atemschutz: an alarming Trupp colours two cells, never its row or card #669

Closed

Description

@DeepDiver1975

Split out of the UX review #262.

Problem

When a Trupp goes into alarm (time or pressure), only the RESTZEIT and STATUS text turns alarm-coloured. ScbaView.axaml sets Classes.alarm on those cells only (:349, :372, :436, :448). Styles.axaml has no row-level alarm style, and the phone card has no alarm treatment around the whole card.

With several Trupps on screen, the alarming one is told apart by a few red characters. That is the row an Atemschutzüberwacher has to find in a second, standing and half-watching a radio.

Expected

  • The whole grid row of an alarming Trupp carries a distinct alarm style (background tint or a strong left accent in the signal hue). The phone card gets the same treatment.
  • The style follows IsAlarm. It clears as soon as the Trupp leaves the alarm, and it is independent of the global acknowledgement (Atemschutz: an acknowledged alarm looks exactly like an unacknowledged one #654).
  • Text contrast stays readable on the tinted background in the dark theme.

Notes

  • Fade to a zero-alpha stop of the same hue, never to Transparent (see SignalFadedColor in Theme/Tokens.axaml).
  • Selection and hover styles must not mask the alarm style.
  • Test: an [AvaloniaFact] that trips one of two Trupps and asserts the alarm class is on that row or card only.
  • This touches the UI, so the PR needs a before/after screenshot pair (desktop grid and phone cards).
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

    uxUser interface and usability

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions