Skip to content

Requirement placements and requirement rows - #154

Merged
HarryRandall merged 8 commits into
feat/anu-first-read-reviewfrom
feat/requirement-rows
Sep 26, 2026
Merged

HarryRandall merged 8 commits into
feat/anu-first-read-reviewfrom
feat/requirement-rows

Conversation

@HarryRandall

@HarryRandall HarryRandall commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Merge after #153. Replaces #148.

Before: plan courses were not allocated to degree requirements, and the requirements page showed long rule rows.

After: plan courses are allocated to degree requirements (with electives) and a student can place a course under a chosen rule. Requirement rows are compact and collapsible, sorted by what is left to do, with purple for planned and green for complete, and suggest courses for unmet rules. Structure imports read requirement scope and the majors and minors a programme page lists as its options. Admins can preview structures as sample students.

How: five feature commits (placements storage with migrations 017 and 018, allocation, structure import, sample-student preview, requirement rows), then a test update for course rows that now always link.

Verification

  • Format, lint, tsc, unit, database and browser tests pass; CI green

Deployment notes

Migrations 017_requirement_scope.sql and 018_requirement_placements.sql. They are applied to haz's local Supabase only. Merging to main runs the production migration job.

@vercel

vercel Bot commented Sep 26, 2026

Copy link
Copy Markdown

Deployment failed for project coursemap with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/coursemap?upgradeToPro=build-rate-limit

@HarryRandall
HarryRandall added this pull request to stack #156 September 26, 2026 09:48
@HarryRandall
HarryRandall merged commit a8bc95b into main Sep 26, 2026
11 of 12 checks passed
@HarryRandall
HarryRandall deleted the feat/requirement-rows branch September 26, 2026 10:03

This branch was successfully deployed

1 active deployment
Preview — fde56af9 Deployed Sep 26, 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.

2 participants