Add sub-tabs to records sections (Refs #18)

Records sections can be split into user-named sub-tabs with a General
catch-all. Records and visual sequences move between tabs via a Sub-tab
drop-down; up/down, collapse all and print work per tab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 19:32:05 -05:00
parent 37bdb62baf
commit d7dc098e79
9 changed files with 411 additions and 24 deletions

View File

@@ -54,6 +54,29 @@ After sealing, `data/seed.json` is still plaintext. Delete it (and see
4. If you changed the passphrase, the old file still opens with the *old*
one until you save and replace it.
## Sub-tabs
A *records* section (Banking, say) can be split into **sub-tabs** such as
Standard, Online and Credit Union. Other kinds of section don't have them.
- **Create:** choose Edit, type a name under **Sub-tabs** and press
**+ Add sub-tab**. The first one makes a tab bar appear, with a catch-all
**General** tab first. Records you already had are in General. A section
with no sub-tabs looks exactly as before.
- **Add into a tab:** **+ Add record** and **+ Add visual sequence** add to the
tab you are on.
- **Fix a misplaced record:** each record (and visual sequence) has a
**Sub-tab** drop-down in edit mode. Pick the right tab and it moves there.
- **Order:** the up/down arrows reorder within the tab you are on. The
name box under Sub-tabs renames the selected tab (General too), and its
arrows move the tab left or right.
- **Delete a tab:** the ✕ asks first. Its records move to General, so
nothing is lost. Deleting the last tab turns the section back into a plain list.
- **Collapse all / Expand all** work on the tab you are on.
- **Print:** each tab prints as a sub-heading inside the section (tabs
with nothing in them are left out).
- **Older copies:** a file saved with sub-tabs can't be opened by an older
build of the app. Upgrade the app first (see *Upgrading*).
## Images
Any record can hold pictures (scans of documents, photos of a safe's
contents, a screenshot of where to click). They are another kind of field, so