From 733faefb98ccd319a13145721757de793acbfaac Mon Sep 17 00:00:00 2001 From: Tudor Date: Mon, 20 Jul 2026 17:13:37 +0100 Subject: [PATCH] fix(detail): label which phase all-through admissions figures cover (Batch F) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Final Ofsted/education-expert review of the detail page (Batch F) found one clarity gap: on an all-through school the Admissions block shows a single entry point's figures (Hessle's are the Year 7 secondary intake — admissions.school_phase = "Secondary") but is titled just "Admissions", so a parent interested in the reception/primary intake could read the Year 7 numbers as the whole school. Add a phase subtitle for all-through schools ("These figures are for secondary entry (Year 7)." / "...primary entry (Reception)."). Pure-primary and pure-secondary pages are unambiguous and unchanged. Rest of the review verified correct against source payloads: all three Ofsted regimes (report card / ungraded post-Sept-2024 / carried-forward), England- average anchoring, gap-honest trend charts (KS2 + KS4), all-through dual-phase rendering, and the mobile layout. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB --- nextjs-app/components/SchoolDetailView.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nextjs-app/components/SchoolDetailView.tsx b/nextjs-app/components/SchoolDetailView.tsx index e353795..ce0b207 100644 --- a/nextjs-app/components/SchoolDetailView.tsx +++ b/nextjs-app/components/SchoolDetailView.tsx @@ -887,6 +887,15 @@ export function SchoolDetailView({ )} + {/* All-through admissions data covers a single entry point (usually the + Year 7 secondary intake), not reception — say so, or a parent could + read these as the whole-school figures. */} + {isAllThrough && admissions.school_phase && ( +

+ These figures are for {admissions.school_phase.toLowerCase()} entry + {/secondary/i.test(admissions.school_phase) ? ' (Year 7)' : /primary/i.test(admissions.school_phase) ? ' (Reception)' : ''}. +

+ )}
{/* This-year Q&A */} -- 2.54.0