Server rows
The inline radio rows on the Server screen: a host, a second line, and a tinted checkmark on the server in use.

A server row is one choice in the list of Seed servers. It shows the server by its host name, explains it in a second line, and carries a checkmark when it is the one the app is using. The rows together behave as a radio group.

Kind: inline part. It is not a named component in code. It is written four times inside MeServerScreen: the presets and the custom row at me.contract L334-L351, the saved rows at L356-L362.

Used by

Screen

How

Server

Two preset rows, one row for an unsaved custom server in use, and one row per saved server

No other screen draws this exact row. The radio rows for providers and models on the New agent sheet use the same checkmark idea with a single line, see Provider and model rows.

Four server rows in two cards: the presets (hyper.media checked) and two saved servers, each with its host as the title and a second line under it.

Variants

Variant

Title

Second line

Checkmark

Swipe

Preset: public

"hyper.media"

"The public Seed network"

when in use

none

Preset: testing

"dev.hyper.media"

"For testing"

when in use

none

Custom, in use and not saved

the host

the full address

always

none

Saved

the host

the full address, for example "https://gabo.es"

when in use

Delete, which forgets the server

The custom row exists so that the server in use is always visible and checked, even if it was set some other way and is neither a preset nor in the saved list.

Anatomy

Part

Contract

Detail

Row

button role="radio" aria-checked=…

A full width button row in a grouped list. Saved rows add delete= for the platform's swipe action

Labels

column flex=1 min-width=0 gap=2

Two lines of text, 2 points apart

Title

text

Body size, label colour. The host with https:// or http:// removed

Second line

text in -exact-footnote, -exact-secondary-label

A description for presets, the full address for the others

Checkmark

image "symbol:checkmark" color="brand" aria-hidden=true

Only on the row in use. Teal, see Color and tokens and Symbols and icons

Group

section role="radiogroup"

Labelled "Server" for the presets and "Saved servers" for the saved list

The checkmark is hidden from assistive technology because the row already reports itself as a checked or unchecked radio button. See Accessibility.

States

State

Effect

In use

Checkmark shown, aria-checked true

Not in use

No trailing element

Tapped

Becomes the server at once, with a selection haptic. The checkmark moves

Saved row swiped

Removed from the list. If it was in use, "hyper.media" becomes checked

There is no disabled or loading state. A row only exists for a server that is a preset or has already passed the check made by the "Another server" field.

Rules for use

    Use this shape for picking exactly one of a short list of named things, where each needs a line of explanation.

    Title is the human name (the host). The machine form (the URL) is the second line, never the title.

    One checkmark per screen. Two groups may share one selection, as the presets and saved servers do.

    Do not add a chevron: a radio row acts, it does not navigate. See Buttons and actions.

    Offer swipe to delete only on rows the person added.

Why it looks this way

    It is the system's single choice list. A trailing checkmark in a grouped list is how iOS Settings shows one of several. Writing role="radio" lets the platform and VoiceOver treat it that way. See Leave it unsaid.

    Hosts before URLs. People know "hyper.media", not "https://hyper.media". This mirrors how identities are shown by name, see Names, not identifiers and Identity rows.

    The only colour is the tint. The checkmark uses brand, the app's teal, which is also the colour of every other "selected" or "tappable" signal. Inferred from the token's use across the contracts.

    Presets cannot be removed. Only saved rows have delete=, so the two known servers are always one tap away.

User stories

This page helps deliver these stories. Each story lists this page in its Trace, so the link holds in both directions (traceability).

Related

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Attributes
name
Server rows
summary
The inline radio rows on the Server screen: a host, a second line, and a tinted checkmark on the server in use.