Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/shell/domain/PrimaryScreens

Pure (DOMAIN-001): the five primary screens of the top bar, Features / Pages / Components / Git / Tests (owner decision 2026-09-20, docs/design/ia-five-screens.md).

Cockpit client (features), v0.8. Source: ui/client/features/shell/domain/PrimaryScreens.ts.

Variables#

PRIMARY_SCREENS#

const PRIMARY_SCREENS: PrimaryScreen[]

Defined in: ui/client/features/shell/domain/PrimaryScreens.ts:10

Functions#

primaryScreenForPath()#

primaryScreenForPath(pathname, screens?): PrimaryScreen | null

Defined in: ui/client/features/shell/domain/PrimaryScreens.ts:19

The primary screen whose routes include pathname, or null (Settings, Help, Local model...).

Parameters#

pathname

string

screens?

PrimaryScreen[] = PRIMARY_SCREENS

Returns#

PrimaryScreen | null