Skip to content

feat(rating): add search engine to review system (#444)#575

Merged
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Nworah-Gabriel:main
May 29, 2026
Merged

feat(rating): add search engine to review system (#444)#575
RUKAYAT-CODER merged 1 commit into
rinafcode:mainfrom
Nworah-Gabriel:main

Conversation

@Nworah-Gabriel
Copy link
Copy Markdown
Contributor

Add a dependency-free search engine for the Rating System so students can search, filter, and sort course reviews.

  • src/utils/reviewSearch.ts: full-text relevance scoring, minRating filter, five sort keys, relative-date parsing, and term highlighting (pure, no deps)
  • CourseReviews: search input, rating filter, sort dropdown, live results count, empty state, and highlighted matches (all a11y-labelled)
  • 20 unit tests in reviewSearch.test.ts
  • docs/RATING_SYSTEM_SEARCH.md

Closes #444

Add a dependency-free search engine for the Rating System so students can
search, filter, and sort course reviews.

- src/utils/reviewSearch.ts: full-text relevance scoring, minRating filter,
  five sort keys, relative-date parsing, and term highlighting (pure, no deps)
- CourseReviews: search input, rating filter, sort dropdown, live results
  count, empty state, and highlighted matches (all a11y-labelled)
- 20 unit tests in reviewSearch.test.ts
- docs/RATING_SYSTEM_SEARCH.md

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

drips-wave Bot commented May 29, 2026

@Nworah-Gabriel 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 RUKAYAT-CODER merged commit 5119388 into rinafcode:main May 29, 2026
1 of 4 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 : Search Engine

2 participants