Skip to content

Machine-translated – improvements welcome. Suggest an improvement

Pattern catalogue

This is how things look the same everywhere. The pattern catalogue is the yardstick for everyone building interfaces, in the core and in clients. It puts the usability principles into practice; the patterns are built with the building blocks, and the pattern page (/muster in the test build) shows them. Every pattern has a fixed number so that issues, pull requests and code can refer to it. Below a pattern are the Building blocks for it; in turn, every building block page names its matching patterns (Structure of every building block page).

A new pattern or a change is proposed in an issue; the maintainer decides. If a pattern does not yet apply everywhere, that is an issue against the place that deviates, not against the catalogue.

A · Selection and input

A1 · Choosing folders, people, organisations = like a reference field

See #602, #1288.

  • One shared component: search while typing, suggestions below the field, folder type per hit, chosen entries as labels with “✕”, no separate “Search” button. If the search does not match the name, the matching field is shown on the hit.
  • Creating: creating a new one is the last entry of the suggestion list (“+ Create new contract …”), always, even when there are hits. Without hits, “No contract ‘xyz’ found” appears above it and what you typed is pre-filled. No green buttons below reference fields.
  • A set reference: name as a link to the folder, followed by a small ✕ button. No “Change” – changing means removing and choosing again. In clients: value in accent colour with the folder type's icon and “›”; tapping opens the folder.
  • The kind of reference (“relation”, “belonging”) is shown only in the workbench, not in the filing.
  • Note and error are also attached via aria-describedby to the search field of a multi-select.
  • Model: reference fields in the folder (MappenWahl), folder types in the advanced search.

Building blocks: Tag, Multiple selection.

A2 · Multi-select

The selection sits below the input field so fields stay at one height; excluding works the same way (Multi-select).

Building blocks: Selection checkbox, Multiple selection.

A3 · Phrase things positively

