Skip to documentation

Design system / Organisms

Organism / Intake and review

SubmissionDetailView

SubmissionDetailView presents one submission's identity, metadata, narratives and attachments with optional action and context slots.

SubmissionsOrganism

Intent and composition

The server-compatible owner/manager reader composes SubmissionHeading, Badge, inline SubmissionFacts, SubmissionNarrative and an ordered gallery. Review and Catalogue use the separate SubmissionReadingView organism, with shared showcase cards and compact facts. This ordinary reader retains its original layout and optional media slot. Neither a saved reference nor publication guarantees source availability. The view does not check storage.

Coordinated concerns: Record identity, metadata, narratives, attachments and contextual action slots.

Server-rendered view receives permitted data and action/context/media slots. Owner/manager readers keep inline facts and the default gallery. Review and Catalogue use SubmissionReadingView instead. Both readers reuse SubmissionNarrative; surrounding policy and tasks remain caller-owned.

Real component specimen

Actual default detail view with inline facts, fictional narrative and an unavailable attachment with unknown size. SubmissionFacts also has a live compact-card specimen under Molecules. No private asset URL or source request is used. An isolated base-light-theme document preserves its own h1 and media outline.

Live preview

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

Supported inputs and ownership

SubmissionDetailView input summary
InputResponsibility
submissionMapped permitted detail data with resolved attachments.
actions / contextOptional caller-owned contextual slots. The ordinary detail route retains Edit and adds CataloguePinControl only for existing authorized Admins and catalog-listed submissions. Pin to top of catalog, Unpin, saving/error feedback and refreshed state reuse the existing catalogue command; the reader itself adds no permission or transport policy. Public specimens do not issue pin commands.
mediaOptional complete media section; omitted media preserves the default attachments/gallery section.
SubmissionHeading / SubmissionNarrativeServer-compatible helpers exported by the same module. Heading retains the ordinary reader identity. Narrative owns a grid with gap-7; SubmissionReadingView selects md:grid-cols-2 through its supported outer className. Empty narrative renders nothing.

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/components/submissions/submissionDetailView.tsx

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