Uniformisierung des Designs #issue/23 #31

Merged
lrsauvette merged 2 commits from issue/23 into develop 2026-07-31 22:00:54 +00:00
Owner
No description provided.
Both pages previously lacked the header-row + primary-action pairing
used consistently on Verwaltung and Anträge, and Anwesenheit's
settings were split across two separate cards with hand-rolled
Radio/Checkbox rows instead of standard widgets.

Wahlen:
- Adds a simple page title header.
- Moves 'Wahl starten' into a header row next to 'Ämter wählen'.
- Always shows the 'Vergangene Wahlen (N)' count, avoiding layout
  shift when the list is empty.
- Restyles the Neuwahl/Erstwahl chip to match Anträge's chip
  language (tinted background + border instead of solid color).
- Wraps the page in a CustomScrollView with a SliverFillRemaining
  for the past-elections list, fixing a vertical RenderFlex overflow
  when the window is too short for the fixed header content.
- Moves 'Online-Wahl erstellen' next to 'Wahl starten' in the Ämter
  wählen header row (as a button, replacing the separate card
  section), using a Wrap so both reflow on narrow widths.
- Adds overflow/maxLines safety to the Neuwahl/Erstwahl checkbox
  title to avoid a minor horizontal overflow with long section names.

Anwesenheit (ErzeugungPage):
- Adds a page title header with the primary action button
  ('Anwesenheitsliste erzeugen') moved up next to it, instead of a
  detached full-width button at the bottom.
- Merges the Sitzungstyp and Datum cards into a single settings
  card, replacing the hand-rolled Radio/GestureDetector row with a
  standard SegmentedButton.
- Replaces the manual 'select all' Row+Checkbox with a proper
  CheckboxListTile, matching the list items below it.

WahlergebnisPage: replaces the stacked FloatingActionButtons and the
AppBar action icon with a single header-row action Wrap (Gesamt-
wahlzettel / Live-Abstimmung / Wahlergebnis erzeugen), matching the
button-row pattern used on the Anträge and Wahlen tab pages.
Renames the 'Live-Abstimmung' button to 'Live-Wahl'.

WahlEditor: moves the 'Wählen' action out of the AppBar into a body
header row paired with a 'Sektionen (N)' label, consistent with how
primary actions are now paired with their section headers elsewhere
in the app.
Moves 'Online-Wahl erstellen' and 'Wahl starten' into the same Wrap
row as the 'Wahlen' title, right-aligned, instead of on a separate
row below it. Also removes the redundant 'Ämter wählen' section
label that sat above the cards.
lrsauvette merged commit d60de2f14c into develop 2026-07-31 22:00:54 +00:00
lrsauvette deleted branch issue/23 2026-07-31 22:18:51 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lrsauvette/sv-helfer!31
No description provided.