Design system / Organisms
Organism / Review-round workspace
RoundRubricConfiguration
RoundRubricConfiguration edits a round's review options and scoring criteria, with distinct save feedback and lock/freeze rules.
Intent and composition
The component receives library, scope and operation state through props, delegates draft/save behavior to useRoundRubricConfiguration and composes ProgramRubricEditor. Program locking disables options and criteria editing; existing scores freeze criteria. These existing rules are unchanged. Opening Settings cannot unlock configuration. Draft changes are guarded before navigation.
Coordinated concerns: Review options, rubric criteria and weights, lock/freeze feedback and separate save outcomes.
Receives workspace operation props and uses useRoundRubricConfiguration; embeds ProgramRubricEditor. Locked/read-only controls reflect supplied state, while operations enforce mutation rules.
Authorized-context integration
Requires the authorized review-round workspace and operation lifecycle. The nested ProgramRubricEditor has its own safe specimen; this assembly is documented without simulating the provider.
Supported inputs and ownership
| Input | Responsibility |
|---|---|
| round | Current round and score-freeze state. |
| options / state | Library, lock state, feature identifiers and refresh command. |
| useRoundRubricConfiguration | Owned draft and save lifecycle. |
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/roundRubricConfiguration.tsx