From 10a535ace098144980d0ffd1593f6384c39cc221 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 22:00:01 +0200 Subject: tui: split bokftui into screen files --- docs/STATE.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs') diff --git a/docs/STATE.md b/docs/STATE.md index 8a1d433..b05689f 100644 --- a/docs/STATE.md +++ b/docs/STATE.md @@ -178,6 +178,15 @@ check. so `describe` output is byte-identical, and `scripts/check-consistency.sh` / `make check` scans `src/commands.c` and every `src/cmd_*.c`. +23. **TUI screen split (2026-09-20)**: the same idea for the TUI: + `clients/bokftui.c` keeps `main` (arg parsing, login, startup), + `config_path`/`config_mkdirs`, the Ctrl+R reload and the scene registry + (`struct scene SCENES[]` + `open_scene`); shared helpers and `struct app` + live in `clients/ui.[ch]`; each view group lives in + `clients/screens_.c` (dashboard, vouchers, accounts, reports, + rules, attachments, bank, audit, templates, ib, bokslut, settings, + invoices). Pure move: no key, string or scene-name changes; the registry + keeps every name including the `yearinfo` alias. ## Pending decisions -- cgit v1.3