fix(school): drop the nearby section's lede, which repeated its heading #180
Open
tudor
wants to merge 1 commits from
fix/nearby-drop-lede into main
pull from: fix/nearby-drop-lede
merge into: tudor:main
tudor:main
tudor:fix/scheduled-dbt-selectors
tudor:fix/school-page-selective-flag
tudor:feat/header-facts-and-flags
tudor:fix/la-average-cached-failure
tudor:fix/search-row-facts
tudor:fix/header-nursery-and-gender
tudor:feat/phase-order-child-path
tudor:fix/desktop-clear-keeps-search
tudor:fix/modal-close-tap-target
tudor:feat/single-state-school-group
tudor:feat/school-type-groups-faith
tudor:fix/filter-options-not-from-results
tudor:feat/mobile-filter-sheet
tudor:fix/e2e-after-half-mile-default
tudor:fix/map-popup-view-button
tudor:fix/default-radius-half-mile
tudor:fix/toolbar-one-line
tudor:fix/phase-filter-exact-match
tudor:fix/phase-filter-global
tudor:fix/map-pane-header
tudor:feat/map-list-rows
tudor:fix/phone-toolbar-width
tudor:feat/results-map-view
tudor:feat/results-toolbar
tudor:feat/compare-limit-per-phase
tudor:copy/remove-em-dashes
tudor:fix/jump-sheet-under-bottom-bar
tudor:fix/nearby-journey-waits-for-smooth-scroll
tudor:fix/nearby-scroll-journey-clicks-offscreen-card
tudor:fix/nearby-schools-order-by-distance
tudor:feat/similar-schools-nearby
tudor:fix/release-check-diagnostics
tudor:feat/release-identity-and-reliability-gate
tudor:docs/current-truth-and-legacy-inventory
tudor:fix/og-image-route-group
tudor:feat/school-page-place-links
tudor:feat/about-blog-flags
tudor:fix/payload-import-map
tudor:fix/payload-initial-migration
tudor:feat/about-and-blog
tudor:fix/destinations-national-grain
tudor:fix/airflow-fixed-admin-password
tudor:feat/ks4-destinations
tudor:fix/dark-mode-map-popup-contrast
tudor:fix/distance-flag-off-absence-copy
tudor:fix/navigation-source-soft-nav
tudor:feat/place-school-attributes
tudor:feat/place-analytics
tudor:fix/mobile-hero-search
tudor:fix/suggest-reopens-over-results
tudor:fix/dark-map-fade
tudor:fix/hero-dropdown-clipping
tudor:feat/school-autosuggest
tudor:fix/flags-runbook
tudor:feat/feature-flags
tudor:fix/place-phase-links
tudor:feat/place-alphabetical-sort
tudor:fix/e2e-canonical-and-robots
tudor:feat/place-multiple-authorities
tudor:fix/place-table-alignment
tudor:fix/place-presentation-to-main
tudor:fix/place-title-brand-doubling
tudor:fix/place-page-presentation
tudor:fix/place-phase-variants
tudor:fix/locality-collision-skip
tudor:feat/w2-location-layer
tudor:feat/seo-metadata-c1
tudor:fix/sitemap-any-year-data
tudor:fix/staging-noindex
tudor:feat/seo-crawl-hygiene-main
tudor:feat/hero-artwork
tudor:fix/homepage-truth-and-rhythm-main
tudor:feat/brand-logo-artwork
tudor:fix/homepage-truth-and-rhythm
tudor:feat/schoolcompare-brand
tudor:feat/detail-gias-fields-remove-unwired
tudor:fix/special-schools-not-failing
tudor:fix/detail-allthrough-admissions-phase
tudor:fix/expert-signoff-shouldfixes
tudor:fix/gias-blank-name-codes
tudor:feat/compare-api-enrichment
tudor:feat/gias-code-dictionaries
tudor:feat/compare-chart-mobile-readability
tudor:feat/pr-comment-agent
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What
School pages no longer print a sentence under the "Other schools nearby" heading. It read "Other primary schools near .", which repeated the heading.
Changes
NearbySchoolsSection: the heading is now the whole header.nearbyNoun()and thephaseandschoolNameprops existed only to build the sentence, so they are removed, along with their tests and the props at both call sites.NearbySchools.module.css: the sentence's 1.25rem bottom margin was the only gap between the heading and the cards, so it moves to.top. With only the heading left in that row,.topnow centres it against the carousel arrows instead of aligning to their top.Verification
npm test: 72 suites, 621 tests pass.npm run typecheck: clean.No e2e journey checks the sentence, so none change. There is no new test that it stays gone, because that would only check wording.
🤖 Generated with Claude Code
🤖 AI Code Review (Claude Code)
Removes the lede paragraph and the nearbyNoun helper from the nearby-schools section, along with the now-unused schoolName and phase props, and updates callers, CSS and tests. This is a consistent UI-only cleanup with no data or backend impact, and it looks healthy.
✅ No issues found.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.