Skip to documentation

Design system / Organisms

Organism / Management and configuration

EvaluationCriteriaManager

EvaluationCriteriaManager loads and manages a tenant's criterion library, including drafts, judge guidance, images and archive/restore actions.

Evaluation criteriaOrganism

Intent and composition

useEvaluationCriteria supplies library loading and mutation behavior. Local state controls the selected editor and draft. The manager mounts an ImageUploader when editing. Use it only within its authorized tenant integration, not as a passive catalog specimen.

Coordinated concerns: Library listing, create/edit draft, score guidance, supporting images and archive/restore actions.

useEvaluationCriteria owns load/save behavior; local state holds the selected editor and draft. The owning route and operations enforce tenant access.

Authorized-context integration

Requires its authorized tenant-library load/save contract. Mounting it would immediately fetch the library; the public reference supplies intent and integration guidance rather than a pretend library manager.

Supported inputs and ownership

EvaluationCriteriaManager input summary
InputResponsibility
tenantSlugAuthorized tenant context.
useEvaluationCriteriaOwns library loading, saves and lifecycle operations.

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: Tenant settings and management.

Implementation

Repository path: src/components/evaluation-criteria/evaluation-criteria-manager.tsx

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