Commit Graph

166 Commits

Author SHA1 Message Date
e789ea21d3 Redesign Share Card to a perfect 1080x1080 square with official dark logo and proper spacing 2026-09-22 19:14:14 +05:30
1279999078 Fix Vercel OG Satori layout error caused by multiple JSX text children 2026-09-22 19:09:18 +05:30
8061ca2608 Fix React useEffect missing dependency causing infinite loader on Dashboard 2026-09-22 19:05:52 +05:30
2326b3baa7 Fix infinite loading bug on dashboard page 2026-09-22 18:02:49 +05:30
fedb4a755d Add loading state feedback to dashboard share card button 2026-09-22 17:55:59 +05:30
bcc8dd7dc2 Remove manual JEE/NEET toggle from CBT page, enforcing automatic target_exam 2026-09-22 17:49:54 +05:30
c8c891b962 Fix next/og import for dashboard share card 2026-09-22 17:48:53 +05:30
caebbaee92 Fix dashboard share card by replacing htmlToImage with dedicated OG API route 2026-09-22 17:46:57 +05:30
6e8df1841e Fix OG image, CBT filters, syllabus split, and trial duration 2026-09-22 17:39:18 +05:30
e6f1fc9c1f UI, layout, and target exam logic updates 2026-09-22 17:26:22 +05:30
a21518ab6c Remove Mistake Analyzer and rename Mistake Heatmap to Mastery Map 2026-09-21 17:26:54 +05:30
897e92fb81 Speed up emoji rain falling speed by 2x 2026-09-21 12:34:03 +05:30
1e75980fcf Make streak animation faster and shorter 2026-09-21 12:26:40 +05:30
857ac320f1 Fix CBT session isolation and backend seed mock data exam pattern 2026-09-21 12:15:13 +05:30
63ab119f7c Update AI coach calibration, fix streak animation speed, add dashboard features and target filtering 2026-09-21 12:03:37 +05:30
ddde053b51 fix(docker): align minio image to local tag for reliable compose startup 2026-09-20 13:34:43 +05:30
9f6010dfac style: set cyan to rgb(12, 96, 96) for light theme only, keeping dark theme neon cyan and standard lightcyan/darkcyan 2026-09-20 13:23:06 +05:30
3adfc9b0fd fix(streak-animation): enforce strict logo keep-out sanctuary, side flank pyrotechnics, 1-2 day fragile streak crying logic, and reliable demo/theme switch modal triggers 2026-09-20 12:58:12 +05:30
6307a24c4c fix(demo & streak): fix Neha demo account hang, enhance streak animation for light/dark modes and cries/celebration emojis 2026-09-20 12:37:11 +05:30
c17785e38a design: cyan -> rgb(12,96,96) in light theme, #00F0FF stays in dark theme
- globals.css: add --cyan-ai CSS variable (rgb(12,96,96) light / #00F0FF dark)
  + opacity variants --cyan-ai-10/20/30/40/50/80
- Bulk replace all #00F0FF hardcoded Tailwind arbitrary values with
  var(--cyan-ai) / var(--cyan-ai-10) / etc across 55+ TSX/TS files
- Shadow glow colours also updated (suppressed by box-shadow:none in light mode)
- TypeScript: 0 errors
2026-09-20 12:19:23 +05:30
0fab60b710 perf: eliminate demo account switch lag - no more page reload, parallel fetches, settings cache 2026-09-20 12:15:33 +05:30
896073ea2d perf: docker + next.js build optimisation - dockerignore exclusions, BuildKit cache mounts, backend image reuse, memory limits, next.js bundle tree-shaking 2026-09-20 12:05:24 +05:30
fee57e154b prod: hardened deploy config for srv1289857 — prod container names/ports (frontend :3882, backend :8010, db :5440), Dockerfile.prod (uvicorn --workers 1, init_db race fix), next.config.ts BACKEND_INTERNAL_URL build-arg rewrite, celery worker/beat healthchecks (no-HTTP daemons: inspect ping w/ tmp-file output, /proc cmdline grep; pgrep unavailable in image), pgbouncer removed, restart: unless-stopped 2026-09-20 11:22:20 +05:30
5c6ddcaca0 fix: QA report BUG-01 to BUG-12 full resolution - demo switcher, AI tutor stream, timeline alignment, cbt filtering, danger styling, streak celebration 2026-09-19 22:53:58 +05:30
45f2f82eaf fix: QA report bugs BUG-01 through BUG-11 resolved - streak modal close btn, calculator crash guard, AI chat auto-scroll, leaderboard zero-streak fix, name annotation cleanup everywhere, CBT score display colors, PrepPilot difficulty badge layout 2026-09-19 22:34:45 +05:30
afab06d33c feat: complete comprehensive zero-state metrics across all dashboard pages for new accounts 2026-09-13 22:17:40 +05:30
d9bd142e6a feat: add AI options to landing mock sidebar and wire database-backed stats & leaderboard with fresh zero states 2026-09-13 21:57:12 +05:30
a6a8eda51b fix(landing): comment out trust bar marquee and add smooth section divider 2026-09-13 21:37:09 +05:30
2438ec55d4 feat: add plan selection onboarding screen after signup 2026-09-13 21:30:58 +05:30
5dc45bb90e fix: remove 'Optional if using OTP' from signup password label 2026-09-13 21:24:06 +05:30
a81e53c781 fix: demo name, trial flow, signup profile fields, docker pgbouncer/frontend
- page.tsx: hero mock shows 'Neha Verma' + 'AI Coach Plan' (was 'Demo Student')
- backend/main.py: demo login maps to Neha Verma UUID (33333333-...)
- backend/main.py: register endpoint stores exam/class/medium/school + trial_end from admin settings
- backend/main.py: register checks allow_new_registrations setting
- backend/main.py: admin student list includes trial_end field
- useActiveUser.ts: rewrite trial logic using real created_at date
- useActiveUser.ts: add computeTrialInfo(), isDemoUser() helpers + expose trialInfo from hook
- useActiveUser.ts: hasAccessTo() now uses effectiveTier from trial logic
- dashboard/layout.tsx: hide demo switcher for real users (only show for known demo accounts)
- dashboard/layout.tsx: trial badge in top header (Day N/15 Trial · Xd left)
- dashboard/layout.tsx: trial day shown in sidebar user card and dropdown
- signup/page.tsx: wire step 2 selects (exam/class/medium/school) to state + send to backend
- signup/page.tsx: success screen shows 'Day 1 of your Free Trial has started!'
- userlist.txt: was empty directory causing pgbouncer mount failure; replaced with proper file
- pgbouncer.ini: added DB credentials in connection string; fixed admin_users
- Dockerfile: added ARG NEXT_PUBLIC_API_URL baked at build time (needed for standalone)
- docker-compose.yml: frontend build arg http://backend:8000; pgbouncer healthcheck; backend waits for pgbouncer
2026-09-13 21:19:35 +05:30
d0472da976 chore: disable OTP/phone-validation at signup, fix next.config rewrite env bug, clean stale .next cache 2026-09-13 15:25:56 +05:30
c1de5ee7d0 docs: add comprehensive DESIGN_SYSTEM.md detailing typography, color tokens, button stylings, and component patterns across light and dark modes 2026-09-11 11:47:18 +05:30
92af3fe49a chore(cleanup): purge runtime logs, obsolete scripts, and raw PDFs while preserving sample NEET/JEE testing datasets 2026-09-09 12:26:45 +05:30
ec558d52fe feat: audit and purge legacy backend files, stub Phase 2 AI LLM modules, create comprehensive PAGEWISE_API_DOCUMENTATION.md, and wire DPS test seeding 2026-09-09 11:28:34 +05:30
a28366f0c3 fix: seed FK flush order, DPS path resolution, admin_uploads Docker mount, docker-compose env additions 2026-09-09 09:52:33 +05:30
4364fdf9ec docs: add Section 6 to API_DOCUMENTATION.md - ENV vars, CORS config, email service, SMS roadmap 2026-09-09 09:49:40 +05:30
63c8067216 feat: wire SMTP email service, production CORS domains, Razorpay ENV, MinIO env-vars, and DPS seed from admin_uploads 2026-09-09 09:48:00 +05:30
5951ab5b3f fix(auth): restrict seeded credentials exclusively to super admin and demo student in backend and api documentation 2026-09-04 12:01:02 +05:30
3ad281aae6 fix(auth): resolve demo login redirect loop, fix backend API bugs, restore clean login UI, and add comprehensive API docs with headers 2026-09-04 11:49:13 +05:30
b152f73c3d chore: remove parent dashboard UI and update PRD tags 2026-08-13 11:41:52 +05:30
ba583836e3 docs: clarify parent APIs are planned and UI is mocked 2026-08-13 11:38:16 +05:30
6e712c0af5 fix: resolve typescript and suspense issues on checkout and upgrade pages 2026-08-13 11:35:13 +05:30
63bf71a50c feat: complete auth and gateway agnostic billing implementation 2026-08-13 11:32:35 +05:30
f25e338430 docs: Update PRD to reflect removed free tier and latest UI specs 2026-08-07 11:28:15 +05:30
29f33aded0 UI: Added section-aware light-mode styling to main dashboard header icons (Gold for Pro Tier, Cyan for AI Coach) 2026-08-07 11:22:41 +05:30
117e0c4e2e UI: Section-aware sidebar active colors - gold for Pro Tier, teal for AI Coach in light mode 2026-08-07 11:14:24 +05:30
5f1f6ee156 prd file added 2026-08-05 13:57:37 +05:30
fbc9025535 UI: Premium sidebar redesign with gradient dividers, glassmorphism, and polished section headers 2026-08-05 13:27:22 +05:30
1f0ec0ec4d UI: Removed Watch Demo button from main page hero section 2026-08-05 13:23:21 +05:30