Skip to content

site: link each model to its own page, add Released, fix narrow layout - #9

Merged
bytebrujo merged 1 commit into
mainfrom
fix/site-links-and-mobile
Sep 4, 2026
Merged

bytebrujo merged 1 commit into
mainfrom
fix/site-links-and-mobile

Conversation

@bytebrujo

Copy link
Copy Markdown
Owner

Found by rendering the site rather than reading it.

Every Anthropic model linked to the same page. sources is stored sorted, so sources[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 write claude-opus-4-5-20251101 as /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: 0 on the flex main so a wide table scrolls inside its wrapper rather than 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 rather than assumed: both pages report documentElement.scrollWidth === clientWidth at 500px with no clipping rule anywhere. I briefly added overflow-x: hidden and 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-smoke 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".

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>
@bytebrujo
bytebrujo merged commit 7ddbba7 into main Sep 4, 2026
3 checks passed
@bytebrujo
bytebrujo deleted the fix/site-links-and-mobile branch September 4, 2026 07:50
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