Design system / Organisms
Organism / Review-round workspace
RoundNavigation
RoundNavigation combines numbered left-side destination tabs with separate management for creation and ordering.
Intent and composition
The workspace passes records and commands directly. Selected destinations remain URL state. RoundTabs displays numbers with full accessible round names and aria-current at every viewport, including one-round Editions. Native links preserve view/group queries and unsaved-change guards, while dropping roundNav. Tab/Enter and optional ArrowUp/Down/Home/End focus navigation retain native activation. A compact cog with the accessible name Manage Review Rounds sits at the rail's bottom, not the viewport. Many rounds can increase rail height without stretching the summary card. Its separate full-width area reveals Add and drag handles. Close/Escape keeps creation drafts mounted and returns focus to the management button. The real public example uses fictional local destinations.
Coordinated concerns: Numbered round destination tabs to the left of the card at every viewport, with secondary full-width management.
Receives workspace state/scope through props. RoundTabs uses native destination links with full accessible names and aria-current, including a single tab for one round. Manage Review Rounds occupies the tab footer. Management is local and separate from the narrow rail; selection stays URL state. This is a feature organism, not a generic navigation template.
Authorized-context integration
Requires the workspace's operation props and actual route context. RoundListItem and RoundTabs have safe live examples. Do not copy management markup to simulate authorized operations.
Supported inputs and ownership
| Input | Responsibility |
|---|---|
| state / scope / currentRoundCode | Rounds, creation draft, commands and feature identifiers from the owning workspace. |
| URL params | Selected round destination; local state owns the management disclosure. |
This is an integration summary, not a replacement for the implementation's complete prop types. A disabled control or hidden destination does not enforce permission.
Using it in a page
Integrate the section through its supported props and context requirements. Routes supply permitted data; instances bind product copy and behavior; templates arrange slots. Keep feature hooks and operations with their feature owner. Generic layouts must not load business data or enforce product policy.
Related page assemblies: Edition review-round workspace.
Implementation
Repository path: src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/roundNavigation.tsx