Commit Graph

121 Commits

Author SHA1 Message Date
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
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
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
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
1f0ec0ec4d UI: Removed Watch Demo button from main page hero section 2026-08-05 13:23:21 +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
053b727725 fix: remove all Expand View links, seed real 15Q JEE/NEET DPP questions per subject 2026-07-27 15:35:14 +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
90700c0268 Fix modal border and improve light mode firecracker colors 2026-07-10 16:51:25 +05:30
0d6e0b83ac Support robust theme sync with resolvedTheme and parent check loop 2026-07-10 16:41:22 +05:30
2ca9fdbbb5 Support Light Theme natively for Streak Modal & iframe 2026-07-10 16:33:50 +05:30
7a293b6df0 Update streak onboarding modal styling (black bg, larger text, no border) 2026-07-10 16:17:44 +05:30
f15c260cae Update streak onboarding card size to w-[80vw] h-[80vh] and background color of animation and greetings panels to solid black 2026-07-10 16:08:59 +05:30
ebc552a8ca Update card width to max-w-2xl and iframe animation height to 360px. Adjust demo streak data in database seed. 2026-07-10 14:40:57 +05:30
89c704c02c Refactor streak modal into a single card with top border-b iframe animation and bottom greetings, daily check-in Snapchat-like streak update/reset logic 2026-07-10 14:29:34 +05:30
cdf50ed99c Restore scrolling/spinning logo animation by separating canvas and React modal card 2026-07-10 13:40:00 +05:30
ecfc9d3b43 Fix React DOM warning by using allowtransparency attribute 2026-07-10 13:35:09 +05:30
c0642ad6f3 Refactor streak modal to overlay native React component on transparent celebration canvas iframe 2026-07-10 13:30:33 +05:30
79dde09304 Implement streak celebration animation 2026-07-10 12:51:59 +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
7c5acbd823 Fix admin tests endpoint to create_manual and fix language enum from EN to English 2026-07-09 18:03:35 +05:30
4a899f63e8 Fix Admin test upload API endpoint URL & fix AI coach infinite reload caused by session polling 2026-07-09 17:53:27 +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
22b167b985 UI/UX Polishing: CBT dashboard, sidebar tiers, landing pricing, and exam disclaimer 2026-07-09 17:05:40 +05:30
b80d73ec26 Fix UI issues, timer logic, theme switcher, view solutions, and markdown rendering 2026-07-09 16:08:12 +05:30
bc444ea737 Fix UI bugs: history page fallback, admin page typescript type, cbt page math rendering 2026-07-09 09:47:10 +05:30
8f9bef9744 Fix state sync for target exam tag in header 2026-07-08 15:09:19 +05:30
ffcd7081e2 Fix StreakCounter animation, PeriodicTable image, and add Feature Comparison matrix 2026-07-08 14:52:24 +05:30
66e6fc8d3f fix(cbt): Periodic Table image clarity and reliable full-screen exit 2026-07-08 12:50:24 +05:30
1a6168f724 fix(dashboard): DPP tags properly dynamic based on user target exam 2026-07-08 12:46:44 +05:30