Skip to content

Help and Emergency ​

Two plain-language pages for the people who use the app, linked from the end of Partner's page and from the admin's dashboard. They are not in the Menu: they are footer links, so they stay out of the way until someone needs them.

In plain words ​

  • Where they are. Two small links, Help and Emergency, sit at the very end of Partner's page and of the dashboard. They show even when the page itself can't load, which is when someone needs them.
  • Who reads them. Everyone with a login. The words change a little for the admin and the member (for example, the member is told to ask the admin, and the admin is not).
  • They always open. If the app can't read the admin's name, the pages say "the admin" and add a Try again button.
  • The words are a draft. Like Partner's page, the wording of both pages is a first draft for the household to read through, and it may change after they have. What each page is for will not.

Help (/help) ​

What someone reads when the page leaves them unsure. It covers, in this order:

  1. What each answer means: Yes, Ask (the admin's name), No, Unknown and Over the envelope. The app's own words are used, so the page and the help match. Each card is labelled Example (a visible word above the heading, and part of the card's name for a screen reader), and a line above them says they are examples, so none can be taken for a real answer about a purchase.
  2. What the buttons do: Check, Add it, Log it anyway, Undo and Move money.
  3. If the numbers may be out of date: the "Updated" line, the amber notice, and what changes while it shows.
  4. Payments that need a note.
  5. Who to ask: the admin, by name, with a "Text" link (see below).
  6. What it cannot do: it keeps a list and gives answers; it does not move money at the bank, pay anyone or send a message for you.
  7. If the app breaks: the card below.

Emergency (/emergency) ​

What to do when the admin cannot be reached. It is a short, ordered list: try the admin again, open the household emergency password vault (if the household has one), find the household emergency plan there (if one is written) and follow it, keep trying the admin and do not spend from an envelope that says Ask if there is no vault or no plan, and do not guess or move money at the bank because the app looks wrong. The admin's list has no "try the admin again" and its no-vault step is to write down what they see and ask another person in the household to look with them.

The page says near the top, and again under "Why the vault", that it is for money and app trouble, and that if someone is in danger they should call their local emergency number (written out, never as digits).

The page only points to the vault. It holds no passwords, no plan, no address and no name for the vault: the vault is kept apart from the app so that it works when the app does not, and the page says so.

The "If the app breaks" card ​

The same five steps, in order, on both pages: reload the page, check the connection, look at the "Updated" line (the admin is told to look at the dashboard's "Bank" line instead, which is the line they have), text the admin (the admin is told to check for a failed pull instead, as there is no one to text), and use the household emergency plan. The last step links to the Emergency page, on its own line under the step, except on that page.

Nothing in the pages' words is a name or a number. The admin's name and the "Text" link are read from Partner's page data (core's partnerHelp):

  • The name is the admin's name from settings. If the household has no named admin, or the name is blank, the pages say "the admin" (and capitalise it at the start of a sentence).
  • The link is the ready-made sms: link the server builds from the admin's phone setting. The number is never sent as a field of its own: it appears only inside the ready-made link (and, for the Admin, in Settings). Any admin has no one to text, so an admin's pages show no link.
  • The pages show every word at once, with "the admin" until the name arrives, then swap the name in. If the data can't be read at all they keep "the admin" and add a "Try again" button. A help page that needs the app to work would help nobody.
  • Who is looking comes from the session, read apart from the name (it needs no snapshot). An admin whose name is still loading, or failed, already gets the admin's words and the Back link to the dashboard. If neither can be read, the words are the member's and Back goes to the start ("/"), which sends each person to their own page.
  • The admin is the first person with the admin role (trimmed name), the same person Partner's page names. The words also depend on who is looking (member or admin) and how they can reach the admin: a Text button (a number is set), a message to copy (no number), or neither (no admin named). A second admin counts as an admin and, like the first, has no one to text: no link is given and the words never promise a Text button.

Writing rules ​

  • Short sentences, plain words, no puns, no exclamation marks. A test checks that no sentence runs past 25 words and that none holds a digit, a link or an emoji.
  • Put every word (headings, links and load messages too) in apps/web/src/pages/help/help-words.ts, never inline in a component, so the test sees all of them for every role and contact kind. No capitalised word mid-sentence except the app's own button and answer words, and no digits, addresses or links.
  • The page may name the vault only as "the household emergency password vault".

Accessibility ​

The pages follow the accessibility rules: one h1, section headings in order, every section a named region, 44px links, no animation, text larger than on the other pages, a visible border on the cards in forced colours, and a Text link that is an ordinary link with the person's name in it. The tests and npm run app:a11y cover each state (with the admin's name, without it, loading, error, and both roles).