Files
skills/docs/requirements/052-bubbles-beside-modes.md
T

54 lines
1.8 KiB
Markdown
Raw Normal View History

# 052 - Bubbles Beside the Modes
## User Story
As the operator, I want the chat bubbles switch beside the radio modes, so
that I set how messages reach me in one row.
## Decisions (operator-confirmed 2026-11-25; do not re-litigate)
1. **Toggle beside the modes** (operator): the bubbles switch sits in the
mode row next to Auto, Quiet, Silence, Morse and Gibberlink, set apart as
an on/off toggle, while the modes stay a choice of one. Rejected: a
bubbles card in the radio spot; a bubbles spot of its own.
2. **One setting**: it switches the same `bubbles` setting as the header
toggle, which stays as the quick switch; both always show the same state.
## Approach
```mermaid
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["💬 A · Bubbles toggle"]
A1["🧩 Toggle in the mode row"] --> A2["🔗 Same setting as the header toggle"]
A2 --> A3["✍️ E2E test written"]
end
A3 --> C1
subgraph C["🧪 C · All of 039 to 053"]
C1["🧪 All tests once"] --> C2{"🟢 Green?"}
C2 -- "🔴 no: fix" --> C1
C2 -- "🟢 yes" --> CF{"💬 Operator feedback on screenshots?"}
CF -- "✏️ changes" --> A1
end
CF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
```
## Acceptance Criteria
### Toggle
- [ ] The mode row holds a `.radio-bubbles` button with `aria-pressed`
equal to the `bubbles` setting, separated from the mode buttons by a
divider.
- [ ] Clicking it flips bubbles; the active mode stays the same and
`#bubbles-toggle` shows the new state.
### Tests
- [ ] Unit: n/a: page JS.
- [ ] Integration: n/a: the setting exists.
- [ ] E2E: the Toggle checks in Chromium; screenshots.