Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/pages-editor/domain/PageCommands

Pure (DOMAIN-001): the Ctrl P quick-open entries — one "Go to page" command per page, so opening the palette and typing a feature or file name jumps straight to it (the same registry every other screen's commands use,...

Cockpit client (features), next. Source: ui/client/features/pages-editor/domain/PageCommands.ts.

Type Aliases#

PageCommandSpec#

PageCommandSpec = object

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:4

Properties#

feature

feature: string

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:9

file

file: string

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:10

group

group: string

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:8

id

id: string

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:5

keywords

keywords: string[]

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:7

title

title: string

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:6

Functions#

pageCommandSpecs()#

pageCommandSpecs(pages): PageCommandSpec[]

Defined in: ui/client/features/pages-editor/domain/PageCommands.ts:14

One spec per page, ids stable on feature+file (safe to re-register on every list load).

Parameters#

pages

object[]

Returns#

PageCommandSpec[]