site: link each model to its own page, add Released, fix narrow layout - #9
Merged
Merged
Conversation
Three changes, found by actually rendering the site. Every Anthropic model linked to the same deprecations page. `sources` is stored sorted, so sources[0] is whatever sorts first, not the page about that model. primarySource() now scores each URL against the model id, including the family-stripped and undated forms, because provider docs write claude-opus-4-5-20251101 as /models/opus-4-5/overview. Verified across all three providers. Adds a Released column. Release dates exist for 20 of 25 records now and a lifecycle registry that hides them is not doing its job. Narrow-viewport hygiene: min-width:0 on the flex main so a wide table scrolls inside its wrapper instead of stretching the page, overflow-wrap on inline code and URLs, 16px form controls so iOS does not zoom on focus, and a full-width search field with larger sort targets under 640px. Measured, not guessed: both pages report documentElement.scrollWidth === clientWidth at 500px with no clipping rule anywhere. site-smoke now fails if a column's data-sort has no case in sortKey(), which would otherwise sort every row by undefined and read as "sorting is broken". Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Found by rendering the site rather than reading it.
Every Anthropic model linked to the same page.
sourcesis stored sorted, sosources[0]is whatever sorts first, which was the deprecations index.primarySource()now scores each URL against the model id, including the family-stripped and undated forms, since provider docs writeclaude-opus-4-5-20251101as/models/opus-4-5/overview. Verified across all three providers.Added a Released column. Release dates now exist for 20 of 25 records, and a lifecycle registry that hides them is not doing its job.
Narrow-viewport hygiene.
min-width: 0on the flexmainso a wide table scrolls inside its wrapper rather than stretching the page,overflow-wrapon inline code and URLs, 16px form controls so iOS does not zoom on focus, and a full-width search field with larger sort targets under 640px.Measured rather than assumed: both pages report
documentElement.scrollWidth === clientWidthat 500px with no clipping rule anywhere. I briefly addedoverflow-x: hiddenand removed it again once measurement showed containment was already genuine, since clipping would hide future regressions and makes the property untestable.New smoke check.
site-smokefails if a column'sdata-sorthas no case insortKey(), which would otherwise sort every row byundefinedand read as "sorting is broken".