Try 05.02.01 - #218
Open
Poojithvsc wants to merge 10 commits into
Open
Conversation
Adds a course_ratings table, rating service, and star rating widget so enrolled students can rate courses. Average ratings are displayed on both the course detail page and the course catalog. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Lesson comments: enrolled students can post comments on lessons, instructors/admins can moderate (delete) any comment - Lesson bookmarks: enrolled students can bookmark lessons with toggle on lesson page, indicators shown in curriculum sidebar and course detail - Fix DevUI user switcher dropdown not closing after selection Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PRD- and plan-driven analytics feature: revenue/student/purchase KPIs with previous-period comparison, a revenue-over-time line chart, and a sortable per-course breakdown. Range options are 1w / 1m / 6m / all, where 'all' starts at the earliest purchase. Scopes for instructors, admins (platform-wide or per-instructor), and per-course drilldown. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
When a student enrolls in a course, the course's instructor receives an in-app notification, surfaced via a bell icon + dropdown in the sidebar. The schema is generic (type / title / message / linkUrl) so future event types can reuse it without migrations. - New notifications table + NotificationType enum (migration 0006). - notificationService with create/get/getById/unreadCount/markAsRead/ markAllAsRead, plus tests covering ordering, pagination, user-scoping. - enrollUser side-effect creates an "enrollment" notification for the course's instructor; covered by an integration test. - Two API routes (mark-read, mark-all-read) with session auth and ownership checks. - layout.app.tsx loader hydrates unread count + 5 most recent notifications for instructor users. - NotificationBell component (bell, badge, dropdown, mark-all-read, empty state) wired into the sidebar header for instructors only. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Wires up husky + lint-staged so every commit auto-formats staged files with Prettier, then runs typecheck and the test suite. Failing checks block the commit, giving AI agents a deterministic feedback loop. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Project-local skill that installs and configures husky + lint-staged + prettier pre-commit hook (lint-staged → typecheck → test), adapting to existing project state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.