subh05sus avatar

sparkmentis-fork

0 subscribers
TypeScriptHTMLJavaScript

Created Jul 2025

Live activities

Introduced a new toggle on the course pack creation page to control whether an initial batch is automatically generated. When enabled, the start date is now required to ensure semester anchoring, while disabling it allows admins to create a structure-only pack and configure batches manually. This update improves flexibility for pack setups while maintaining backward compatibility. Flexibility for admins

The New Course Pack picker now visually disables courses already assigned to another pack, preventing configuration conflicts. Additionally, we've enabled live course code searching and increased the default loading limit to capture the full course list. UX improved in course picker

This commit resolves a type mismatch between CoursePackEnrollment.status and its expected PackEnrollmentStatus enum, which was causing production build failures. By correctly remapping the BACKFILL_STATUSES and updating the BackfillPackEnrollment status, we have unblocked the build pipeline and ensured proper type checking for the findMany where-clause. #Fixed it

This significant refactor moves course and pack scheduling away from global dates and onto per-batch semester calendars. By introducing a new BatchSemester model, every batch can now follow the same course structure on its own unique timeline, greatly increasing scheduling flexibility. Additionally, course-pack membership changes are now automatically synced into active student enrollments for improved consistency. Refactoring our scheduling architecture

We have overhauled the Teacher, Student, and Admin dashboards with improved layouts, a new compact calendar mode, and enhanced data visualizations like KPI trends and sparklines for better UX. Additionally, we addressed a critical data drift issue by unifying UnitTest publish states under a single source of truth, isPublished, ensuring consistent behavior across all views and API surfaces. Clean Dashboard

This release significantly improves course planning and tracking by introducing a new course timeline, a monthly calendar view, and revamped student/teacher dashboards with integrated agenda panels. Additionally, we've hardened our 'soft-delete' logic for archived courses and completed batches, ensuring they no longer trigger false positive scheduling conflicts in the Class Routine Builder. These changes create a cleaner, more predictable administrative experience while improving planning visibility for all users. Dashboards looking good

We have refactored the UI by merging the redundant batch-detail and class-tracker surfaces into a single, cohesive hub per batch, featuring a new section-based navigation. By standardizing batch membership logic and introducing shared, role-aware components, we have significantly reduced code duplication and improved consistency across admin and teacher views. This cleanup simplifies the codebase and provides a more unified experience for managing batch data and progress monitoring. Refactoring plans

We've improved data consistency on student signup by replacing the free-text nationality field with a searchable, standardized combobox. Additionally, we've upgraded the admin dashboard to include full parity with the class tracker and introduced a new step-based wizard for batch creation, moving away from legacy batch teacher roles. These changes ensure cleaner data entry and a much smoother management experience for admins. Finally, consistent data!

We have transitioned from a blunt batch-level course completion toggle to a comprehensive system featuring a weekly Class Routine Builder, unit/lesson tracking, and automated conflict detection. This change introduces teacher and cohort conflict warnings during scheduling and shifts the teaching model from batch-wide assignments to granular per-course assignments. These updates provide much-needed visibility into teaching progress and student schedules, ensuring better administrative control and clearer expectations for instructors and students alike. Overwhelmed Developer

This update introduces a major overhaul of the course and unit-plan workflows, centralizing logic to eliminate triplicated AI fallback code and unify component usage across admin and teacher interfaces. The new shared UnitPlanWizard streamlines course creation with manual or auto-computed timelines, while upgraded detail pages and a consolidated browsing experience improve usability for both students and instructors. By abstracting the core infrastructure into shared library functions and common UI components, we've significantly reduced technical debt and ensured consistent behavior across the application. Refactoring in action

Upgraded the AI infrastructure across the application by transitioning from gemini-2.5-flash to the newer gemini-3.5-flash model. This update applies to all content generation, automated grading, and vision tasks, ensuring the service benefits from the latest model capabilities. Projecting to the future with the latest model

Fixed an issue where pack enrollment approval triggered a 500 error due to an incorrect NotificationType usage. Additionally, improved validateRegistrationContext by adding descriptive, human-readable hints to make debugging registration issues significantly faster. These changes ensure more reliable enrollment processing and clearer error messaging when configuration is missing. Fixed crash on enrollment approval

This significant update refactors the codebase to switch batch scoping from individual courses to course packs, effectively requiring database schema changes and a migration script. We've introduced exam-batch association with a new approval gate for exam publishing, ensuring better control over content deployment. Additionally, course and pack archiving capabilities were implemented to improve resource lifecycle management. Data migration be like

Centralized the error response logic in the admin and teacher course creation routes by integrating a custom handleError utility. This replaces manual 500 status returns, ensuring consistent and cleaner error reporting across the platform. Centralized Error Handling

This update introduces comprehensive analytics dashboards for both admin and teacher views, covering assessments (exams, code exams, unit tests), batches, attendance, and course packs. It also adds a new assessment management interface for admins and streamlines course data listing with pagination. These changes provide deeper insight into academic activities and platform usage across the entire ecosystem. Feature expansion

This update includes an extensive refactor covering the full spectrum of API routes, UI pages, and core library utilities for code exams and projects. The changes target systemic improvements to the codebase, ensuring better stability and maintainability across both teacher and student interfaces. Significant progress has been made in solidifying the foundations of the grading and assessment logic.

This commit introduces a robust TIMED project mode for code assessments, featuring countdown timers and an integrated proctoring engine to monitor tab switching, fullscreen usage, and activity. Students can now participate in formal, anti-cheat monitored exams, while teachers gain dedicated grading interfaces, automated marks computation, and results publication workflows. These changes significantly level up the platform for secure, high-stakes coding evaluations. Assessment Mode

Implemented structural repairs for unit plan generation (stripping part suffixes and rebalancing plan week coverage per course duration) to resolve AI under-coverage issues. Updated API handlers for exam patterns to use centralized library functions, ensuring consistency. Additionally added a robust interactive demo seeder (scripts/final-demo/demo-seed.ts) and associated helper modules to streamline end-to-end testing and demonstrations. Fixing the code

We've completed a massive refactor of the exam module, unifying workflows by removing legacy components and centralizing exam patterns, approval lifecycles, and student/admin interfaces. Significant focus was placed on improved handling of optional sections—including auto-scoring logic that respects 'choose-count' constraints—and transitioning offline grading to a vision-first AI approach using Gemini. The student experience has been streamlined with clearer exam instructions, sequential question numbering, and better feedback on exam statuses.

Updated the exam overview page for teachers, implementing context-aware quick action buttons that switch between online and offline exam management flows. Added a mandatory marks calculation helper to provide better visualization of exam structure and optional questions. These UI refinements improve the usability of the primary teacher landing page for exam orchestration. Fixing things