feat: add the catalogue student view - #127
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Student view rendered the published version and nothing else, so the one question it exists to answer, what students will see if I publish this, could not be asked. It now leads with the draft and offers Published beside it when there is one, with no dead control when only one exists. A draft reaches the reader by being projected into the shape the database projection returns, so unpublished content travels the published mapping rather than a second one that would drift from it. Publication now drops the cached public reads for the record. They are cached for five minutes by tag, nothing invalidated them, and the tags were spelled out at each call site, so publishing left students on the previous version and nothing in the code connected the two halves. Both sides build the tags in one place. The public catalogue is year-first only. /structures/[code], which chose a year for the reader, is gone, and the requirement options that linked to it now address the year they belong to. The detail clients move out of the deleted route into ui/, and the year-first record routes get the loading and error boundaries that route had and they lacked.
HarryRandall
force-pushed
the
feat/catalogue-student-view
branch
from
September 22, 2026 12:25
cd7d1b9 to
9d94fcd
Compare
HarryRandall
force-pushed
the
feat/catalogue-changelog
branch
from
September 22, 2026 12:25
a452899 to
8bb46a8
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This is stack 12 of 16. It contains the focused commits between
feat/catalogue-changelogandfeat/catalogue-student-viewand targets the branch immediately below it.Verification
Deployment notes
Do not deploy this branch independently. Merge the stack from the bottom upwards. The one-time hosted database rebuild remains a separate approved operation after the complete stack reaches
main.