The Lynx Ledger
The day-by-day view of the household's money: where checking is today, which days ahead get close to the cushion, and every transaction, day by day. It lives at /ledger and is in the Switch page menu, for both roles. Everything on it is worked out by the app's money rules (see Money rules) from the same snapshot the other pages read; the page only shows the answer, in words and an icon, never in colour alone.
On the demo it runs on made-up data kept in the browser. On the real app it reads and writes through the server: every add, edit, Private tick, Remove and Undo is saved there, and the server hides another person's Private description before anything leaves it (see "What the server keeps" below).
From the top
- An amber notice, only when the numbers may be old. "Numbers may be out of date." The numbers below show the last ones we have.
- Checking today. Where checking is expected to end today, with a word for it ("Above the cushion", "Under the cushion", "Below zero"), the lowest day ahead and when the bank was last read.
- Danger zone and Add a transaction. The Danger zone button is yellow when some day ahead ends under the cushion and red when one ends below zero (the button says it in words too). Press it to jump to the first of those days, press again for the next; focus lands on the day's heading and a line says "Danger zone 1 of 3". When no day goes under the cushion the button is not there and a line with a check says so.
- Envelopes this week, the same cards as Partner's page.
- Add a transaction, when it is open (below).
- The day buttons and Pick a day.
- The days.
The days
A bank closes on weekends and holidays, so those days are folded into the next business day: Saturday and Sunday show inside Monday's column, which says "Weekend folded in". Each day shows its date, tags (Today, Payday, Day posted and locked), the balance at the end of the day with a word, what came In and went Out, and its transactions.
A phone shows one day at a time and a wide screen shows five, with today in the middle. The wide layout starts at a width measured in text sizes, not pixels, so a person with large text gets the one-day layout.
Each transaction says its amount with a sign ("-$19.50", "+$3,100.00"; a screen reader hears "Money out" or "Money in"), its status as a word and a shape (Planned, Charged, Pending, Posted), a lock on a Posted transaction the bank has confirmed, a clock on a Pending one, and tags such as its envelope, who it belongs to, "From the bank", "Recurring", "Private" and "Needs a note". Each transaction is a button: pressing it opens it for editing (see Edit, make Private and remove).
A locked day (every transaction Posted and confirmed by the bank) takes nothing new and has no Add button; it says why.
Moving around
- Yesterday / Today / Tomorrow on a phone (Day before / Day after when you are away from today), Last week / Next week / Back to today on a wide screen. A button that cannot go anywhere says why. Moving puts focus on the day's heading and says the day and its balance.
- Pick a day is a date field with a Show this day button. Typing does not move anything until you press it.
Add a transaction
Press Add a transaction (or a day's own Add button, which fills that day in). The form opens on the page, no pop-up, and focus goes to Amount.
- Is it money out or money in? A charge or income. Income has no envelope: that field is switched off, with the reason beside it.
- Amount, What is it?, Which day? Each mistake appears on its own field and once in a summary ("Nothing was added. Fix the 3 marked fields and try again."); focus goes to the first one. A locked day is refused in words.
- Private hides what it was from the other person. They still see the amount, day and envelope.
- Close puts the form away; while an add is on its way it says "Wait until it is added." and does nothing, so the outcome is always said where you are looking.
- Add transaction writes it and a box under the form says "Added. Gloom Coffee, -$6.40, Thu Dec 3. It is Charged ...".
- Undo sits in that box. Unlike Recently added on Partner's page (which archives), the ledger's Undo deletes the new transaction for good, and says so: "deleted for good".
Edit, make Private and remove
Press a transaction. Its form opens on the page in the Add form's spot, above the days, and the entry you pressed gets a brand outline while it is open. Focus goes to the first thing you can change. Opening one closes the Add form and the other way round; while an add is on its way, pressing a transaction does nothing, so the Add's answer stays where you are looking.
- Planned, Charged, Pending, or Posted and not yet confirmed: every field is open. Amount, What is it?, Which day?, Which envelope? and Status, each mistake on its own field and once in a summary ("Nothing was saved. Fix the 2 marked fields and try again."), with focus on the first. A day that is posted and locked takes nothing moved onto it. A bank-sourced entry's Amount is read-only (the bank sets it). Income has no envelope, with the reason beside it.
- Status by hand. You can set an unconfirmed entry to any status, both ways, for when the bank is slow. A Posted you set yourself shows "Awaiting the bank" and is not locked; the confirmation says "It locks once the bank confirms it."
- Locked (Posted and confirmed by the bank): read-only, with the reason and who can unlock it. Private is always open, with its own Save. The note stays open only when the entry needed one (a bare Venmo), and stays open after it is filled in, in case you got it wrong.
- Someone else's Private transaction opens as "Private transaction", read-only, and says only they can undo it.
- Save changes writes it. A box under the form says what was done ("Saved. Lurch Hardware, -$35.00, Charged.") with Undo; focus goes back to the entry's button.
- Remove this transaction (Planned and Charged only; Pending and Posted say why there is no button) asks first: "Remove Lurch Hardware, -$32.10?" It leaves the balance, and it is deleted for good. Keep it changes nothing and puts focus back on Remove.
- Undo sits in the box after a save or a remove and puts back exactly what was there. It works only until that entry is written to again, and says so in words if it can't ("Not undone"). The ledger says "deleted for good"; Partner's Recently added and Help keep their own word, "archived".
- Close puts the form away and saves nothing.
The bank's posted day. Reconcile places a bank entry on the bank's posted day (a weekend folds into the next bank day). It can still sit on a different day than the bank posted it (older data, a line moved by hand, imported history). When the bank posted it on a day that is neither the day it sits on nor the column it is folded into, the entry says so in words: "Posted Wed Dec 2", and so do the read-only facts of its form (a locked or someone else's Private entry): "Bank posted it: Wed Dec 2". An open form shows no such line. Typed entries never have it; Private entries keep it (a date only). It changes no balance, lock or placement. The server already stores the bank's posted day on an entry the bank posts (the entry's postedOn, kept by reconcile), so the ledger endpoint fills this fact from it. Try Pick a day Nov 27 on the demo.
A big bank charge (over the app's size limit) stays editable: the limit applies to an amount you change, not to one you leave alone.
The server's audit log records only that a change happened ("Edited on the Lynx Ledger."), never what it held.
What the server keeps
- Private is hidden by the server, not the page. The person who ticked Private is stored on the transaction. Everyone else, the admin included, gets "Private transaction" in place of the description from every read that shows entries: the ledger, Partner's page, the dashboard, the lists and the forecast. Amounts, days, statuses and envelopes stay. Only the person who ticked it can untick it, edit it, remove it or undo its add.
- Remove is a real delete. The row and its envelope parts are deleted; the database only allows that for a Planned or Charged transaction the bank has not confirmed (every other table and row still refuses a delete).
- Undo is a short-lived copy. An edit, a Private change or a Remove keeps the transaction as it was for 30 minutes, for the person who made the change only, and it is gone once it is used or something else writes to the transaction. After 30 minutes the next change on the ledger wipes it, so a removed transaction leaves nothing behind but the fixed words in the audit log.
- A retry writes once. Every write carries a request id, and the answer is kept 30 minutes for a retry of the same press.
What a Member sees
The same page. A Private transaction of someone else's reads "Private transaction" to everyone, the admin included, and opens read-only. Anyone can tick Private on their own transaction; only the person who ticked it can untick it.
Trying it
On the demo, ?as=admin or ?as=member picks who is looking, ?now= sets the clock, and ?mock= shows a state: red (a stretch below zero), clear (no Danger zone), stale, empty, error and loading.