From 07f5b140922d13519ad7a0d1dad67a9b403be9f1 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Tue, 22 Sep 2026 12:43:52 +0200 Subject: tui: kundutkast, , explicit Spara och F2-åtgärder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/STATE.md | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'docs/STATE.md') diff --git a/docs/STATE.md b/docs/STATE.md index 3077b12..b034a9a 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -54,13 +54,17 @@ unit tests and the docs consistency check. employer name there too (it previously used the Comfortaa wordmark). The invoice's `FAKTURA` outline is unchanged; the `MAKANDRA AB` outlines in `src/wordmark.h` are now unused at runtime. -- **TUI interaction model (2026-09-22, design, not implemented)**: the UX - session settled two focus modes, three entity lifecycles, explicit - `Spara` in every savable form and `` drafts persisted to - `$XDG_CACHE_HOME/bokf/drafts.json` (deletable from both the list and the - editor), plus one `tui_action` registry per screen behind `F2` (no `§`). - Spec in `TUI-GUIDELINES.md` "Interaction model"; decisions in - `DECISIONS.md` #28. Rollout is backlog item 17. +- **TUI interaction model (2026-09-22)**: the UX session settled two focus + modes, three entity lifecycles, explicit `Spara` in every savable form and + `` drafts persisted to `$XDG_CACHE_HOME/bokf/drafts.json` + (deletable from both the list and the editor), plus one `tui_action` + registry per screen behind `F2` (no `§`). The **Kunder pilot is + implemented** (`clients/drafts.[ch]`, `tui_action_menu()`, + `tui_action_hint()`, ``, `Spara` row, F2 menu, delete draft) with + unit tests and the pty scenarios `customer-draft`/`customer-draft-save`; + the other screens are unchanged. Spec in `TUI-GUIDELINES.md` "Interaction + model"; decisions in `DECISIONS.md` #28. Rollout continues in backlog + item 17. - **Mail configuration**: Makandra AB (org 2) has **no** `smtp_*` settings in bokf, so `invoice.send` there is `SMTP_NOT_CONFIGURED` (fine if invoices are sent elsewhere — set them up when wanted). Mock AB (org 1) @@ -130,10 +134,11 @@ None open. Completed items that used to be listed here are archived in (`tests/core_.c`) so `--only` stops cascading; pilot with one domain. 17. Interaction-model rollout (spec: `TUI-GUIDELINES.md` "Interaction - model", decisions #28): `struct tui_action` + `F2` menu in the widget - layer, `clients/drafts.[ch]`, the Kunder pilot, then the other - registers; settings get `Spara`; pty scenarios for draft - create/save/delete/reload. + model", decisions #28): **Kunder done** 2026-09-22 (widget layer + `tui_action`/`F2`, `clients/drafts.[ch]`, drafts/``/`Spara`, + pty scenarios). Remaining: the other register screens, explicit + `Spara` in the settings forms (replacing per-field autosave), and + `tui_rt` action menus. Original entries for the struck items are in `docs/DECISIONS.md`. -- cgit v1.3