From 48350bc996908f787a66f4566e10b219333a9124 Mon Sep 17 00:00:00 2001
From: ectasy663
Date: Thu, 24 Sep 2026 14:56:00 +0530
Subject: [PATCH] feat: signup flow improvements and CBT exam test visibility
for dual targets
---
backend/main.py | 5 ++++-
src/app/dashboard/layout.tsx | 2 +-
src/app/signup/page.tsx | 8 ++++----
3 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/backend/main.py b/backend/main.py
index 6697f97..3d16ff9 100644
--- a/backend/main.py
+++ b/backend/main.py
@@ -319,7 +319,10 @@ def login(payload: LoginPayload, session: Session = Depends(get_session)):
def list_active_tests(exam_pattern: Optional[str] = None, type: Optional[str] = None, session: Session = Depends(get_session), current_user: models.User = Depends(require_tier([models.TierEnum.PRO, models.TierEnum.AI_COACH]))):
query = select(models.Test).where(models.Test.is_active == True)
if exam_pattern:
- query = query.where(models.Test.exam_pattern == exam_pattern)
+ if exam_pattern == 'JEE_NEET':
+ pass
+ else:
+ query = query.where(models.Test.exam_pattern == exam_pattern)
if type:
query = query.where(models.Test.type == type)
else:
diff --git a/src/app/dashboard/layout.tsx b/src/app/dashboard/layout.tsx
index 80aa8e5..656dc7f 100644
--- a/src/app/dashboard/layout.tsx
+++ b/src/app/dashboard/layout.tsx
@@ -414,7 +414,7 @@ export default function DashboardLayout({ children }: { children: ReactNode }) {
{trialInfo.isTrialActive && (
- {trialInfo.trialDaysRemaining} Days Free Trial Remaining
+ {trialInfo.trialDaysRemaining} Days Remaining out of {trialInfo.trialTotalDays} Days in Free Trial
)}
diff --git a/src/app/signup/page.tsx b/src/app/signup/page.tsx
index 2e8b78f..ef9e93b 100644
--- a/src/app/signup/page.tsx
+++ b/src/app/signup/page.tsx
@@ -120,9 +120,9 @@ export default function SignupPage() {
You have full AI Coach access for your trial period. Let's build your streak starting today.
-
+
- Choose Your Plan →
+ Go to Dashboard →
@@ -259,7 +259,7 @@ export default function SignupPage() {
- Institute Name (Optional)
+ Institute Name
{step === 1 ? "Continue" : "Complete Setup"}