Instead of a negated switch with a long explanation, tick what should happen; a short help text per option, file extensions for files (#660).

Building blocks: Field.

A4 · What someone enters stays as it is

Own values are not reformatted (retrieval code “198405” stays “198405”); generated values may be grouped. If the spelling does not matter, it says so (#666).

Building blocks: Field, Inputs with a unit.

A5 · Number and choice fields check immediately

Limits (min/max) and “digits only” apply while typing; they may offer suggestions. Versions and licences are a choice, not free text (#657, #651).

Building blocks: Field, Inputs with a unit.

A6 · Required only when really needed

Voluntary fields say “(optional)”, no asterisk for required. A checkbox that makes a field required starts off unticked (#666).

Building blocks: Field.

A7 · Switch or checkbox

See Switch, Field.

  • Switch = something lasting that is on or off: a function, a service, an automation. It stays that way until someone changes it. Label without a verb (“WebDAV drive”, “Automatic backup”), state as a word next to it (“On”, “Off”). It takes effect with the save bar (C5) or, where the page has none, immediately.
  • Checkbox = an option or choice for this one action or as a property of an entry: “File document in this folder”, “read only”, “also used for work”, confirmations (“I have saved …”). A checkbox only takes effect with saving or the main button of the action.
  • Check question: Does it switch something on that keeps running afterwards? → switch. Does it choose how this action or this entry should be? → checkbox. Two to four equal choices → segmented control (C17). Always phrase checkboxes positively (A3).
  • A state is in exactly one place (C9): where there is a switch at the top, “Status” does not repeat it.

Building blocks: Field, Switch, Selection checkbox.

A8 · Date field with calendar and calendar week

See Date, #1496.

  • A mouse click into the field opens the calendar without taking the focus; whoever keeps typing types into the field. With the keyboard nothing opens by itself, only Alt + Down arrow or the button in the field.
  • Each week starts with its ISO 8601 calendar week (enter “end of week 50” quickly).
  • On a phone, tapping into the field opens the system picker; the calendar with calendar weeks comes via the button, as a sheet from the bottom.
  • The calendar opens like any menu (C18).

Building blocks: Date.

B · Notes, results, confirmations

B1 · Note boxes

Sentence at the top, list and buttons below, left-aligned. Never text on the left and list or buttons far to the right (#662, #665).

B2 · The result appears where the click happened

In place of the button that triggered it, nothing jumps; the next steps below, main button first. Visible even on a scrolled page, never at the top of the page out of sight. No accidental second trigger (“Create again” instead of a button that stays active). A button or link leads exactly to what it names (Button, #986).

Building blocks: Button.

B3 · Messages say why and what to do

A blocked action explains itself with ⓘ on the dashed button; the explanation comes on click (Principles for buttons, point 6). Gaps name their reason and jump to the place. Success says clearly what happened (“sent by email” or “not sent”). Warnings first reassure and then say what to do.

Building blocks: Save bar, Confirmation.

B4 · Confirmations in Ablago's own dialog

Never in the browser's confirm() window. Red only here: for dangerous actions the confirm button of the dialog is filled red, and focus starts on “Cancel”. Nothing on the page before is red (C14).

Building blocks: Button, Versions, Menu, Confirmation.

B5 · One error does not silently stop everything else

What was skipped is stated (#646, #711).

B6 · Calm error messages

No red for things that can be solved. The cause is given in everyday language, and there is always a way out (camera: “A little more light helps” + “Take it yourself”). Red only for real errors and security. Distinction: a wrong entry in a field and a failed action on a button are errors: red with an icon and one sentence on how to get it right. B6 means notes during a flow (camera, state, “nothing here yet”): no red for those.

Building blocks: Field.

B7 · Messages by severity, accepting is logged

Order red → yellow → note. Only yellow messages and notes can be acknowledged, with an optional reason; red never. Accepted ones are collapsed at the bottom (“Consciously accepted (n)”), with an entry in the log, and come back up when the message becomes more severe or occurs again (#816).

Building blocks: Number.

B8 · Note in the overview

All notes in the workbench overview follow one structure (Pattern: note in the overview, #1511).

Building blocks: Tile.

C · Page structure

C1 · Three columns left · middle · right

For everything that grows: list in the middle, “+ …” at the top, the single item or the assistant on the right. Small settings do without a middle. Every collection you create and edit gets the middle, even if it starts small (model: stamps) (principle 1).

Building blocks: Search, Areas.

C2 · One topic per workbench entry

Separate different topics on one page. Conversely, do not spread one topic across several entries. Groups have at most seven entries (#354). Settings that depend on location (country, state, time zone, public holidays) are collected under Settings → Region.

C3 · Assistants step by step with Back

In the same look as the rest of the interface (Step bar).

  • No separate save buttons: “Next” takes over the visible suggestions (marked “suggested – taken over with 'Next'”). Empty optional fields stay empty, no hidden defaults. Back and Next are always at the bottom. Things are only created after the summary, with “Set up now”.

Building blocks: Step bar.

C4 · Form rows

Label and field stay together, nothing breaks apart in narrow windows.

  • Structure per field: label · input · error · note. The error is directly below the input. A checkbox sits in the input row, its description in the note row; the “?” belongs to the label.
  • Every input element sits in the field frame (Field). No page builds label, note, error or aria itself. States: empty, filled, note, optional, error, disabled with the reason in the note, read only (dashed), choice, multi-line, checkbox, group, hover, focus – all on the pattern page.

Building blocks: Field, Inputs with a unit, Date.

C5 · Save via the save bar

Main button and “Discard”, not mixed with immediate switches on one page. One bar for filing and workbench: main button blue (“Save ” or “Create”), “Discard” as a button with a border (not red, no confirmation on click), faded without a change. On the left a fixed place for “Delete …” as a danger button in normal size, in line with the others. See Save bar.

Building blocks: Save bar, Switch, Areas.

C6 · “+ …” only where you create something

A create button sits only above a list in which you really create something, not on pages that only show settings (#649).

Building blocks: Button, Multiple selection.

C7 · Help “?” in the heading

It leads into the handbook, to the matching place (#601).

Building blocks: Field.

C8 · A link goes somewhere else, a button does something

Actions such as “Switch off”, “Copy”, “Delete” are buttons, styled alike and side by side; a link only changes the page (#706, point 7 of the button principles).

Building blocks: Button, Tile, Table, Expander.

C9 · A state is shown and changed in exactly one place

Example: on and off of an automation do not appear as a checkbox at the bottom when creating and as a button at the top afterwards. Related: every setting has exactly one place (principle 3).

Building blocks: Switch.

C10 · Same things the same: repeat patterns, do not reinvent them

Within a client there is one version of each element: search field, list row, field card, reference field (A1), section with a count (C11), main button (C12). The search field is the same everywhere; you go back via the navigation, not via a button of its own in the search field (principle 13).

Building blocks: Tabs, Placeholders.

C11 · Links as sections with a count

Link tabs appear as sections with a heading and a count; with more than two entries “Show all n”.

Building blocks: Tabs, Table.

C12 · Main button at the bottom

Even if the platform allows top right; at the top right it is easily overlooked. Applies to clients and to assistants and dialogs of the interface; in the interface's forms it is the save bar (C5).

Building blocks: Button, Save bar, Step bar.

C13 · Special cases as a collapsed group at the top

Header with count and composition (“System accounts (5) · 4 packages · 1 automation”). Anything unusual is visible as a marker even when collapsed; open or closed is remembered per person (#817).

Building blocks: Areas, Expander.

C14 · Kinds of buttons: fixed, the same everywhere

See Button.

  • Create green, only for “+ …”. The label starts with “+” and names the item (“+ Contract”, “+ Folder type”, “+ User”; not a bare “+ New”, #1296).
  • Main filled blue, at most one per area.
  • Secondary with a border.
  • Danger looks like secondary with an icon on the page; on hover and focus text and border turn red. It deletes, blocks or signs out and always asks in Ablago's own dialog; only there is the confirm button filled red (B4).
  • Link only for paths (C8).
  • Sizes normal and small. No free classes, not even colour classes via className.
  • The principles for colour and states (blue is the main action, green means “start something new”, discard with a border, nothing red on the page, filled red only in the confirmation, two kinds of “not possible”, a border means button, calm numbers in the navigation) are explained with their reasons under Principles for buttons.
  • Dashed means “blocked for you”, like “read only” on a field (C4). The only exception: areas for dragging in files (“Drag file here”) may be dashed, because people know that from everywhere.
  • 0 is always shown in the navigation (quiet grey), so you can see that there really is nothing left. Entries that do not exist right now (recycle bin switched off) stay away.
  • States the same everywhere: hover and focus visible for all kinds, light and dark; “running” stays in its place; result and error directly at the button (B2), including errors of an asynchronous click. A button with only an icon has a label for screen readers.

Building blocks: Button, Save bar, Tag, Number, Package chip, Menu, Step bar, Confirmation.

C15 · Editor on the right: jump bar + sections

See Sections.

  • Structure: at the top the jump bar with all sections and “Expand all / Collapse all”, below it the sections to open and close, collapsed with a short summary. Only from three sections; smaller editors show their sections permanently open, without bar and without collapsing.
  • Order and names: Basic data first, then in the order in which you set up the entry; trying out, status and history at the end. Names short and the same per editor.
  • Open or closed: new means everything is open. Existing entries open as they were last on this device, otherwise collapsed. An anchor in the address opens its section. Editors without saving (only viewing and immediate actions) start open.
  • One save per editor (C5) at the bottom in the save bar. Immediate actions (test, fetch, reset, block) stay immediate and sit in their section.
  • Errors open their section: the section gets a red frame and “Error”, the jump turns red with “!”. Red in a section's frame means only “error”; there is no red-coloured danger zone.
  • Headings: the section carries the heading; inside it no second heading with the same word and no extra box.
  • Keyboard: a jump opens the section, scrolls there and sets the focus on its header. “Expand all” exists only once per editor; collapsible entries within a section are named differently (“Expand all entries”).
  • On a phone: jumps at least 44 px high, the bar wraps and scrolls along (D6).
  • Header above the title: only the kind in the singular (“Number range”, “Mailbox”, “User” …). References to sections are jumps, not “above under …”.

Building blocks: Areas, Expander.

C16 · List in the middle: search field at the top, filters below

One search field for all lists (magnifier, “×” and Esc clear it, search while typing, umlaut variants). Below it the list's filters, below them the number (“12 hits”, without a search “30 folder types”). Each hit highlights where it was found (“+ 3 more”). Without hits one sentence and “Reset search and filters”. On a phone the search stays at the top while scrolling. See Search.

Building blocks: Search.

C17 · Segmented control for two to four equal choices

Exactly one choice is on; it changes how something works (start page “Ask · Search”). For content below it there are tabs, not the segmented control. Short choices (one word), unobtrusive next to the field; the chosen one is recognisable not only by colour. Keyboard like radio buttons (arrow keys, Tab only onto the chosen choice); on a phone 44 × 44 px per choice. See Segmented control.

Building blocks: Tabs, Toggle.

C18 · Position of menus: below if there is room, otherwise above, never over the assistant

Menus are fixed in the window and create no page scroll bar. They open downwards if there is enough room (the assistant's space at the bottom right does not count), otherwise upwards. Applies to everything that drops down (menus “⋯”, “Folder ▾”, the calendar from A8). See Menu, #1488.

Building blocks: Date, Menu, Multiple selection.

D · Texts and presentation

D1 · Singular and plural

It is “1 folder” and “2 folders”. Folder types have a “Plural” field for this: lists show “12 contracts”, with one folder “1 contract”; without a plural it stays “12 × contract”. Post deliberately has no plural (#1446).

Building blocks: Number, Inputs with a unit, Search.

D2 · No internal abbreviations

No module names like “konto” in the interface, but understandable names from the language file (#682).

Building blocks: Placeholders.

D3 · Sentences that are true

No placeholder sentences (“This will be created …”) that do not fit the content (#643).

Building blocks: Tile, Versions, Confirmation.

D4 · Show state without changing data

E.g. deactivated users struck through instead of renamed (#663).

Building blocks: Tag.

D5 · Terms from the glossary

Addressing the user as “you”, technical terms only with an explanation, dates and numbers in the format of the language; single-colour icons (Lucide via <Symbol>), the same colours with the same meaning.

  • Lucide is also the icon set of the clients.
  • Paths the way you click: “My account → Security → …”.
  • Audience in texts: “at home and small businesses”, not only households. Terms have to fit Lena and a business (e.g. “Retention expired” instead of “Can go”).
  • One word, one number: the same terms count the same everywhere.

Building blocks: Placeholders.

D6 · On the phone

Nothing wider than the screen, menus stay on screen, touch targets at least 44 × 44 px; drag and drop always with an alternative for keyboard and finger. The touch area belongs in the building blocks (pointer: coarse), not in single rules per page (On the phone).

Building blocks: Button, Table, Toggle, Menu, Selection checkbox.

E · Behaviour

E1 · Editing comes before automation

Nothing in the background blocks the work; at most a note.

E2 · Updates change nothing secretly

Differences are shown. When fixed reminders are taken down, the behaviour stays the same. If something disappears from the API, it is stated explicitly in the changelog, and the clients follow beforehand.

Building blocks: Package chip, Versions.

E3 · Visibility creates trust

Whatever happens automatically has a history (#675, #707).

Building blocks: Package chip, Versions.

E4 · Paths to the outside are named

Where something leaves the device, the interface or the handbook says in one sentence what goes out, where to and who switched it on. All paths are also listed in one overview (Paths to the outside).

E5 · Tasks behave the same, wherever they come from

Whether a task is built in, comes from an automation or from a package: during absence or deactivation it goes to the stand-in, it completes itself when its reason disappears (date changed or cleared, post assigned, absence ended), and its kind stays recognisable (deadline, reminder, post for you, assigned, stand-in), in To do, calendar and counters.

  • A task arrives when it is due: no “coming up” preview that calculates lead times backwards. To look ahead, you look at the dates themselves in the calendar.

E6 · “What may go out” and “which path” kept apart

Whether titles or contents appear outside the app (notifications, calendar, widget) is one setting in one place with one reason. The paths themselves only have on/off and a target. Related: C9, E4.

E7 · A notification leads straight to the thing

A notification about one thing opens exactly that thing, a collective notification the list. Back leads to the area the thing belongs to (notification “deadline” → folder with the box “Your task”, Back = “To do”). Applies also to links in emails and in the summary.

E8 · Passing on only counts once it is done

An entry in the history is only made after “sent”, not when the share sheet opens (#827).

F · Brand

F1 · Name, logo and colours the same everywhere

On the home page (dms-website), the catalogue website, in the handbook, in the interface and in the clients. The name is Ablago. Logo and colours come only from the folder marke/ of dms-website (Clients). The handbooks share one brand colour and differ by shades.

F2 · Load nothing from third parties

Home page, handbooks, catalogue website, interface and clients embed no fonts, scripts or images from external services; links to the outside are allowed (What every contribution observes).