Commit Graph

70 Commits

Author SHA1 Message Date
1acbda2f83 Fix animation inconsistencies on pages with loading spinners 2026-09-24 22:41:47 +05:30
a280513bbd Fix dashboard animations not playing on navigation by adding key=pathname 2026-09-24 22:23:30 +05:30
d806265237 Unify dashboard page animations to zoom-in and slide-up 2026-09-24 22:18:14 +05:30
ec4849ccce Fix AI Coach typo, fix bulk register UI, and update exam tiers 2026-09-24 21:59:04 +05:30
c290fb689b fix: actually inject Change Password UI into settings page 2026-09-24 21:00:11 +05:30
85974b97f5 feat: Add Bulk Registration, Change Password, and update Auth UI 2026-09-24 20:53:21 +05:30
3ed7028bda fix: Authentication headers and dynamic userId for CBT/DPP history page 2026-09-24 20:20:25 +05:30
a294ee8b9e feat: Add authentic JEE/NEET mock tests and fix CBT frontend filtering 2026-09-24 19:55:12 +05:30
48350bc996 feat: signup flow improvements and CBT exam test visibility for dual targets 2026-09-24 14:56:00 +05:30
1249da54fb fix: correctly calculate dynamic trial remaining days and fix missing trial_end in admin API 2026-09-24 12:31:03 +05:30
1d9cdd3f33 feat: apply various dashboard and auth fixes including demo trials, settings UI, and signup options 2026-09-23 16:38:49 +05:30
2488311661 feat: Add demo users and trial logic uniformity 2026-09-23 12:42:07 +05:30
a3e430cb67 feat: Add JWT authentication to backend, configure frontend API client, fix streak layout 2026-09-23 12:11:44 +05:30
ea03846b9c Fix OG image API crash and dropdown opacity 2026-09-22 21:04:15 +05:30
217dc2f65e Add dynamic theme support to OG share card and fix lucide-react imports 2026-09-22 20:56:03 +05:30
18006c97ac Update share card with fb, whatsapp, download and export date; update CBT and Doubt Forum UI 2026-09-22 20:53:15 +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
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
63ab119f7c Update AI coach calibration, fix streak animation speed, add dashboard features and target filtering 2026-09-21 12:03:37 +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
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
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
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
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
fbc9025535 UI: Premium sidebar redesign with gradient dividers, glassmorphism, and polished section headers 2026-08-05 13:27:22 +05:30
67226cb2f7 UI: Fixed AI Powered tag alignment on Mistake Analyzer page 2026-08-05 13:18:43 +05:30
6e1f1b5dad Fix: Add missing Badge import in Mistake Analyzer page 2026-08-05 13:14:08 +05:30
c95ca5d5c8 UI: Replaced SM-2 Engine tag with AI Powered tag on Mistake Analyzer page 2026-08-05 13:12:25 +05:30
54f60d097e UI/UX enhancements: refined footer layout, dashboard sidebar fixes, header tweaks, and theme alignment 2026-08-05 13:07:36 +05:30
6760a21a7e Fixed some minor bugs 2026-08-04 10:39:39 +05:30
c2fab50749 chore: Secure routes with auth middleware, update text and fix minor bugs 2026-08-03 17:55:20 +05:30
62d15c85f6 fix: smart CBT result/back routing for DPPs and add Test Type selector in Admin panel 2026-07-27 15:55:54 +05:30
f7c452aba6 fix(ui): fix X button hover, clean ExamEnum titles, route CBT DPP to real /cbt/[id] engine 2026-07-27 15:21:13 +05:30
9fb23d05e1 fix(ui): separate cbt and pdf dpp viewer logic and fix flex layout on dpp cards 2026-07-27 15:12:46 +05:30
a5bb2d867c feat: setup admin JSON generation and pdf viewer for free plan DPPs 2026-07-27 14:56:25 +05:30
d5199682e3 feat: complete UI tasks, backend optimizations, coupon admin, user kundli 2026-07-10 12:36:56 +05:30
149d365218 Fix CBT history react-markdown crash, fix test deletion cascade, fix cbt theme, add 180 NEET questions 2026-07-09 23:37:15 +05:30
3cc72cb327 Fix UI sizing on pricing, update text to Get Pro and /year, resolve 500 error 2026-07-09 17:20:44 +05:30