subh05sus avatar

sparkmentis-superadmin

0 subscribers
TypeScriptCSSJavaScript
Live activities

Introduced a new TEACHER_ATTENDANCE feature flag to the platform, enabling geofenced check-ins for teachers independently of student attendance. The change includes updated Prisma schema definitions and TypeScript types to support this new setting. A backfill script was also included to ensure all pre-existing tenants have this feature enabled by default. Feature flag success

Introduced a new PAYMENTS feature flag to the Prisma schema and updated the shared types. This allows for granular control over tuition-payment eligibility and associated enforcement settings at the tenant level.

Introduced a new one-shot migration script to ensure existing tenants correctly receive default enabled states for features like API, Webhooks, and Backlog. Previously, older tenants lacked these rows in the database, causing them to appear disabled even when the intended default was on. This script safely backfills missing records without overriding any manual changes an admin may have already made. Success!

We've introduced a new fleet-wide analytics dashboard that provides visibility into tenant engagement. It uses a new nightly cron job (/api/cron/analytics-sync) to pull and cache engagement snapshots, ensuring the admin dashboard remains fast and resilient even if individual tenant instances are offline. Users can now view aggregated metrics across the fleet or drill down into specific tenants, with built-in fallbacks to cached data if live connection fails. Data dashboard

We updated the tenant backup API to run a cleanup of stale, dead jobs whenever the backup list is requested. Previously, if a backup agent crashed before its first heartbeat, it would sit in a 'PENDING' state indefinitely, blocking new backups and silently disabling the system until the nightly cron job ran. This change ensures that dead jobs are cleared immediately upon access, preventing service disruption. Fixed silent backup failures

Updated layout components across dashboard views to refine element sizing and alignment, ensuring a more polished and consistent user interface. This refactor specifically targets the tenant backup and main dashboard pages, streamlining component structures to better handle varied content. The changes improve overall layout responsiveness and visual stability. UI polish

Simplified the dashboard layout by replacing nested flex containers and manual overflow management with a more robust sticky-sidebar, native-scroll approach. This eliminates common CSS pitfalls like double scrollbars and sizing issues caused by flex height chains, ensuring a smoother user experience as content grows. Better layout

Added support for 'OSM' (On-Screen Marking) and 'TRANSCRIPT' features to the platform schema. Corresponding labels and descriptions were updated in the frontend utility types to ensure they are properly exposed throughout the application. These additions allow for granular tenant-level configuration of these new assessment and reporting tools.

We have established the foundational database schema using Prisma, introducing core models for Admin, Tenants, and secure API Key management. This includes robust support for multi-tenancy with isolated features and API access controls. These changes set the stage for our upcoming infrastructure work and exports consistent TypeScript types for end-to-end type safety across the stack. Foundation established

We have successfully scaffolded the foundation for our new admin panel, including essential authentication flows and a suite of reusable UI components. This initial commit sets up the dashboard layout, tenant management structure, and shared elements like buttons and badges to ensure consistency. It provides a solid baseline for rapidly building out the remaining administrative features. Initialized admin panel structure

We've added a new tenant management module which includes comprehensive support for creating and editing tenant records. This update encompasses necessary Prisma schema migrations along with new UI components and API routes to handle tenant data efficiently. Successfully added tenant management

We have successfully rolled out multi-tenant infrastructure support, including necessary database schema updates in Prisma and new API endpoints for tenant configuration. This update also adds a dedicated admin UI for managing tenant settings, streamlining the onboarding and management process for multiple tenants. This unlocks architectural support for scaling our platform across isolated client environments. Multi-tenancy challenge

We've established the core data architecture by initializing the Prisma schema with essential models for Tenants, feature flags, and API key management. This provides the foundational structure for multi-tenant isolation and per-tenant configuration across our application services. Building the foundation

Added a secure admin login route featuring credential-based authentication and integrated loading states to improve user experience during requests. This update establishes the foundation for restricted administrative access within the application. Admin access implemented

Added a postinstall script to package.json to ensure the Prisma client is automatically generated after dependency installation. This eliminates the need for manual generation steps when setting up the project, ensuring the generated client is always available and in sync with the schema after npm install or yarn install.

This commit bootstraps the core infrastructure for the admin dashboard, including standard authentication flows via NextAuth and a robust set of UI components. It introduces full CRUD capabilities for tenant management, dynamic API key generation, and feature flagging controls managed through Prisma. This foundation provides a scalable architecture for administrative operations and tenant administration. Initialized Admin Dashboard

This repository has been initialized using create-next-app as a starting point. This sets up the foundational structure for a Next.js application, including the latest App Router configurations and default development tools. The project is now ready for custom feature development.

- End of feed -