Commit Graph

22 Commits

Author SHA1 Message Date
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
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
54f60d097e UI/UX enhancements: refined footer layout, dashboard sidebar fixes, header tweaks, and theme alignment 2026-08-05 13:07:36 +05:30
c2fab50749 chore: Secure routes with auth middleware, update text and fix minor bugs 2026-08-03 17:55:20 +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
22b167b985 UI/UX Polishing: CBT dashboard, sidebar tiers, landing pricing, and exam disclaimer 2026-07-09 17:05:40 +05:30
1a6168f724 fix(dashboard): DPP tags properly dynamic based on user target exam 2026-07-08 12:46:44 +05:30
fe73bce834 Fix: Correct logo light/dark switching - dark_background for light mode, light_background for dark mode 2026-07-07 15:23:05 +05:30
6b0025408e Fix: Replace ALL Rectangular_light_background.svg refs with dark version globally 2026-07-07 15:14:01 +05:30
5ede1df970 Fix: Revert page/layout logos to support correct light/dark switching and fix login hydration mismatch 2026-07-07 15:08:43 +05:30
489d018966 UI: Use Rectangular_dark_background.svg universally to prevent low contrast on white backgrounds 2026-07-07 15:02:49 +05:30
f91f13e5d2 UI: Revert to original logo configuration for light/dark modes based on feedback 2026-07-07 14:52:30 +05:30
9dd1a741e1 UI: Use Rectangular_dark_background.svg universally for logo 2026-07-07 14:49:05 +05:30
d6bffab384 UI: Swap light/dark logo files and increase logo size 2026-07-07 14:46:09 +05:30
8536196ac0 UI: Fix streak modal, light mode contrast, state datalist, and plan mapping 2026-07-07 14:41:04 +05:30
22549edcdb fix: resolve Next.js rendering errors, hook unhandled fetch error, theme logo layout, double header, and FastAPI multipart dependency 2026-07-07 13:56:32 +05:30
04db17ea0e Implement active user tiers, class-based Tailwind theme switcher, 3-tiled static dashboard layout, Minio object storage integration, school & state settings database sync, and streak wishes onboarding modal 2026-07-07 13:43:30 +05:30
426b98ddab feat: complete pragativeer v2 frontend and backend, docker setup, and cbt engine 2026-07-06 17:08:13 +05:30
ce01795aa9 feat: complete premium NEET/JEE platform with admin, student dashboards, and upgraded branding 2026-06-24 13:47:25 +05:30