Ecto warehouse operations · v0.4
Precise controls for work that has consequences.
This is the browser-based handoff for the Ecto repository. It fixes the interaction model and visual language while leaving room to extend workflows.
Handoff readiness: ready to continue
Foundations and core primitives are coherent. Product-specific patterns still need validation in the new application.
Calm by default
Color carries status and intent; decoration stays quiet.
Explicit state
Loading, invalid, disabled, selected, and focus states are part of the contract.
Stable geometry
Controls and data surfaces should not shift when state changes.
Semantic color
LivePrimary
Success
Warning
Danger
Never consume raw palette values in product UI.
Type roles
LiveInbound reconciliation
Review received units against the expected manifest.
RCV-2026-0719 · LOT-88421
Geist Sans across the interface; tabular numerals align comparable values.
Iconography
LivePhosphor · Regular · 24px default. Compact controls request 16px or 20px explicitly.
Inputs
Labels stay visible, validation sits beside the field, and utility actions share the control boundary.
Search input
LiveType to inspect the active input state.
Built from the FF input-group boundary. Consumers own debounce, URL state, and data fetching.
Input group
LiveUse the external purchase-order identifier.
Prefix and suffix content use one focus boundary.
Input copy
LiveShipment URL
Container ID
The result is announced without moving the layout.
Select
LiveBorderless is for dense filter bars; bordered is the form default.
Slider
LiveFlag matches below this score for review.
Consequential values can be edited numerically as well as dragged.
Date selector
LiveSingle or range on the shared Calendar + Popover. Presets fill common windows; range is the table-filter default.
Form
LiveThe shadcn Field primitive composed with our Input, searchable Combobox, and Button. Label, description, and validation share one structure; controls carry the standard focus wash.
Carded fieldset
LiveA screen-reader legend names the control group while the visible heading stays inside the bordered surface.
Selection
Values are stable domain strings, so reordering options does not corrupt controlled state.
Switch
LiveSwitches change an immediate setting; they do not queue a form choice.
Checkbox group
LiveUse for zero-to-many choices.
Radio group
LiveHandling priority
Use for exactly one choice.
Actions
Button hierarchy follows consequence: one primary action, quiet utility actions, and explicit destructive intent.
Buttons
LiveLoading replaces the label but preserves width expectations in surrounding layouts.
Dropdown
LivePointer proximity moves one shared active surface; keyboard navigation follows the same menu anatomy.
Workflow and feedback
Navigation, progress, reordering, uploads, and system feedback share one compositional vocabulary while product modules keep their domain policy.
Badges
LiveStatic, short metadata. DataGrid uses the same primitive at compact size; actionable values use a button or filter pill.
Breadcrumb
LiveThe final item is the current page; intermediate items remain navigable.
Stepper
LiveUse for a user-controlled process with a known sequence and distinct content at each step.
Timeline
LiveReceipt created
Count submitted
Review decision
Use for immutable events and audit history. The shared status marker keeps completed, latest, and pending states legible in both themes while the rail stays continuous.
Route transition
LiveKey the shared content boundary by route and supply direction. Persistent shell chrome stays still; reduced motion removes the entry transition.
Update thread
LiveConfirm delivery
LatestConfirm departure
Completed workflow steps become newest-first authored notes. Replies stay collapsed per note and support explicit participant mentions.
Sortable
LiveDrag with a pointer or focus a handle and use the keyboard sensor; persist order outside the primitive.
Sonner toasts
LiveUse for non-blocking completion or recovery feedback; validation stays next to its field.
File upload
LiveDrop files here or choose files
Up to 4 files · 12 MB each
The native input remains the accessible source; drag and drop, limits, and removal compose around it.
Data empty state
LiveNo receipts match this view
The current status and owner filters exclude every receipt.
Distinguish a genuinely empty dataset from a filtered result and expose the next useful action.
Skeleton loader
LiveInitial loading keeps the final geometry; background refresh retains readable content.
Data tables
One DataGrid core owns stable anatomy and interaction. Workflow variants compose only the capabilities and domain policy they need.
DataGrid · selectable browse
Live3 rows · 0 selected
Columns fit their rendered content and save changes automatically. Click row dead space to expand; use the checkbox to select. Hover a column header to reveal its resize handle.
- RCT-240718-084Northstar Apparel
- Status
- Receiving
- Progress
- 1,840 / 2,400
- Owner
- M. Chen
- Due
- Today · 15:30
- RCT-240718-091Vela Commerce
- Status
- Blocked
- Progress
- 612 / 612
- Owner
- J. Ortiz
- Due
- Blocked
- RCT-240719-011Common Goods Co.
- Status
- Receiving
- Progress
- 328 / 960
- Owner
- A. Singh
- Due
- Tomorrow · 11:00
Cell range selection
CandidateClick and drag across cells, then copy the displayed values alone or include the visible column headers. The selection pastes into spreadsheets as tab-separated rows.
Drag across the table to select a rectangular range.
- Ribbed TankSKU-12018
- Location
- A-12-04
- On hand
- 240
- Allocated
- 72
- Available
- 168
- Unit cost
- $12.50
- Linen ShirtSKU-12041
- Location
- A-14-02
- On hand
- 160
- Allocated
- 48
- Available
- 112
- Unit cost
- $18.25
- Canvas ToteSKU-12106
- Location
- B-03-08
- On hand
- 180
- Allocated
- 36
- Available
- 144
- Unit cost
- $9.75
- Utility OvershirtSKU-12144
- Location
- B-07-01
- On hand
- 96
- Allocated
- 24
- Available
- 72
- Unit cost
- $24.00
- Merino BeanieSKU-12203
- Location
- C-02-06
- On hand
- 64
- Allocated
- 16
- Available
- 48
- Unit cost
- $11.40
Header topologies
Flat and grouped headers share the same resize contract. Group captions own only their caption boundary; leaf headers retain the column boundaries operators resize.
Flat header
Grouped header
Core owns
- Anatomy, focus, alignment, sizing, overflow, and responsive structure.
- Loading, empty, error, selection, and accessibility vocabulary.
- Extension points for pagination, virtualization, and persistence.
Variants own
- Columns, domain formatting, identity, and status language.
- Queries, permissions, validation, audit consequences, and recovery.
- Which capabilities are enabled for a specific workflow.
This candidate demonstrates the shared contract: stable identity, sorting, selection, resizing, row actions, density, and a responsive record-list presentation.
Cards and surfaces
Cards group one decision or object. Elevation communicates stacking context, not importance.
Relative surface ladder
LiveComponents lift from their current substrate, so a menu opened in a dialog remains visually distinct.
Disclosure and views
Accordions reveal supporting detail; segmented controls switch compact peer views; tabs navigate content sections.
Accordion
LiveThe full header remains the target; focus and expanded state stay visible.
Collapsible
LiveUse for one independently toggled supporting region. The trigger names what will be revealed; Accordion remains the pattern for peer sections.
Segmented progress
Live3 / 5 checks complete
Use for a small, fixed set of equal completion gates. The feature owns the visible summary and domain copy.
Segmented control
LiveUse the bounded pill treatment for compact peer views, including views over a data table.
Tabs
LiveUse underline tabs for content-section navigation. Outgoing content leaves layout immediately; incoming content uses the shared short entry transition.
Overlays
Tooltips name unfamiliar controls. Dialogs interrupt only when a focused decision must resolve before work continues.
Tooltip
LiveA short delay prevents incidental pointer movement from producing noise.
Dialog
LiveTitle and consequence precede the decision; the close control remains available.
Sheet / drawer
LiveSide-anchored task surface on the Dialog primitive: focus trap, Escape, and focus restoration are inherited; motion is open/close asymmetric and reduced-motion safe.
Scroll area
Desktop gets quiet custom scrollbars with a stable content gutter; touch-primary devices retain native momentum without native scrollbar chrome.
Scrollable activity
LiveThe specialized data-grid scroller remains separate because grid geometry has different requirements.
Feedback & display
Persistent, non-toast feedback plus lightweight status and key-value display primitives that product surfaces reach for constantly.
Alert / banner
LiveSync scheduled
The next platform sync runs at 14:00.
Reconciliation applied
4,000 units committed to allocation.
3 lots need review
Quantities fall below the confidence threshold.
Platform data unavailable
The last fetch failed. Retry to continue.
Inline, persistent feedback. Info and success announce politely; warning and error assert. Not a toast.
Status dot
LiveA lightweight state marker beside text, for dense rows where a full badge is too heavy. Pulse draws attention to live states and is hidden under reduced motion.
Error state
LiveCouldn't load platform data
The connection timed out. Your unsaved work is preserved.
A panel or table that failed to load, with a recovery action. Distinct from an empty state (no data) and from a toast (transient).
Description list
Live- Deal
- Flamingo Estate · 27811
- Buyer
- TJX × Pluto LA
- Carrier
- Maersk Line · container MSCU-728194-2-long-identifier
- Units
- 4,000
Semantic dl/dt/dd for detail panels and the right rail. Horizontal by default; opt into truncation per value.
Pagination
LiveStandalone list navigation for surfaces that are not a DataGrid. 44px targets, page-size control, and a live range readout.
Handoff contract
The new repository should carry the system as source code and a living route, rather than a detached screenshot or one-time component dump.
Copy foundations first
Bring over global semantic tokens, Geist, the icon wrapper, and motion constants before components.
Keep this route in-app
Mount the browser at /design-system and exclude it from production navigation or gate it by environment.
Carry the written contracts
Keep DESIGN_SYSTEM.md and docs/design-system/* in the repository so contributors and coding agents share the same rules and copy manifest.
Promote through evidence
A pattern becomes stable after it works in at least two real workflows and passes keyboard, screen-reader, dark-mode, and reduced-motion checks.
Separate policy from anatomy
Shared components own structure and interaction; product modules own permissions, validation policy, and domain copy.
Candidate state gate
Record evidence for every state before promoting a reusable pattern.
- Interaction statesDefault, hover, pressed, focus-visible, disabled, loading, empty, and error states.
- Light and darkSemantic contrast and hierarchy remain legible in both supported themes.
- Reduced motionMeaning survives when non-essential transitions and animation are removed.
- Narrow widthThe primary task and recovery actions remain usable without hidden overflow.
- Long contentLong labels, values, translated copy, and dense records wrap or truncate deliberately.
- Keyboard and screen readerNames, roles, focus order, announcements, and keyboard interaction match the visual UI.