OSS workspace presentation contract
Summary
For contributors: the presentation contract for the local workspace interface. It is not a roadmap or a release guarantee; installed behavior is described in the user guides.
This contributor reference governs changes to the local OSS interface. It is not a product roadmap or a guarantee that a proposed layout is released. For the installed application, use the versioned user guides.
Ownership and structure
- Projects group scientific work. Data selection, editable workflow state and retained run evidence are different objects; do not substitute one for another.
- A navigation action changes the view. It must not execute a workflow, mutate a dataset, change an exclusion or enable data sharing.
- Use the existing page header, context row, tabs and action components. Keep the selected object's name and compact scientific context visible.
- Use semantic theme tokens and the shared plot theme. Do not introduce component-local color authorities.
- Preserve keyboard access, visible focus and readable layouts at narrow widths.
- Storage recovery belongs to Settings, not the scientific project dashboard. Legacy navigation must redirect without initiating reclamation.
Plate maps
Hover updates belong to the details card, not the cell grid. Keyboard focus keeps its details through automatic scrolling while the focused well remains visible; a stationary pointer must not replace that context during the pan.
The shared format registry (src/spectra_sherpa/data/plate_formats_v1.json)
owns plate geometry and coordinates. API schemas, planning, sample tables and
the shared plate renderer derive from it. Keep legacy tables without an explicit
format on their historical 96-well interpretation; overlapping coordinates do
not establish another plate's size.
Use fixed-size wells and text inside a two-axis scroll viewport. Row labels stay at the left and column labels at the top, aligned with their wells while panning. Do not shrink text to fit high-density plates or leave a floating tooltip anchored to a well that has scrolled away. Format changes must not silently hide or discard existing assignments.
Format admission covers planned wells and retained acquisition matches through the same coordinate authority used by measured-sample tables. Parse distinct well coordinates once when deriving format choices; unrelated field edits must not repeat that work. Keep a malformed current assignment repairable, but do not admit it for publication. A refused synchronization proposal is a conflict, not a publishable change or evidence that the populations are synchronized.
Data source subtabs (Import, Synthesis, Upload, Library and Multi-well) end in the existing My Dataset action; My Dataset alone offers the Workflow handoff. Keep Synthesis/Library Guide and Upload Load beside that header action, not in separate toolbar rows. Library's filtered entry count belongs in the subtitle; Database precedes its source dropdown. Import's selected title belongs in the context strip; its preview sections align with the catalog rather than repeat the title. Show the actual save-destination name in each source subtab's context, derived from the same value as its save handler. Multi-well exposes its configured-well count and dirty state there; a clean plan needs no disabled Save/status row.
Deploy follows the same header, subtitle and subtab structure as Runs. Saved models belong to Application; New Watch belongs to Folder Watches. Prediction History shows retained predictions. Hosted deployments keep the Workbench handoff and do not expose local watch controls.
Scientific context and copy
Runs has one workspace header, context strip and subtab navigation. Reuse
WorkspaceState for empty/loading/error surfaces; Inspect and Compare use the
same page variant when no result is selected. Models groups Local Model History,
Saved Models and Imported Models in the existing collapsible Panel component,
without a second inner title or border. Use the same compact PrimeVue action
buttons as History; panel grouping must not hide a selected model's detail or
change scientific evidence, permission checks, pagination or export contents.
Inspect links each produced artifact to its exact selection under Models;
promotion review belongs to Models, not the run's inspection actions.
Inspect navigation actions share the Runs header's Export row and responsive
action menu, including contributed Optimize actions. Batch uses the same
collapsible Panels for execution mode, workflows and dataset definitions; these
start expanded and inherit the shared surface theme. Summary, Results and Validation use independent collapsible Panels;
section navigation does not change the identity or content of retained evidence.
Keep compact fitted-population context and consequential limitations outside
those sections. PCA uses "fitted samples", not a predictive calibration label;
an empty upstream pretreatment chain says nothing about scaling inside the model.
Descriptive source summaries can report finite coordinate bounds and recorded catalog bounds, with their origin and missing-coordinate counts. They do not authorize rendering or weaken the strict plot-axis alignment validator.
Keep population, units, exclusions and consequential warnings visible.
Put methodology behind contextual ? help, and short explanations in hover.
Omit redundant prose. A working plot is not evidence that its Data View works.
Lead results pages with plots and a compact model/population strip; put exact tables and implementation identity under named disclosures. Keep unavailable CV, requested-versus-fitted component differences, and calibration-only limitations outside collapsed details. Successful QC checks may collapse together; actual warnings must remain visible. Empty downstream synthesis sections may start collapsed, but users must still be able to open them without a forced wizard.
Use one accessible MethodHelp control for each coherent explanation. Do not
replace removed paragraphs with hover-only instructions or a second help system.
Preserve scientific scope in offline reports; reducing setup-page copy does not
authorize removing evidence from exports.
Technical IDs and digests remain accessible in details or copy actions; use readable names for headings. Do not infer scientific identity from a display label, a filename or matching row counts.
State and operations
Loading, empty, unavailable and failed states have different meanings. Preserve useful context during reads, reject stale responses, and offer a scoped retry. Do not retry computation or a write merely because the user changed views.
Report and Inspector surfaces display retained evidence. Changing a current workflow must not rewrite a saved run. Accepted background work retains its own project/object identity; navigation is not a cancellation command.
Product boundary
The OSS shell can host separately supplied extensions through its declared contract. It must not import hosted implementation or represent an unavailable managed capability as a working local control. Product-boundary notes should be factual and brief.
Verification
Use the scientific result contract, theme authority, and scoped-state contract. Check both tables and plots, exact identities and values, units, save/reopen and exports. A screenshot alone cannot establish scientific correctness.