Skip to content

feat: add the shared year picker - #119

Merged
HarryRandall merged 2 commits into
mainfrom
feat/year-picker-select
Sep 22, 2026
Merged

HarryRandall merged 2 commits into
mainfrom
feat/year-picker-select

Conversation

@HarryRandall

Copy link
Copy Markdown
Owner

Summary

This is stack 4 of 16. It contains the focused commits between feat/requisite-graph-and-structure-page and feat/year-picker-select and targets the branch immediately below it.

Verification

  • GitHub Quality gate
  • GitHub Route gate
  • GitHub Database gate
  • GitHub Browser gate

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.

@vercel

vercel Bot commented Sep 22, 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 22, 2026 1:01pm UTC

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
HarryRandall force-pushed the feat/requisite-graph-and-structure-page branch from 8a4754c to c31766d Compare September 22, 2026 12:25
@HarryRandall
HarryRandall force-pushed the feat/year-picker-select branch from 063733d to 4d53aa8 Compare September 22, 2026 12:25
Base automatically changed from feat/requisite-graph-and-structure-page to main September 22, 2026 12:38
@HarryRandall
HarryRandall merged commit 4d53aa8 into main Sep 22, 2026
4 of 10 checks passed
@HarryRandall
HarryRandall deleted the feat/year-picker-select branch September 22, 2026 12:39

This branch was successfully deployed

1 active deployment
Preview 4d53aa8e Deployed Sep 22, 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