Skip to content

feat: rebuild the structure page around what its content means - #136

Merged
HarryRandall merged 1 commit into
feat/review-confidence-flagsfrom
feat/structure-page-redesign
Sep 23, 2026
Merged

HarryRandall merged 1 commit into
feat/review-confidence-flagsfrom
feat/structure-page-redesign

Conversation

@HarryRandall

Copy link
Copy Markdown
Owner

Summary

Follows #135.

  • Rebuilds the student-facing structure page around the meaning of its content. Related records are split into "Offered in", "Choose from" and "Cannot be combined with" cards, with programme options grouped as majors, minors and specialisations.
  • Renders the model's limited Markdown vocabulary as semantic headings, paragraphs and lists. Course and ANU catalogue references open the matching Coursemap record, email addresses are clickable, external links open safely and raw HTML is never rendered.
  • Keeps page composition focused by extracting the shared catalogue Markdown renderer, relationship cards and section cards. Section navigation appears only when there are at least three information sections.
  • Adds unit and component coverage for reference resolution, safe Markdown rendering and the structure-page behaviour.

Verification

  • pnpm verify (536 unit/component tests, production build and 8 anonymous browser tests)
  • Browser smoke test against populated catalogue data was not run because Docker Desktop is off and the local stack is shared.
  • No Supabase schema or generated-type change in this PR.

Deployment notes

None.

@vercel

vercel Bot commented Sep 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coursemap Ready Ready Preview Sep 23, 2026 7:53am UTC

The Related card listed every code the ANU page mentioned, and Information
printed each scraped line as its own row, page furniture included. A
structure now shows the degrees it is offered in, the majors, minors and
specialisations a programme lets students choose, and what it cannot be
combined with, each under its own heading with titles rather than bare codes.
Information shows the fixed sections as tidied prose: lists read as lists,
course codes and record links open in Coursemap, other links open safely and
nothing is rendered as raw HTML. The jump list appears only when there are
enough sections to need it.
@HarryRandall
HarryRandall force-pushed the feat/structure-page-redesign branch from 5eaad19 to 42600d6 Compare September 23, 2026 07:49
@HarryRandall
HarryRandall added this pull request to stack #137 September 23, 2026 07:55
@HarryRandall
HarryRandall merged commit 064a982 into main Sep 23, 2026
6 checks passed
@HarryRandall
HarryRandall deleted the feat/structure-page-redesign branch September 23, 2026 07:55

This branch was successfully deployed

1 active deployment
Preview 42600d6a Deployed Sep 23, 2026 by vercel[bot]
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