Skip to content

feat: implement Storage Classes for Rating System (#453)#668

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
soterika:feat/453-rating-system-storage-classes
Jun 2, 2026
Merged

feat: implement Storage Classes for Rating System (#453)#668
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
soterika:feat/453-rating-system-storage-classes

Conversation

@soterika
Copy link
Copy Markdown
Contributor

@soterika soterika commented Jun 2, 2026

  • Add ratingStore with Zustand persist middleware (localStorage)
  • Persist helpful votes and voted state per review (prevents double-voting)
  • Persist user star ratings (1-5, validated)
  • Update both CourseReviews components to use the store
  • Add 11 unit tests for ratingStore

Closes #453

Description

Brief description of changes

Related Issue

Closes #

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No console errors
  • Uses Lucide icons consistently
  • Responsive design implemented
  • Starknet best practices followed

closes #453

- Add ratingStore with Zustand persist middleware (localStorage)
- Persist helpful votes and voted state per review (prevents double-voting)
- Persist user star ratings (1-5, validated)
- Update both CourseReviews components to use the store
- Add 11 unit tests for ratingStore

Closes rinafcode#453
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Jun 2, 2026

@soterika Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Thank you for your contribution.

@RUKAYAT-CODER RUKAYAT-CODER merged commit ac9d316 into rinafcode:main Jun 2, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug Rating System : Storage Classes

2 participants