Project

General

Profile

Actions

Improvement #230

open

Resolve tasks N7

Added by Nikita Kushwaha on 09/29/2026 07:25 AM. Updated on 09/29/2026 07:27 AM.

Status:
New
Priority:
Normal
Start date:
09/29/2026
Due date:
% Done:

0%

Estimated time:

Description

Goal
N7 (Tuesday 29 September, M9, #100) is complete. A free user opening a premium exam sees an upgrade prompt, and every upgrade goes to /pricing.

What changed
  • Frontend/src/components/PremiumGate.tsx — premium exam and a non-premium plan show the upgrade prompt instead of the questions. A logged-out user is sent to /signin with returnTo
  • Frontend/src/components/PremiumGate.css — layout for that prompt
  • Frontend/src/LMS/exams/ExamPage.tsx — exam pages use the guard, so the exam routes are covered together
  • Frontend/src/components/UpgradeModal.tsx — upgrade now opens /pricing
  • Frontend/src/pages/SignIn.tsx — after login the student returns to the exam
  • The first topic stays free
  • Pushed to branch nikita, commit 6ba47ddc5303401af00d5cdf87ed2f402fe4b895
  • Merged into branch development, merge commit 47ebd10f140349dbc7a2d5271420810440c0b90c. The nikita branch was not deleted
How to verify
  1. Open the GitLab commit URLs below and confirm nikita was merged into development
  2. As a Freemium user, open JEE Advanced and confirm the upgrade prompt, not the questions
  3. Open JEE Main and confirm the exam opens. See plans goes to /pricing
Links

No data to display

Actions

Also available in: Atom PDF