From 79b27457125dc2e259783359085021eea1d26e3a Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Wed, 23 Sep 2026 09:34:16 +0200 Subject: tui: "Byt bolag" in the main menu Reopens the org picker (cursor on the current org) and switches the running session: the org's name, role, current fiscal year and series are reloaded and the remembered list selections cleared. The context reload now clears the previous org's values first. Co-Authored-By: Claude Opus 5.5 --- docs/TUI-GUIDELINES.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/TUI-GUIDELINES.md') diff --git a/docs/TUI-GUIDELINES.md b/docs/TUI-GUIDELINES.md index c2aff3d..68316e3 100644 --- a/docs/TUI-GUIDELINES.md +++ b/docs/TUI-GUIDELINES.md @@ -125,8 +125,12 @@ struct tui_action { ## Session start After login the org picker ("Välj organisation att representera") is always -shown; the selected org is fixed for the session (`--org ID` bypasses it for -scripts). The fiscal year is chosen from the dashboard and is changeable +shown (`--org ID` bypasses it for scripts). "Byt bolag" in the main menu +opens the same picker, with the cursor on the current org, and switches the +session to the chosen one: `session.use_org`, then the org's name, role, +current fiscal year and series are reloaded and the remembered list +selections are cleared; `Esc` keeps the current org. `Ctrl+R` keeps the +switched org. The fiscal year is chosen from the dashboard and is changeable during the session; the `Räkenskapsår` screen also closes and reopens years there. -- cgit v1.3