- Course navigation: only the completion percent animates; the
"N of M lessons" counter is static. NumberFlow is enabled only in the
visible copy of the navigation (drawer on phones, sidebar otherwise).
- globals.css: disable Vaul drawer and overlay animation under
prefers-reduced-motion.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- cmdk 1.1.1: Cmd/Ctrl+K command menu in the admin panel (students,
courses, lessons, admin sections) plus a "Search" button in the sidebar.
New read-only endpoint GET /api/admin/search with the same admin role
check as /api/admin/export-users; query length 2-100 chars.
- vaul 1.1.2: ResponsiveDialog wrapper (Base UI Dialog on desktop, bottom
drawer below 768px) styled per DS-2. Used for the storefront checkout on
the dashboard and for course navigation on phones (tablet and desktop
unchanged).
- @number-flow/react 0.6.2: animated "N of M lessons" and completion
percent in course navigation; respects prefers-reduced-motion.
No migrations. Not deployed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hamburger button (top-left, lg:hidden), dark overlay, slide-in animation.
Sidebar closes on lesson link click. Spacer added to prevent content overlap.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Toggle lesson completion via server action (LessonProgress table)
- "Отметить как пройденный" button on lesson page, turns accent when done
- Course sidebar: progress bar, checkmarks on completed lessons, X/Y counter per module
- Dashboard: progress bar on each course card with completion percentage
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>