Advanced · Inspector

Sleep session list

A runtime-dependent list that reads sleep sessions from Android repositories and exposes an edit entry point.

Reviewed
On this page

SleepSessionList · Advanced · Inspector · preview

A runtime-dependent list that reads sleep sessions from Android repositories and exposes an edit entry point.

Android and KMP are declared rendering targets in the contract. Editor scope: Legacy schema.

AI authoring: contract flag not set; excluded from Stage 3 screen generation — no AI contract flag. Actual selection depends on the generation route and research input conditions.

Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.

All components

Preview and property controls

Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.

Usage guidance

Use it for

  • Displaying stored sleep start, end, and duration values

Avoid it for

  • General time lists
  • Screens without the sleep repository

Anatomy and accessibility

  • Sleep duration

  • Start and end times

  • Edit action

  • Give the edit icon an accessible name that identifies the target session.

Props contract

Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.

Key · labelType · constraintsRequiredRuntime defaultExampleSupport
onEdit · Edit action array (documentation only)actionArrayNoNo documented default—Android / KMP

Binding

This static content component has no default binding.

Supported actions

EventAndroidKMP PreviewNotes
onEditYes—Android injects the selected sessionId into bind and dispatches selectSleepSession. The KMP preview only displays mock data and does not execute the edit action.

Runtime notes

  • The KMP preview uses mock data. Real values load in the Android runtime.
  • The KMP preview displays three fixed mock sleep sessions.
  • Android uses the sleep repository and edit date from user state.
  • Preview sessions are not collected study data.

Contract verified: 2026-09-02 · schemaVersion 2.

Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.

Original detail reference

Documentation evidence

Working-tree baseline · source paths · HEAD 8213e6b7

  • docs-site/lib/builder-components.json
  • shared/contracts/ui-component-catalog.json
  • shared/contracts/ui-component-guidance.json
  • app-electron/src/shared/componentCatalog.mjs
  • app-electron/src/shared/designCapabilities.mjs
  • app-electron/src/shared/screenAuthoring.mjs
  • app-electron/src/main/llm/screenPipeline.ts

References

DTRAC BuilderYonsei University · Bongshin Lee’s research team