Files
NODEDC_DEVICE_CORE/docs/DEVICE_CORE_UI_CONTRACT.md
T
2026-09-30 20:53:19 +03:00

2.2 KiB

Device Core: UI and UX contract

Device Core remains a separate application with its own companies, projects, device registry, infrastructure, access rules and management functions. Mission Core is the reference for interaction and presentation, not its domain model. The existing home video and media configuration are preserved.

Components

Consume the pinned NODEDC_DESIGN_GUIDELINE packages. Use ResourceRow for registries, FeatureSettingsWindow for entity settings, SettingsCard for coherent forms, and canonical controls and status indicators. Domain wrappers only arrange these exports; they must not reproduce their visual styles. Avoid nested canvas surfaces. Keep refresh beside close in the window header. Expand related items in place instead of replacing the settings page with a back-navigation stack.

VPS and projects

Existing Device Core projects are the list shown under a VPS. Connecting a project requests a contour on that VPS using a stable project-derived identity, then saves the link. Retries reuse that identity. No second project registry is created. Explicit linking is available for a pre-existing remote contour.

Applications and their keys expand under their project. Creating an application requires its human-readable name only. Device Core generates its technical ID; VPS generates the credential. A lost response retains the same creation request ID in the open form. The status refresh exposes partially completed issuance; use explicit reissue when a one-time secret was lost. Key IDs are public IDs, never secrets. Issued means a credential exists, not that the client is online. Legacy Mission Core access is visible as a compatible connection.

Acceptance

  • Check all five application sections and their empty, populated and error states.
  • Verify project switches retain the selected section while clearing entity state.
  • Verify project, host, contour and credential isolation with unauthorized actors.
  • Verify inline expansion, keyboard focus, Escape, top refresh and narrow layouts.
  • Verify the existing home video/media survives releases.
  • Full B2 command/settings parity remains a distinct domain integration task; a UI release or successful deployment must not be recorded as its completion.