2.0 KiB
2.0 KiB
send-rs src/tui/status_bar.rs — per-focus hints and transient overrides
Metadata
| Field | Value |
|---|---|
| Institute | Molodetz Institute — Research & Retrieval Division |
| Subject | tui-framework-design |
| Document type | Source Dossier |
| Tier | 1 |
| Source title | send-rs src/tui/status_bar.rs — status bar content (WhatsApp+Telegram ratatui client) |
| Source URL | https://raw.githubusercontent.com/pedromarquetti/send-rs/master/src/tui/status_bar.rs |
| Source publisher / author | pedromarquetti (send-rs / Sender project) |
| Source type | repository |
| Source date (published) | Unknown — not stated |
| Date researched | 2026-10-11 |
| Researched by | tai (agent), model: Muse Spark, on behalf of retoor |
| Research method | direct page fetch |
| Confidence | Medium |
| Status | Active |
Summary
A one-line status bar showing [chat] plus key hints for the current focus, with transient status messages (rate-limit countdowns, window blur, backend status, disconnects) temporarily overriding the hints. Content policy and override behavior are the whole finding.
Key findings
- Normal content is
[chat]followed by per-focus key hints that change with the focus enum. - A transient
status_hint(rate-limit countdown, window-blur notice, backend status, disconnect notice) overrides the hints while present, then the hints return.
Pros / strengths
- The override pattern keeps one status line serving two jobs (teaching keys + reporting state) without layout churn.
- Per-focus hints make modal/focused UIs self-documenting.
Cons / limitations / caveats
- Override timing and queueing (what happens when two transient states overlap) were not part of the inspected evidence.
Relevance to tai
- Contributes the per-focus-hints plus transient-override content policy for tai's 1-line status bar in the messaging-layout conclusion.
Changelog
| Date | Change |
|---|---|
| 2026-10-11 | Initial dossier created from 2026-10-11 research-pass evidence (body opened via web_fetch by researching agent). |