Skip to documentation

Design system / Organisms

Organism / Review-round workspace

RoundSubmissionsView

Read review results before opening occasional configuration.

Edition review resultsOrganism

Intent and composition

This edition-owned organism composes WorklistControls, SubmissionGrid, SubmissionCard, Dialog and ReviewerResults without duplicating them. Cards share one-through-four equal columns based on available width, including beside sidebars. Cards show decorative hero thumbnails, or the shared themed placeholder when artwork is unavailable. Tables remain thumbnail-free. Brand, agency, category, zone, country, review count and average remain visible. Advance and Show reviews occupy the card action slot outside its optional detail link. Cards open vertically stacked reviews in a viewport-bounded, scrollable modal; tables keep inline disclosure. Table and category grouping remain available. The product adapter binds view/group URL parameters. Local state owns table disclosure; the shared Dialog owns modal state, focus trapping, Escape dismissal and trigger focus restoration. A copied or opened submission URL never grants access.

Coordinated concerns: Table/card results, category grouping, advancement, card review modals and inline table reviewer details with identities, criterion/weighted scores and comments.

Controlled presentation and authorized records arrive through props. RoundSubmissionsPanel binds URL presentation; ReviewerResults renders supplied detail. Mutation callbacks remain with the feature hook. Public specimens use fictional local data only.

Real component specimen

Actual results organism and RoundStatsStrip with fictional reviewers and local-only advancement. Switch table/cards to compare hero artwork, a missing-artwork placeholder and thumbnail-free rows; group categories and open scores/comments. The first submission demonstrates multiple reviews and long content; the second has no reviews. Cards open a modal; Close or Escape restores trigger focus. Tables retain inline expansion. Pending previews an immediate optimistic change with only that row disabled and no popup; mutation error retains rows and counts at their confirmed values with actionable rollback feedback. These selectors are local previews, not real requests or asynchronous saves. Error demonstrates a failed load with no rows and unavailable statistics. Empty represents a successful empty load. No tenant requests, real identities or authorization are present.

Live preview

Real component, fictional data. Interactive callbacks remain local.

Fictional data. All changes are local to this specimen.

Review link/console/fictional/programs/example/editions/example/rounds/sampleOpen
Submissions:
2
Scored:
1 / 2
Advanced:
0 / 2

Submissions (2)

AdvanceTitleBrandCategoryZoneCountryAgencyReviewsAvg. scoreDetails
A clearer journeyExample brandCreative craftEURFranceExample studio27.0
An emerging ideaExample brandCreative strategyEURItalyExample studio0—

Supported inputs and ownership

RoundSubmissionsView input summary
InputResponsibility
submissions / submissionPath / submissionLabelPluralAuthorized result records, optional detail base path and current terminology. posterImageUrl is a nullable server-resolved URL for the first ordered, non-deleted image attachment, including when video precedes it. The service resolves artwork only after management, round and progression checks; signing failure retains the results without artwork. Scores contain permitted reviewer identities, comments, weighted score and criterion values. Null scores are not zero.
submissionReturnToOptional list destination carried into detail links. RoundSubmissionsPanel binds the current round URL and presentation; authorized detail/edit routes validate it before offering return navigation. It never grants access. Public specimens omit route context and make no tenant requests.
presentation / onPresentationChangeControlled table/cards and category grouping. WorklistControls exposes pressed buttons and a labelled checkbox. The product uses URL state; this specimen uses local state. Card modals portal inside the nearest owning tenant-theme wrapper so surface and focus tokens remain inherited. The specimen supplies a fictional theme scope without tenant requests.
loading / error / advancingIds / onAdvanceSubmissionExplicit loading/error and per-row pending advancement. useRoundSubmissions updates the checkbox and Advanced count optimistically, disables only the pending row and blocks duplicate requests. Success keeps the value. Failure restores that row's previous confirmed value and count, names the submission and provides retry/refresh guidance in the inline alert. There is no separate loading popup. Late mutation responses cannot alter another or restored scope. Server permissions and validation still decide each request. A failed load with no retained rows shows the error without an empty-round claim or heading count. A successful empty load shows zero and the empty message. RoundDetail marks RoundStatsStrip unavailable when an error has no retained rows. The owner supplies mutation commands; the view performs no request.
ReviewerResultsInternal presentation molecule with three wrapping content rows per review: name and email; weighted score, criterion values and recommendation; full comment. Long identities, criterion labels and unbroken comments wrap without truncation. Missing identities, unscored reviews and absent comments retain explicit fallbacks. Cards use the shared Dialog trigger with aria-haspopup=dialog, an accessible title and description, and a Close button. Tables use aria-expanded/aria-controls for inline disclosure. It adds no review edit or exclusion policy.

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.

Implementation

Repository path: src/app/(tenants)/console/[tenantCode]/admin/programs/[programCode]/editions/[editionCode]/review-rounds/components/roundSubmissionsPanel.tsx

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