Design system / Organisms
Organism / Intake and review
SubmissionReadingView
SubmissionReadingView presents the same media-led reading layout for reviewing and Catalogue, with caller-owned navigation and optional actions.
Intent and composition
The submissions-owned organism composes BreadcrumbTrail, ContentHeading, SubmissionShowcase in cards mode, compact SubmissionFacts and complete SubmissionNarrative. Featured media determines first-row height beside the information Card; later media share equal-height rows. Narrow containers stack in DOM order. Narrative uses two columns from md. All typography, surfaces, focus and media behavior come from the existing components and theme tokens. It performs no data request, authorization or review-state lookup.
Coordinated concerns: Breadcrumbs, display heading, media cards with companion information, complete narrative and an optional information action.
Server-compatible organism receives authorized detail data, breadcrumbs and an action slot. Review and Catalogue share this markup. CatalogueSubmissionView is the named catalogue instance beside this abstraction; it binds Catalogue navigation without reviewer behavior. Routes and services enforce their separate access policies.
Real component specimen
The actual CatalogueSubmissionView instance delegates to this organism with fictional data and local Catalogue navigation. Media expansion and file information work; no reviewer form, tenant request or pin operation is mounted. The isolated document preserves its h1 outline. The separate product route enforces access.
Real component, fictional data. Product operations are not enabled.
Supported inputs and ownership
| Input | Responsibility |
|---|---|
| submission / submissionLabel | Required permitted SubmissionDetailData and optional singular label, defaulting to Submission. Attachments must already have authorized URLs or null. Empty media and narrative retain their existing states. |
| showSubmissionCode | Optional boolean, defaulting to true. False omits only the standalone label/code eyebrow above the title. The review route selects false; Catalogue retains the default. Breadcrumbs, the h1, configured information labels and actions are unchanged. |
| breadcrumbs | Required BreadcrumbItem array. The caller supplies destinations and one noninteractive current title. The organism groups the trail directly above its h1. |
| action | Optional information-Card action slot. The review route supplies EditionReviewForm in drawer mode. Catalogue omits judgement entirely; an authorized admin can receive the existing CataloguePinControl. No action means no empty footer. |
| CatalogueSubmissionView instance | src/components/submissions/instances/catalogueSubmissionView.tsx binds submission, submissionLabel, catalogueHref and optional action to the organism. It owns no structural styles, reviewer hooks, transport or authorization. The dynamic catalogue detail service requires active tenant access and submitted catalogue membership, not ownership, review assignment, category allocation, round state or deadlines. Owner/manager and reviewer services remain separate. |
| State and accessibility | URL state identifies the submission. Server routes load permitted data. Existing showcase hooks, Radix and Embla retain expansion, keyboard, playback and focus-return behavior. No new Context, client store or request hook is needed for this read-only instance. The article includes one h1, no main and no hidden scoring controls. |
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: Submission reader with a review task; Catalogue submission reader.
Implementation
Repository path: src/components/submissions/submissionReadingView.tsx