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#
constPRIMARY_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