Model picker - #13
Open
CrackedResearcher wants to merge 3 commits into
Open
Conversation
A model picker built on the country picker's architecture: portalled anchored panel, ranked search, keyboard model, scroll-edge fades. What it adds is the part specific to choosing a model — capability chips derived from your own tags, recents, locked models that stay visible and say why, and prices. Hover, selection, badge and fade treatments are taken from the country picker rather than reinvented, so the two read as one family. The one deliberate departure is that section headings do not pin: a pinned heading either lets the row behind show through it or guillotines that row at an invisible line, which is worth paying for 198 countries and not for a dozen models. No runtime dependencies beyond React. Types, price formatting and the meter scale ship as a separate entry so they can be imported without React. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the docs page, a demo catalogue of real models, and a probe harness for the states a headless screenshot cannot reach by clicking — open, filtered, locked, and parked mid-scroll. The demo's marks are real: ChatGPT and Gemini are served from public/ the way the country picker's flags are, the rest from the simple-icons CDN. OpenAI's mark was pulled from that CDN, which is left visible rather than tidied away — it is the failure any real catalogue eventually hits, and it is what the initial-letter fallback exists for. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
No description provided.