Skip to documentation

Design system / Organisms

Organism / Review-round workspace

RoundDetail

RoundDetail combines the selected round's settings, rubric, review destination, counts, reviewers and submission progression panels.

Route-owned review roundsOrganism

Intent and composition

The route-owned assembly receives the selected round and commands directly from ReviewRoundsWorkspace. Authorized initial results arrive from the server. OverviewCards places RoundDetailHeader beside RoundReviewLink at medium widths. Numbered destination tabs remain LEFT of the summary; the phone Review Link spans the full workspace below the rail and summary. Results and settings span the full workspace width below. Review cards have no decorative gradient or image configuration. The body retains editable description, effective open state, deadline, saved reviewer count and existing Submissions/Scored/Advanced facts. Scored is not a completed-review total; no unavailable aggregate report is invented. Descriptions are visually clamped without changing saved/editor text. Saved invitation counts and Manage invitees stay with Copy/Open; the shared drawer contains invitation entry and guidance. Activation saves immediately; deadline date/type save separately. Program locks disable metadata/deadlines, not activation. RoundSettings keeps hidden drafts, errors and saves mounted. Existing score restrictions, confirmations and unsaved guards remain. A passed Hard Deadline can close an active round. useMissingRoundRedirect owns missing-round recovery, not authorization. No feature Context remains.

Coordinated concerns: Responsive gradient-free info/link card pair beside numbered round destinations, existing counts/invitations and full-width results with secondary RoundSettings below.

Receives the selected round, workspace state and authorized options through props. Reviewer/submission hooks retain their lifecycles; the workspace owns URL selection and missing-round recovery. No feature Context remains.

Real component specimen

The isolated specimen imports the actual OverviewCards, RoundDetailHeader, RoundReviewLink, RoundReviewersPanel and RoundStatsStrip with fictional Juror/Jury terminology. It shows one h1 inside the overview composition, not a page-owned main landmark. Jury: 2 and Invited Jury demonstrate explicit plural labels. Manage invitees opens a read-only fictional directory; mutations and info editing are unavailable. Copy remains available. It does not mount authorized RoundDetail hooks, reviewer mutations, results or settings. RoundSubmissionsView has its own fictional local specimen.

Live preview

Real component, fictional data. Product operations are not enabled.

Supported inputs and ownership

RoundDetail input summary
InputResponsibility
round / previousRoundIdsInitial round and progression context.
RoundDetailHeader roundNumber / statisticsThe workspace supplies current ordered position, including optimistic reorders; the header defaults to sortOrder + 1 for independent use. The number supplies the read-only Round label, not artwork. The statistics ReactNode is supplied, not fetched by the header.
OverviewCards / RoundDetailHeader / RoundReviewLinkEdition-owned slot template, route-owned info organism and named link adapter. Optional navigation sits beside the summary. Equal flexible card columns start at medium widths; on phones the link spans the full workspace below the rail and summary. Results/settings remain full-width below. There is no decorative gradient. The body owns title, description and availability. OverviewEditableField replaces only the selected field in place. Availability retains its disclosure/save contract. Identity/statistics occupy ruled read-only facts. Bounded triggers and shrinkable text retain long names. Cards follow content height. RoundReviewLink accepts presentation=card and children for the mounted invitation panel; inline stays its default. Labeled icons supplement text without changing count meanings.
RoundReviewersPanel within Review LinkThe authorized panel exposes compact Total, Linked members and Unclaimed controls beside Manage invitees, without an outer disclosure or nested panel frame. Whole controls wrap naturally. Explicit singular/plural terms remain independent: Juror/Jury produces Invited Jury, Add Jury and Invite Jury. Reviewer/Reviewers are the omitted-label defaults. The hook retains drafts when labels change or the shared drawer closes; server operations retain authorization.
state / options / initialSubmissionsDirect operation state, authorized scope/capabilities and initial results. Server pages retain access checks.
reviewer/submission hooksSection-specific loading and mutation contracts.
useMissingRoundRedirectOwns the missing-round navigation effect; existing rounds do not trigger recovery.
RoundSettings readinessThe colocated useRoundSettingsReady hook enables the JavaScript-only disclosure after hydration. Before readiness the trigger is disabled and its section is aria-busy. Native activation, retained hidden drafts, Escape/focus return, save conflicts, locks and deletion confirmation remain unchanged. No request, Context or store is added.
Result availabilityA request error without retained rows suppresses the empty-round claim and heading count, and marks RoundStatsStrip unavailable. Successful empty loads show zero counts. Advancement errors retain rows and counts.

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/roundDetail.tsx

All organisms
Current components and theme tokens. Fictional example data. Source views refresh on deployment; authors maintain contract notes.