Skip to main content

Module fixtures

Module fixtures 

Source
Expand description

Fixture data for storybook stories.

Stories must not hand-roll their own mock devices / workspaces / recordings inline. Define each fixture once here so multiple stories share a single source of truth — when UI-08 / UI-14 / UI-19 land and refine these structs, every consuming story sees the updated shape without touching its own body.

Fixtures return owned values (not signals) so callers can freely clone or mutate without leaking app state into presentational components.

Re-exports§

pub use contact_sheet::DeviceFixtureSet;
pub use contact_sheet::UiFixtureSet;
pub use contact_sheet::default_ui_fixtures;

Modules§

audio_apps
Audio-app fixtures — apps emitting audio that the system-audio picker can target (M-UI.9 / AUT-129).
contact_sheet
Contact-sheet aggregator (M-UI.22 / AUT-142).
cursor
Cursor Studio fixtures — named cursor styles. Filled in across UI-20.
devices
Device fixtures — cameras, microphones, system-audio sources. Filled in across UI-08 (CaptureSourceRow) / UI-09 (SystemAudioPickerList). For UI-00 we ship minimal placeholder shapes so the smoke test sees non-empty collections; UI-08 / UI-09 will widen the fields.
editor
Editor fixtures — timeline tracks, inspector property rows, dope-sheet keyframes. Filled in across UI-16..19. The dope-sheet fixture lifts the previously-inline sample_tracks() so multiple editor stories can share it.
library
Library fixtures — recordings list, storage meter values. Filled in across UI-14 / UI-15.
recorder
Recorder fixtures — capture mode, source selection, on-screen options, recording state. Filled in across UI-06..13. Minimal scaffolding for UI-00 so the smoke tests pass.
shell
Shell fixtures — nav rail items, workspace badge, user avatar (M-UI.2 / AUT-122).
workspaces
Workspace fixtures — list of workspaces the workspace switcher menu displays. Used by UI-05 (WorkspaceSwitcherMenu).