Skip to content

panel.terminalConfig.cardFields[].parts[].context ​

← Back to the parameter index

Accepts "materialInstance" or "status". "status" shows the localized operation status label, the same as the card status badge (for example Готова / Ready, Пауза / Paused); an unknown status value appears unchanged, for the operation of each card. "materialInstance" is not resolved in card rows, which have no selected-operation context, so it always shows —; use it in headerFields or footer fields.

This is a compact property lookup. Use the contextual guide below for the complete feature model, configuration sequence, interactions, examples, and limitations.

Context
operatorTerminal panel
Accepted value
"materialInstance" | "status"
Required
No — When choosing a terminal-computed part instead of a text or attribute part.
Default
No documented default.

User scenarios

  • Present operation context while trying the isolated operator terminal demonstration.

Related parameters

Contextual guide and evidence

  • Contextual guide: Open the complete human guide
  • Source: apps/panel/src/features/panels/variants/operator-terminal/types/index.ts, symbol TerminalContextKey
  • Example coverage: Complete — The guide explains that status shows each card's status label and materialInstance shows — on cards, and routes the serial/batch number to header or footer rows.
  • Demo coverage: Partial — The fixture does not use context parts in card rows. Trying one requires a source configuration change: status then shows each card's status label, materialInstance shows —. Open the runnable demo .

The panel source named above remains authoritative for runtime behavior. This secondary reference page is generated from the reviewed parameter matrix and does not replace the contextual guide.