Skip to content

Upgrade/nextjs 16 direct#74

Open
TristanHourtoulle wants to merge 88 commits intodevfrom
upgrade/nextjs-16-direct
Open

Upgrade/nextjs 16 direct#74
TristanHourtoulle wants to merge 88 commits intodevfrom
upgrade/nextjs-16-direct

Conversation

@TristanHourtoulle
Copy link
Member

No description provided.

LucasRossignon and others added 30 commits October 24, 2025 22:40
- Add visual confirmation after sending password reset email
- Unify reset password page design with auth pages
- Use consistent blue gradient theme and layout
- Fix ESLint errors (unused imports and variables)
- Remove duplicate temporary files
- Add dedicated settings page for course visibility management
- Add PublicCourseCard and PublicSheetCard components for Club Edukai
- Implement slider toggle for public/private course visibility
- Add comprehensive info box explaining public visibility features
- Add tabbed interface for public courses and summary sheets
- Implement comprehensive search functionality across title and author
- Add subject and level filters with dynamic dropdowns
- Add filter counter badges and reset functionality
- Integrate getPublicCourses and getPublicSheets API endpoints
- Add frontend fallback for isOwner verification in Header component
- Extend CourseData interface with isOwner, isShared, and author properties
- Replace inline toggle with clickable visibility badge in CourseCard
- Handle author as both string and object types in library page
- Remove deprecated shared course page using shareToken
- Remove ShareCourseDialog component replaced by settings page approach
- Clean up references to old sharing implementation
Introduce centralized Visibility enum with PUBLIC and PRIVATE constants
to replace hardcoded strings throughout the codebase. This improves
type safety and maintainability.
Add reset password page with form component, following the same
design pattern as other auth pages with gradient background and
card layout.
Replace boolean isShared field with visibility field using Visibility
enum across all course-related types and components. Update CourseData
interface, CourseCard, settings page, and Club Edukai to use the new
visibility pattern aligned with backend API.

- Update SummarySheetData to include visibility, isOwner, and title fields
- Replace isShared checks with visibility === Visibility.PUBLIC
- Simplify Club Edukai to show only courses (removed summary sheets tab)
- Remove all console.log statements (keep console.error in catch blocks)
- Delete duplicate file useSession 2.ts
- Delete test data directory (json/testData/)
- Remove test data imports from useQuiz and useSheet hooks
- Fix ESLint unused variable warnings by prefixing with underscore
- Clean up unused catch parameters
- Add AuthPageLayout component for consistent auth page structure
- Add EdukaiHeader component for branding
- Add FeatureCard component for showcasing features
- Add PublicContentCard base component to eliminate code duplication
- Add keyboard utility helpers for accessibility compliance
- Refactor PublicCourseCard and PublicSheetCard to use shared PublicContentCard base
- Reduces duplication by 69.2% in PublicCourseCard and 25% in PublicSheetCard
- Modernize auth pages with new AuthPageLayout and feature components
- Update auth component exports for new modular structure
SonarCloud fixes:
- Fix locale-aware string sorting for proper French character handling
- Resolve function name conflict with built-in Error class
- Remove unnecessary await on synchronous cookies() call
- Add keyboard accessibility with role, tabIndex, and onKeyDown handlers
- Associate form labels with controls using htmlFor and id attributes
- Replace array index keys with stable unique keys
- Optimize UserContext with useMemo to prevent unnecessary re-renders
- Extract nested ternaries into clear helper functions for readability
- Replace role="button" divs with semantic HTML button and label elements
- Fix drag event handler types for better TypeScript compliance
- Add console.debug for appropriate debugging in error handlers
- Remove unused imports

Code cleanup:
- Remove temporary console.log debug statements from components
- Remove debug logging from middleware authentication flow
- Clean up debug logs from auth container success handler
Update gitignore configuration
…during uploads

feat(file-processor): refactor processing state management and enhance error callback
fix(file-processors): update OCR progress message for clarity
fix(next.config): disable React Strict Mode to prevent double rendering issues
…xam, LastQuiz, Ranking, Skills, SummarySheets, Tips, and Quiz components (align cards header)
…ve messaging

feat(exam): add empty state for exams with user guidance
…g handling

feat(exam-dialog): add controlled open state and trigger ref for ExamDialog
fix(calendar): set French locale for DayPicker in Calendar component
khalidbelk and others added 27 commits November 19, 2025 16:14
- Refactor PublicCourseCard and PublicSheetCard to use shared PublicContentCard base
- Reduces duplication by 69.2% in PublicCourseCard and 25% in PublicSheetCard
- Modernize auth pages with new AuthPageLayout and feature components
- Update auth component exports for new modular structure
- Add visual confirmation after sending password reset email
- Unify reset password page design with auth pages
- Use consistent blue gradient theme and layout
- Fix ESLint errors (unused imports and variables)
- Remove duplicate temporary files
- Remove all console.log statements (keep console.error in catch blocks)
- Delete duplicate file useSession 2.ts
- Delete test data directory (json/testData/)
- Remove test data imports from useQuiz and useSheet hooks
- Fix ESLint unused variable warnings by prefixing with underscore
- Clean up unused catch parameters
Formatted with prettier as well, which explains multiple file changes
- Add visual confirmation after sending password reset email
- Unify reset password page design with auth pages
- Use consistent blue gradient theme and layout
- Fix ESLint errors (unused imports and variables)
- Remove duplicate temporary files
- Add visual confirmation after sending password reset email
- Unify reset password page design with auth pages
- Use consistent blue gradient theme and layout
- Fix ESLint errors (unused imports and variables)
- Remove duplicate temporary files
- Remove all console.log statements (keep console.error in catch blocks)
- Delete duplicate file useSession 2.ts
- Delete test data directory (json/testData/)
- Remove test data imports from useQuiz and useSheet hooks
- Fix ESLint unused variable warnings by prefixing with underscore
- Clean up unused catch parameters
Formatted with prettier as well, which explains multiple file changes
- Refactor PublicCourseCard and PublicSheetCard to use shared PublicContentCard base
- Reduces duplication by 69.2% in PublicCourseCard and 25% in PublicSheetCard
- Modernize auth pages with new AuthPageLayout and feature components
- Update auth component exports for new modular structure
@TristanHourtoulle TristanHourtoulle marked this pull request as ready for review November 19, 2025 15:29
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.

3 participants