TeachKit project

TeachKit / Design system

Documentation v0.1 · Released product

Design system contents

Components

Review presentation and moderation

Keep learner feedback distinct from course progress and let owner moderation control public display.

On this page

Purpose and usage

Keep learner feedback distinct from course progress and let owner moderation control public display.

Anatomy

Anatomy
PartContract
RatingFive icons and accessible rating label
TextActual review content
IdentityReview avatar and context
Owner controlPublic-display switch when supplied

Variants and configuration

Variants and configuration
Input or variantBehavior
ReviewStarsrating plus sm/md/lg size
ModerationDisplay flag and updating state supplied by parent
Public showcaseActual approved summaries only

State coverage

State coverage
StateImplemented behavior
RatingFilled icons up to numeric value
ModeratingSwitch can be disabled while updating
No reviewsDo not fabricate testimonials

Interaction and composition

  • Use actual review evidence when available.
  • Do not invent a rating average or reviewer to fill the design system.
  • Keep public display consent and server ownership rules in the real moderation workflow.

Accessibility and readiness

ReviewStars provides a Rated N out of 5 stars label. ReviewDetailModal is a detail container, not evidence of a complete modal focus trap. Student/reviewer records are excluded from this capture fixture; review families are documented from source without fabricated testimonials.

Source references

Source references
FileResponsibility
src/components/reviews/ReviewStars.tsxNamed five-star display
src/components/reviews/ReviewCard.tsxReview summary
src/components/reviews/ReviewDetailModal.tsxDetail and landing-page display switch
src/components/reviews/CourseReviewShowcase.tsxPublic review composition

Source audit: 2026-10-07 · Revision d8cf23d0a329 · Documentation v0.1