Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
fc1acb5
test: each of today's six attention kinds is an Inbox item with today…
V3RON Oct 20, 2026
76f6d08
feat(console): Attention becomes Inbox at /inbox (#768)
V3RON Oct 20, 2026
399089a
test: an absent physical device is a Needs a look item titled with it…
V3RON Oct 20, 2026
af97f6e
feat(console): an absent phone is an Inbox item (#768)
V3RON Oct 20, 2026
a4546db
test: a request is an item at 60 001 ms waited and not at 59 999 ms, …
V3RON Oct 20, 2026
cd80831
feat(console): a request waiting over 60 s is an Inbox item (#768)
V3RON Oct 20, 2026
d185884
test: a lease is a heads-up at 4:59 left and not at 5:01, and one pas…
V3RON Oct 20, 2026
104a823
feat(console): a lease with under 5 minutes left is an Inbox heads-up…
V3RON Oct 20, 2026
fba5d1f
test: items keep the order given: worker order for problems, longest …
V3RON Oct 20, 2026
d03ea62
test: items group as Broken, Needs a look, Heads-up, in that order; t…
V3RON Oct 20, 2026
7ed7611
feat(console): Inbox rows come in three groups, and the page counts i…
V3RON Oct 20, 2026
7b658ae
test: Overview with an empty Inbox shows Nothing needs you and no Nee…
V3RON Oct 21, 2026
e904e43
feat(console): Overview says Nothing needs you, or lists the first fo…
V3RON Oct 21, 2026
64dae03
test: with five problem items the panel shows four, and a row opens /…
V3RON Oct 21, 2026
56a1491
test: with /v1/lease-requests stubbed to fail, Overview says Could no…
V3RON Oct 21, 2026
b2b7937
feat(console): Overview says Could not check: waiting requests when t…
V3RON Oct 21, 2026
98f513e
test: Overview shows the five numbers with the daemon's values, and E…
V3RON Oct 21, 2026
0ac03dc
feat(console): Overview shows Leased, Waiting, Workers, Wait p95 and …
V3RON Oct 21, 2026
a7ba01b
test: capacity counts every read device per platform: a drained worke…
V3RON Oct 21, 2026
4046444
feat(console): Capacity counts every read device per platform by part…
V3RON Oct 21, 2026
fd32ef3
test: Overview's workers table lists all workers with no pager, and O…
V3RON Oct 21, 2026
43bbd98
feat(console): the Overview's workers panel links to Open Fleet (#768)
V3RON Oct 21, 2026
b31bfbc
test: Overview's and Usage's range chips sit in the shared toolbar (#…
V3RON Oct 21, 2026
eb7b135
feat(console): Overview's and Usage's range chips sit in the shared t…
V3RON Oct 21, 2026
39febbb
test: the Leases held and Requests in the queue charts follow ?range=…
V3RON Oct 21, 2026
6d29bed
feat(console): the Overview draws two charts and Usage draws Device s…
V3RON Oct 21, 2026
1874d14
test: /inbox lists a drained worker under Needs a look and a disconne…
V3RON Oct 21, 2026
a9327ba
feat(console): /inbox lists items in three groups, with chips that sh…
V3RON Oct 21, 2026
072bfd2
test: a waiting request stubbed with a createdAt 61 s before the daem…
V3RON Oct 21, 2026
79f6515
test: a lease stubbed with 4 minutes left shows under Heads-up, and o…
V3RON Oct 21, 2026
6e82e2d
test: an Inbox item whose key holds a . reloads at its address (#768)
V3RON Oct 21, 2026
50b181e
feat(console): an Inbox address ends in / when its key holds a . (#768)
V3RON Oct 21, 2026
b99cbde
test: an Inbox row opens /inbox/<key> with the what-happened box and …
V3RON Oct 21, 2026
ffa55c7
feat(console): an Inbox row opens a drawer at /inbox/<key> with the w…
V3RON Oct 21, 2026
f766267
feat(console): the Inbox e2e follows the drawer, and the drawer of a …
V3RON Oct 21, 2026
839dd1d
test: the sidebar's Inbox count equals the problem items and is hidde…
V3RON Oct 21, 2026
52c8594
feat(console): the sidebar's Inbox count is the problem items (#768)
V3RON Oct 21, 2026
878f43e
test: on a single host, Overview shows all five numbers and both char…
V3RON Oct 21, 2026
422eba6
test: axe passes on Overview and Inbox, empty and busy, in light and …
V3RON Oct 21, 2026
98d56a0
test: no <style> element or CSP violation on Overview and Inbox, with…
V3RON Oct 21, 2026
3e36d40
test: views.spec follows the new Overview and Usage (#768)
V3RON Oct 21, 2026
3628930
test: with /v1/workers stubbed to fail, Overview says Could not check…
V3RON Oct 21, 2026
fe244f8
feat(console): Overview says Could not check: workers when the worker…
V3RON Oct 21, 2026
8d6ef07
chore(console): remove the unused master-detail components (#768)
V3RON Oct 21, 2026
10f8031
test: Overview has no Recent activity panel (#768)
V3RON Oct 21, 2026
c51e220
feat(console): the Recent activity panel leaves Overview (#768)
V3RON Oct 21, 2026
2b44437
test: the Overview screen test follows the Activity panel leaving (#768)
V3RON Oct 21, 2026
9fd1f22
docs(console): Overview, Inbox, Usage and the Leases filter in the co…
V3RON Oct 21, 2026
bf0793f
refactor(console): trim the exports and the complexity Fallow flags (…
V3RON Oct 21, 2026
b972b76
fix(console): the feed keeps its list reset (#768)
V3RON Oct 21, 2026
ffd9d5a
test: with /v1/lease-requests stubbed to fail, the Inbox says Could n…
V3RON Oct 21, 2026
491a124
feat(console): the Inbox says what it could not check (#768)
V3RON Oct 21, 2026
dfb16c5
test: the Inbox and Overview model tests pin the boundaries, the fall…
V3RON Oct 21, 2026
7ae768c
test: the Overview, Inbox, path and event-link tests pin the panel, t…
V3RON Oct 21, 2026
9d63730
fix(console): the Overview draws Fleet's workers table, and the Inbox…
V3RON Oct 21, 2026
fede1b6
docs(console): the Overview's Could not check line and workers table,…
V3RON Oct 21, 2026
e7bfe9a
fix(console): a failed leases read counts no leases and a failed work…
V3RON Oct 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 16 additions & 20 deletions docs/internal/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Simlock's accent is orange where Apex's is green.
| `--text-xs` | 12px | labels, units, a row's second line, a link's count |
| `--text-sm` | 14px | links in the sidebar, buttons, table cells, facts |
| `--text-md` | 16px | body text, page subtitles, card and panel titles |
| `--text-lg` | 20px | a list's title, an inspector title that is an id |
| `--text-xl` | 28px | a page's and an inspector's title, a tile's number |
| `--text-lg` | 20px | a drawer's title |
| `--text-xl` | 28px | a page's title, a tile's number |
| `--text-2xl` | 32px | a lease's countdown |

- Weights: 400 for text, 500 for labels and big numbers, 600 for titles, 700
Expand Down Expand Up @@ -95,12 +95,12 @@ one. Use the daemon's own word for the state (`leased`, `quarantined`,
square of its colour, then the word in `--text` (`Status` in
`ui/src/ds/status.tsx`). In a list row, where there is room for the square
alone (`StatusDot`), the word is the square's accessible name and its tooltip,
and the chosen row's inspector shows it in full. A worker's square shows the
and the row's drawer shows it in full. A worker's square shows the
worst of what is wrong with it: red for a lost or failed worker, amber for a
drained or starting one, one over its RAM budget, or a load figure past its
threshold, green otherwise (`workerHealth` in `ui/src/model/fleet.ts`). A word
the console does not know, from a newer daemon, shows as itself in
`--status-idle`. A count, such as the one on the Attention link, is a number,
`--status-idle`. A count, such as the one on the Inbox link, is a number,
not a status: it has neither a status colour nor the accent.

Every pair of text and background colour in both themes meets WCAG AA: 4.5:1
Expand Down Expand Up @@ -133,12 +133,12 @@ put together from them and draws nothing of its own that one of them already dra

- **Sidebar.** The console's navigation, on the left of every signed-in page: the "SIMLOCK"
wordmark (`--on-accent` on an `--accent` block), one link per page in a fixed order (Overview,
Attention, then the **Operate** group: Fleet, Leases, Queue; then the **Observe** group:
Inbox, then the **Operate** group: Fleet, Leases, Queue; then the **Observe** group:
Activity, Usage; each group under its small label, hidden when collapsed), then at the bottom the connection as a status,
"Signed in as <name>" (hidden when collapsed, where the Sign out tooltip reads "Sign out (<name>)"),
**Sign out** (absent for a proxy person with no sign-out address) and the collapse button. A link is an icon and its label in `--text-muted`; the
current one is `--text` on `--field` with a 2px `--accent` bar on its left and
`aria-current="page"`. Attention carries its count in a small bordered box, and none at zero.
`aria-current="page"`. Inbox carries its count of problems (not heads-ups) in a small bordered box, and none at zero.
Collapsed, the sidebar is 64px wide: the labels go, every icon sits on its centre line, each
link keeps its name (and a tooltip), the wordmark becomes "S" and the connection its square.
Only the operator collapses or widens it, with the button at its bottom; the browser keeps the
Expand All @@ -147,14 +147,13 @@ put together from them and draws nothing of its own that one of them already dra
opens the links and the bottom block under it.
- **Page.** A page that is not a list, as the overview: its title (`h1`) and its actions on the
right, then its content. No subtitle: the title and what is under it say what the page is.
- **List and inspector.** Attention (attention items) is a list on the left, 260–360px wide, and
the chosen thing in an inspector filling the rest. The list has a header (the page's title as `h1`, a short count
in mono beside it, then its filters), its rows, and the pager under them. A row is one or two
short lines: a status square, a title, one figure on the right, and at most one muted line or
bar under them; the chosen row is `--surface` with a 2px `--accent` bar on its left and
`aria-current="page"`. The address names the chosen thing (`/attention/<id>`). The inspector
has a breadcrumb, the thing's title (`h2`), one muted line under it, actions on the right, and
then cards, facts, tabs and panels.
- **Grouped list and drawer.** Inbox is a page of panels, one per group (Broken, Needs a look,
Heads-up, in that order; a group with no item is left out), under a toolbar of filter chips (All,
then each group). A row is a status square, the condition's word and a muted mono line saying what
it is about; the row is a link to `/inbox/<key>`, which opens a drawer. The drawer has a box
saying what happened, then the facts, one button to the page of what the item is about, and the
last hour's events about it. The address of a key holding a `.` ends in `/`, so a reload finds the
console's page.
- **Table and drawer.** Leases, Fleet and Queue are each a table (Leases and Fleet under a toolbar: the filter
chips on the left, a search box on the right, at the page title's padding). Activity has the same toolbar over
an event feed that scrolls inside itself; Queue has no toolbar, only the Wait p95 tile above its table. Leases' filters are its own; Fleet's are
Expand Down Expand Up @@ -238,16 +237,14 @@ put together from them and draws nothing of its own that one of them already dra
## Layout

- Phone first. Every page works at 360px wide with no sideways scrolling of the page. Under 768px
the sidebar is a bar on top with a menu, and a list page shows its list until something is
chosen and the inspector after (the address says which). Under 768px a table's rows stack into
the sidebar is a bar on top with a menu. Under 768px a table's rows stack into
blocks, each cell a line with its column's name beside it (`data-label`). A wide table, of six
columns or more, stacks the same way under 1100px. Otherwise a table has a fixed layout: a
column of numbers is 8rem wide, the others share the rest, and a long cell wraps or, for an id,
is cut, so a table is never wider than its panel.
- Stat tiles fill the row, each at least 170px wide, and wrap.
- From 1024px a chart and the panel beside it share a row, two thirds and one third; two panels
of the same weight share it half and half.
- A list page with nothing in its address shows its first row in the inspector on a wide screen.

## Focus and keyboard

Expand All @@ -262,9 +259,8 @@ put together from them and draws nothing of its own that one of them already dra

Short, and only where it says where something came from. Colour changes on hover take 120ms
(`--duration`). Moves take 220ms (`--duration-move`) on one easing (`--ease`): the sidebar
widens and narrows; a page rises 10px as it opens; a list slides in from the left and an
inspector from the right, again each time another thing is chosen; a drawer from the right, once, when it opens; the chosen row's bar and a
meter or share bar slide to their new place. Nothing loops, nothing moves on its own, and
widens and narrows; a page rises 10px as it opens; a drawer slides in from the right, once, when it opens; a
meter or share bar slides to its new place. Nothing loops, nothing moves on its own, and
charts never animate. With `prefers-reduced-motion: reduce`, there are no transitions and no
animations at all.

Expand Down
2 changes: 1 addition & 1 deletion e2e/console/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export async function signIn(page: Page, token: string): Promise<void> {

export const NAV = [
{ label: "Overview", path: "/" },
{ label: "Attention", path: "/attention" },
{ label: "Inbox", path: "/inbox" },
{ label: "Fleet", path: "/fleet" },
{ label: "Leases", path: "/leases" },
{ label: "Queue", path: "/queue" },
Expand Down
Loading
Loading