feat: add the shared year picker - #119
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
A year is four characters, but the picker was the same 224px menu of generously spaced rows that a labelled choice needs, so a single number read as the heaviest control on the directory toolbar. OptionPicker gains a compact mode that sizes the menu to its content, and the year picker takes it along with the small trigger and tabular figures. The years were also listed oldest first, which put the year being worked on at the bottom of the list. Newest first.
The year picker was our own composition: OptionPicker, a popover holding a searchable option menu, sized for labelled choices. For a handful of four-digit years it drew a heavy list below the trigger. The repository had never vendored ReUI's select, so there was no native-feeling control to reach for and the option picker was stretched to fit. select.tsx is taken from the pinned revision 8a2c701eaf95729f238274d5ce2555a5a8bd23e7 at registry/bases/radix/ui, with the same two import rewrites as the other primitives and nothing else changed. Its MARK: Select section is copied from the upstream Nova stylesheet, as packages/ui/README.md requires, having been pruned with the components Coursemap had not taken. Its three icons resolve to Lucide. The year picker now opens with the current year aligned over the trigger. OptionPicker loses the compact mode added for it, which nothing else used.
HarryRandall
force-pushed
the
feat/requisite-graph-and-structure-page
branch
from
September 22, 2026 12:25
8a4754c to
c31766d
Compare
HarryRandall
force-pushed
the
feat/year-picker-select
branch
from
September 22, 2026 12:25
063733d to
4d53aa8
Compare
Base automatically changed from
feat/requisite-graph-and-structure-page
to
main
September 22, 2026 12:38
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 4 of 16. It contains the focused commits between
feat/requisite-graph-and-structure-pageandfeat/year-picker-selectand 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.