Skip to content

Record

Last updated 6 Nov 2026

A record view is about one thing: a task, an invoice, a customer. It is opened to answer "what is this, what state is it in, and what do I do next", and then to dig into one part of it. The page has to answer the first question in the header and make the digging cheap, without showing everything the record knows at the same volume.

Before: everything at once, or everything folded ​

Two uniform versions are common. In one, every section is open: description, checklist, links, history, attachments and comments in one long column, each with the same heading, so the description is as easy to miss as the history. In the other, every section is folded into an accordion, so the record opens showing nothing, and the conversation, the part people come back for, is one more click away than it should be. In both, the header is hand-built, carries four badges ("Open", "Archived", "Past its date", "Quiet for a month") and scrolls away with the page.

After: the header stays, the record is open, the rest is a click away ​

The anatomy ​

  1. A sticky NbPageHeader. The key and the parent in the eyebrow, the record's name as the <h1>, one status badge, three to five facts in an NbDefinitionList with layout="auto", and the record's one primary action. sticky, so the name, the state and the action stay in reach while the record scrolls.
  2. The one or two things the record is, always open. Usually the description, and the conversation. They are what the record is, and hiding them behind a disclosure means every record opens showing nothing.
  3. Everything else disclosed, with counts. NbAccordion flush with each item's count in its meta ("3 of 5", "14"), so the reader knows what is behind a section before opening it. One open at a time. Never nested.
  4. Nested relations one plane deeper. A linked item, a sub-record, a dependency: a well inside the section (an NbPanel, which paints one plane deeper on its own), not another accordion.

Rules ​

  • Critical information at the higher level. If the reader needs it to decide what to do next, it is in the header or always open. Everything else is disclosed.
  • One badge. The record is in one state. Archived, overdue and quiet are facts, or a banner, not three more badges. See Status indicators, rule 5.
  • The always-open sections outrank the disclosed ones. They get a heading-02 heading; the accordion headers are quieter. If they look like peers of "History", the argument for keeping them open is lost.
  • Two planes at most. The page, a well inside a section, and stop.