subh05sus avatar

sparkmentor

0 subscribers
TypeScriptCSSJavaScript
Live activities

We just shipped massive updates including comprehensive chat enhancements, S3 file management, and Google Classroom integration! 📝✨ Users can now enjoy a smoother experience with new animated UI components and seamless resource management. 🚀

Shipped a full user Settings page: update profile avatar, manage password (set/change), switch language, and connect/sync/disconnect Sparkmentis + Google Classroom integrations. Users now get a centralized place to control account security and keep external classroom data in sync, with clearer OAuth success/error feedback. ⚙️🔐🔗

Big frontend push: adds a full authenticated app shell (sidebar layout + protected routes), expands integrations views, and introduces a Library workspace with S3 presigned file uploads + preview/edit flows. Users get a more complete logged-in experience, multi-language UI messages, and can now upload/manage study files to use as chat context. 🚀📚

Big update: new authenticated layout + dashboard subject management, plus upgraded chat with attachments (PDF/library/classroom), subject-mismatch detection, and dedicated Sparkmentis/Classroom chat flows. Users get a smoother signed-in experience and more reliable, context-aware tutoring chats (with streaming, exports, and better session handling). 🚀

New KnowledgeTreePage layout adds search + responsive mobile/desktop UI, and introduces a NodeDetailPanel for rich node details. Users can now view streamed or saved node descriptions, toggle flags (checked/bookmarked/favorited), and run bulk actions on child nodes—making knowledge tree triage and navigation much faster.

subh05sus pushed a feature-heavy update on main that expands knowledge tree management with AI-assisted topic generation, message classification, and improved attachment handling. Attachments now upload to S3 (with presigned URLs used to feed document context into OpenAI), and a new endpoint/UI flow lets users attach existing library assets or prior uploads to a tree; the creation modal defers auto-expansion until after files/items are attached so the initial topics can use that context. Notable tweaks include switching to OpenAI’s Responses API when files are provided and tightening uploads to PDFs only in the middleware.

subh05sus pushed a fix to the backend voice service on main, updating the Gemini Live API model used for voice sessions (now models/gemini-2.5-flash-native-audio-preview-12-2025). The rest of the changes are minor formatting/whitespace tweaks around token handling, WebSocket authentication, and session setup.

subh05sus updated the main branch with a fix to the Classroom page’s materials dropdown, resizing it to 450px (or 90vw max), adding max-height with overflow-auto scrolling, and padding for a more comfortable user experience. They also improved text wrapping on material titles and course names to prevent overflow and boost readability.

subh05sus updated the backend build script to run prisma generate before compiling and enhanced the docs with step-by-step guidance on applying migrations, building the service, and deploying to production.

On main, subh05sus refactored the chat components—switching filter assertions to NonNullable for stronger type safety in both Classroom and Sparkmentis pages—and tweaked CSS classes to improve text wrapping in message bubbles. These changes polish the UI and help prevent null-related runtime issues.

subh05sus refactored the chat integration UI on the main branch, updating page titles and descriptions for better readability, improving context item displays with truncation and conditional rendering, and removing unused selector components. They also enhanced loading states and user feedback around integration status to streamline the interface.

subh05sus pushed an update to the Google Classroom integration on main, adding the userinfo.email OAuth scope so the backend can resolve external user IDs after login and updating the setup documentation to reflect this change. They also refactored the frontend components for cleaner layouts, smoother loading states, and clearer integration descriptions.

On main, subh05sus refactored the sidebar by moving the Sparkmentis link into a new “Integrations” group and updating the SidebarNav component accordingly. They also refreshed localization files to rename “Navigation” to “Hub” (or local equivalents) and add translations for “Integrations” across all supported languages.

subh05sus pushed to main a new .npmrc file that enables legacy-peer-deps=true, ensuring npm will accept legacy peer dependencies when installing packages.

subh05sus refactored the main branch’s GitHub Actions deployment workflow by removing duplicated anchors and concurrency settings, standardizing SSH setup, switching npm ci to npm install, and organizing the backend, admin, and frontend jobs into clear sections. This streamlines the deploy process and makes the pipeline more maintainable.

subh05sus pushed a change to main that updates the GitHub Actions deploy workflow, switching the SSH deployment directory from $REPO_DIR to ~/sparkmentor for the backend, admin, and frontend jobs.

subh05sus pushed a refactor of the main branch’s GitHub Actions deploy workflow, introducing concurrency (to cancel in-progress runs per branch) and reusable YAML anchors for checkout, caching, and SSH setup. The update also tightens remote error handling (using set -euo pipefail) and switches npm install to npm ci for more consistent builds.

subh05sus pushed an update to the main branch’s deploy.yml, adding environment variables for EC2 credentials and streamlining SSH configuration. They also simplified the backend, admin and frontend deployment jobs by unifying npm install/build steps, refining pm2 commands, and setting proper job dependencies.

Rohit-Dnath pushed a new feature branch to main that enhances user upload error handling by surfacing real error messages, bumps free-tier daily message limits from 20 to 50, and refines the chat auto-scroll logic to respect user position (with force-scroll on new messages). All changes come from Rohit-Dnath’s latest commit.

Rohit-Dnath pushed a change to the main branch that streamlines the PDF attachment input flow and tidies up the ChatPage layout by moving and spacing the send button more intuitively. The update removes extra markup around attachments and ensures smoother handling when selecting and clearing files.