aboutsummaryrefslogtreecommitdiff
path: root/docs/STATE.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 22:00:01 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 22:00:01 +0200
commit10a535ace098144980d0ffd1593f6384c39cc221 (patch)
tree53a7c6c5026d479c4b6d5fd4e5b341474cd190fa /docs/STATE.md
parent3a5a6d3b04dc4e17a42225afb243eecb3502ead6 (diff)
downloadbokf-10a535ace098144980d0ffd1593f6384c39cc221.tar.gz
bokf-10a535ace098144980d0ffd1593f6384c39cc221.zip
tui: split bokftui into screen files
Diffstat (limited to 'docs/STATE.md')
-rw-r--r--docs/STATE.md9
1 files changed, 9 insertions, 0 deletions
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_<group>.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