Skip to content

Show college cutoffs as one all-categories grid and drop the eligibility check - #112

Merged
kewonit merged 1 commit into
mainfrom
feat/college-cutoff-grid
Nov 30, 2026
Merged

kewonit merged 1 commit into
mainfrom
feat/college-cutoff-grid

Conversation

@kewonit

@kewonit kewonit commented Nov 30, 2026

Copy link
Copy Markdown
Owner

What changes

Cutoff tables (MHT-CET and JEE college pages)

  • The "Your seat" view and the table switch are gone; the all-categories grid is the only table.
  • A column header selects that category and sorts by it; Program sorts by name. "Only what I clear" now filters the grid on JEE too.
  • MHT-CET grid: Defence, PWD and Orphan columns; Minority in the Special options; "None (Type E candidature)" in Home university. Choice codes with their copy button sit under each program name.
  • A saved category the college does not publish falls back to Open on that page and stays saved for other colleges.

Eligibility check

  • The section, its form, /api/admissions/fit and the profile modules behind it are removed.
  • The saved profile and table-view keys are cleared from local storage on the next visit. The cookie policy table no longer lists them.

2024 seat matrix

  • A wide grid: intake, seats per category with the ladies count, then TFWS, Defence, PWD, Orphan and, where present, EWS, Minority, All India and Institute seats.
  • Colleges with a home-university split show Home and Other university rows under each program's totals.

Worth a look before merging

  • Server HTML on MHT-CET college pages. The old table rendered every seat pool of every program into the page (inside the row expanders), including Ladies and home/other-university pools. The grid renders one seat per category, so those pools now appear only after choosing Seat or Home university. Title, description, canonical, H1 and JSON-LD are unchanged.
  • JEE round chart. The per-program chart lived in the removed expander; it remains on each program page.
  • Policy wording. The privacy and cookie policy text still describes a saved candidate profile and a "Clear profile" control. Only the storage-key table is updated here.
  • No exam-countdown files change.

Testing

  • Typecheck and lint pass.
  • JEE e2e spec at 390 and 1440 against the dev server: 47 passed, 2 failed. Both failures are the wrong-exam redirect assertion expecting an absolute https://www.deetnuts.com Location, which the dev server returns as a relative path.
  • Checked in Chrome on local data (2026 Round 1): VJTI, a home-university-split college and a minority college for MHT-CET; Assam University for JEE Main. Phone width checked for page overflow.
  • The seat matrix was checked with rows from the public seat-matrix API served through a local stand-in for PocketBase.

…ity check

- MHT-CET and JEE college cutoff tables lose the "Your seat" view and its
  row expanders; the all-categories grid is the only table. A column
  header selects that category and sorts by it, Program sorts by name, and
  "Only what I clear" filters the grid on both exams.
- The MHT-CET grid gains Defence, PWD and Orphan columns, Minority joins
  the Special options, and Home university gains "None (Type E
  candidature)". Choice codes and their copy button sit under each
  program name. A saved category the college does not publish falls back
  to Open on that page.
- The Eligibility check section, its form, /api/admissions/fit and the
  profile modules behind it are removed. The saved profile and table-view
  keys are cleared from local storage, and the cookie policy table no
  longer lists them.
- The 2024 seat matrix is a wide grid: intake, seats per category with
  the ladies count, then TFWS, Defence, PWD, Orphan and, where present,
  EWS, Minority, All India and Institute seats. Home and other university
  seats sit under each program's totals.
- The chart e2e test reads the college trend chart, since the per-program
  chart lived in the removed expander.
@kewonit
kewonit merged commit 32863b0 into main Nov 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant