Skip to documentation

Design system / Organisms

Organism / Intake and review

EditionReviewForm

EditionReviewForm collects rubric scores, optional comments and promotion choices with read-only and save feedback.

ReviewsOrganism

Intent and composition

The form delegates draft and mutation behavior to useEditionReviewForm. The caller supplies criteria, existing scores, the operation endpoint and edit capabilities. canEdit=false makes the interface read-only; server scoring rules remain independent of disabled controls. The internal ReviewDrawer composes the shared Sheet rather than adding a modal engine. Local open state stays in that helper; draft and mutation state stay above its mount boundary, so closing and reopening retains entered values and errors for this mounted page. Leaving the page does not persist an unsaved draft.

Coordinated concerns: Inline or drawer-based weighted scoring, judge guidance, comments, optional promotion, read-only state and save feedback.

useEditionReviewForm owns drafts and the mutation lifecycle above the drawer mount boundary. Internal ReviewDrawer owns local open state and delegates modality to Sheet. The server route supplies rubric, existing score and edit capabilities. Disabled controls are feedback, not access enforcement.

Real component specimen

Actual inline and information-Card drawer specimens with a supplied fictional score and long multiline instructions. Edit review is disabled with its inactive-round explanation. View review, guidance disclosures and dismissal work; save and score changes are unavailable through canEdit=false. The closed preview truncates; the open body retains complete text without duplicating the preview. No tenant request is made.

Live preview

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

This review round is inactive. Your review is read-only.

Review fields
Creative craft (100%)

Assess clarity and quality of execution.

Scoring guide Use the narrative and supporting evidence together. Consider the quality, clarity and consistency of the execution rather than judging each asset in isolation.

Use the narrative and supporting evidence together. Consider the quality, clarity and consistency of the execution rather than judging each asset in isolation. Review every score description before choosing the closest match.

  1. 1: Little supporting evidence.
  2. 2: Some supporting evidence.
  3. 3: An emerging idea.
  4. 4: A developing idea.
  5. 5: A clear idea.
  6. 6: Clear and consistent execution.
  7. 7: Strong execution.
  8. 8: Distinctive execution.
  9. 9: Exceptional execution.
  10. 10: An exemplary idea with convincing evidence.

Submission information

submitted
Brand
Example brand
Agency
Example studio
Country
Example country
Zone
EUR
Category
Creative craft
Submitted by
Example contributor
Team members
A fictional project team

Integrity statement: Accepted

This review round is inactive. Your review is read-only.

Supported inputs and ownership

EditionReviewForm input summary
InputResponsibility
criteria / existingScoreAuthorized rubric and current review values.
endpoint / submissionIdSupplied operation contract and record identity.
canEdit / commentsEnabled / recommendedEnabled / allowPromotionCapabilities reflected in the interface; operations enforce them.
presentationinline (default) or drawer. The review route supplies drawer in SubmissionFacts.action. The action says Edit review when existingScore is present, otherwise Start review. canEdit=false disables that action with a visible, associated inactive-round explanation; an existing score also offers View review for read-only access. The drawer opens at the right, fills narrow screens and scrolls its form independently. Your review receives initial focus; Close or Escape restores focus to the opening control. Dismissal is blocked only while saving. Sheet portals remain within the tenant theme when one is present.
Scoring guideThe closed native details/summary header shows Scoring guide and a muted, single-line preview beneath it. The preview uses the first line of separate judge instructions; if none are shown, it uses score 1's guidance. Long previews end with an ellipsis. Opening hides the preview so the complete instructions and all ten score descriptions appear only in the body. Closing restores it. Both fieldset levels can shrink to the available width; long guide text wraps rather than creating horizontal scrolling. Pointer, Enter and Space keep native disclosure behavior. This applies to both presentations without additional state.

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.

Implementation

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