Line

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

ui/client/features/pages-editor/components/SuggestedNextSteps

Cockpit client (features), next. Source: ui/client/features/pages-editor/components/SuggestedNextSteps.tsx.

Functions#

SuggestedNextSteps()#

SuggestedNextSteps(__namedParameters): Element

Defined in: ui/client/features/pages-editor/components/SuggestedNextSteps.tsx:19

The inspector's "Suggested next steps" list on a newly created page (mock ia-pages-next, issue): the inline Generate control, wired to the three actions named in the issue. Shown only via the caller's own "looks freshly created" check (InspectorPanel: no props wired yet) — quiet by default, per the slot contract's "only on the selected item".

Props#

Prop Type Required Default Description
feature string Yes —
file string Yes —
nodeId string Yes —
contentHash string Yes —
onSaved (tree: PageTree) => void Yes —

Returns#

Element