Boise Today project

Boise Today / Design system

Documentation v0.1 · Boise publication · Townwell platform

Design system contents

Components

Media upload workbench

Prepare a local batch with metadata before requesting actual provider upload and registration.

On this page

Purpose and placement

Prepare a local batch with metadata before requesting actual provider upload and registration.

Anatomy

Anatomy
PartBehavior
SelectionNative image file chooser.
Pending itemObject-URL preview, dimensions and editable metadata.
MetadataTitle, subject, context, location, caption, alt, credit and public-library exclusion.
Batch feedbackReady, uploading, saved or error per item.

Configuration and contract

Configuration and contract
Input or decisionImplementation
MediaUploadWorkbenchClient-owned local queue; no props.
File acceptanceImage MIME filtering and local dimension decoding.
Provider boundaryUpload URL/token, file transfer and asset registration occur only during the save/upload operation.

States and feedback

  • Empty chooser captured.
  • Local ready queue can be demonstrated without provider writes.
  • Uploading, saved and error require a safe provider integration test.

Usage rules

  • Treat upload and registration as separate operations that can fail independently.
  • Keep recoverable item-specific errors and edited metadata.
  • Do not expose upload credentials in documentation or network excerpts.

Accessibility and verification

Check chooser labeling, preview alternatives, item remove actions and announced progress/error state. File-selection appearance alone is not a successful upload.

Source references

Source references
FileResponsibility
components/admin/media-library/media-upload-workbench.tsxAudited Townwell implementation; use this file when extending this interface.
lib/media-library.tsAudited Townwell implementation; use this file when extending this interface.

Examples from the app

Actual Boise Today and Townwell UI with synthetic editorial, business, review, media metadata and analytics. Existing Boise imagery; no live data changes. Captured at 2× resolution or higher. Select an image to inspect it full size.

Media Upload · Screen · Light · Desktop · 2880 × 2000 px
Media Upload · Screen · Light · Desktop · Prepared Metadata · 2880 × 2000 px
Media Upload · Screen · Light · Desktop · Prepared · 2880 × 2000 px
Media Upload · Screen · Light · Desktop · Prepared Full Page · 2880 × 3162 px

Source audit: 2026-10-07 · Revision ce8bc72b96da · Documentation v0.1