Boise Today project

Boise Today / Design system

Documentation v0.1 · Boise publication · Townwell platform

Design system contents

Components

Publication control

Make publication availability a distinct explicit state, with pending feedback for its specific consequence.

On this page

Purpose and placement

Make publication availability a distinct explicit state, with pending feedback for its specific consequence.

Anatomy

Anatomy
PartBehavior
SwitchNative checkbox, custom visual track and thumb.
State labelPublished by default or caller-provided label.
Pending feedbackPublishing, Unpublishing or Saving depending on submission mode.

Configuration and contract

Configuration and contract
Input or decisionImplementation
AdminPublicationControldefaultChecked, disabled, label and native input props; controlled checked/onChange are excluded.
autoSubmitCalls the nearest form requestSubmit when the value changes.
Form pendingDisables the control, exposes aria-busy and updates polite status text.

States and feedback

  • Published, unpublished and disabled captured.
  • Pending feedback is source-defined; no actual publication is attempted.

Usage rules

  • Use autoSubmit only when the containing form represents that deliberate state change.
  • Do not equate the local switch position with confirmed server publication.
  • Keep featured placement, distribution classification and scheduled timing separate.

Accessibility and verification

Source checkbox has keyboard support and peer focus outline. Verify spoken checked state, pending announcement and failure rollback in an isolated transactional test.

Source references

Source references
FileResponsibility
components/admin/admin-publication-control.tsxAudited Townwell implementation; use this file when extending this interface.
components/admin/story-editor-form.tsxAudited 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.

Publication · Component detail · Light · Desktop · 1920 × 198 px

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