Commit graph

215 commits

Author SHA1 Message Date
Vinta Chen
9ff02feaf6
feat: add 512x512 PNG logo rendered from favicon.svg
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-06 01:57:42 +08:00
Vinta Chen
9beb5d68b5
fix: open linked entry row when the hash changes after load
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
An entry link like /categories/caching/#entry-diskcache did not open its row when only the hash changed on an already-loaded page (editing the URL, back/forward), because the row-opening logic ran only on initial load.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-27 21:07:51 +08:00
Shubham Padkonde
ee9dfa0d8e fix(website): open entry anchors after restoring filters 2026-10-27 17:36:05 +05:30
Vinta Chen
21d57daf1c
fix: block text rendering until web fonts load
Some checks failed
CI / test (push) Has been cancelled
Deploy Website / deploy (push) Has been cancelled
font-display: optional gives the web fonts only ~100ms; on a cold cache, or once GitHub Pages' max-age=600 expires and the font must revalidate, they miss that window and the whole page view renders in Georgia/Avenir Next until reload.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:42:56 +08:00
Vinta Chen
c212db087c
style: widen the gap below category page heroes
The jump links sat 17.6px above the hero's bottom edge, tighter than the 20px above the topbar, so the hero looked cut short. Bottom padding goes from 1.1rem to 1.75rem; the comment justifying the smaller bottom no longer applies.
2026-10-26 12:08:16 +08:00
Vinta Chen
7f90eee822
refactor: drop the .proof-stat comment that restates white-space: nowrap 2026-10-26 12:08:16 +08:00
Vinta Chen
d58e8d835a
refactor: remove comments that restate the code under website/
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:16 +08:00
Vinta Chen
be3956f902
style: hide back-to-top label on phones
On phones the "Top ↑" header button was wider than the row arrows, so it set the arrow column's width and left a wide gap between the downloads number and the arrow.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:16 +08:00
Vinta Chen
0b9e69252d
style: right-align row arrow on phones
On phones the row arrow was centered in its column, leaving a wider gap on the right edge than on the left.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:16 +08:00
Vinta Chen
f5ec5dd796
style: hide group project count on phones
On phones (max-width 680px) the "N projects" count beside each group heading on category pages crowded the heading into a narrow column.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:16 +08:00
Vinta Chen
90e0365d1e
style: self-host preloaded fonts with font-display optional
Google Fonts loaded async with display=swap, so every first paint showed Georgia and Avenir Next and then visibly switched to the web fonts mid-read.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 23:08:54 +08:00
Vinta Chen
31994bb73f
Revert "style: balance section heading line breaks"
This reverts commit 23b40a8476.
2026-10-25 22:26:40 +08:00
Vinta Chen
58a0349dfe
Revert "style: avoid orphan words in short paragraphs"
This reverts commit 407a8e48bc.
2026-10-25 22:26:40 +08:00
Vinta Chen
67673a386d
fix: drop default outline and opaque-ify search focus ring
Removing .search from the :focus-visible list left the focused search field with Chromium's default blue outline, and its translucent focus border measured 1.65:1 against the page, below WCAG 1.4.11's 3:1.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:25:19 +08:00
Vinta Chen
3fc97705e7 fix: draw a focused tag's ring above the next tag
The focus ring reaches farther than the gap between tags, and the next tag painted over its right side.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:04:51 +08:00
Vinta Chen
179d455259 fix: stop clipping focus rings on links in an opened row
Paint containment on the opened row's details clipped anything drawn outside its box, cutting off the focus outline of links at its edges.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:03:27 +08:00
Vinta Chen
761745ad8c refactor: drop the press transform from tags
Tags are inline links, which CSS transforms do not apply to, so the tag press rule and its transform transition never had any effect.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:01:30 +08:00
Vinta Chen
fdd49249d1 style: switch row borders instantly when a row opens
Table cells faded their border color over 180ms, so opening a row left the old divider visible between the row and its newly shown content before it faded out.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:58:48 +08:00
Vinta Chen
0551570da8 style: shorten row and tag hover transitions
Hover fades of 180ms on a long table left trailing highlights when sweeping the pointer across rows.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:56:05 +08:00
Vinta Chen
74f217ed76 style: scale buttons down on press
The 1px press nudge was barely visible on pill buttons.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:56:05 +08:00
Vinta Chen
6147fa1c80 style: drop the row expand animation
On the home page, opening a row showed the description instantly while the details below it slid in, so one open state moved in two ways.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:57 +08:00
Vinta Chen
407a8e48bc style: avoid orphan words in short paragraphs
Sponsor, sponsorship, call-to-action, and table-note paragraphs could end on a lone word, unlike their peers.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:57 +08:00
Vinta Chen
23b40a8476 style: balance section heading line breaks
Section headings could wrap with a single word on the last line.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:57 +08:00
Vinta Chen
e1d4806abb fix: hide decorative arrows and the search icon from screen readers
Arrow glyphs on rows, jump links, sort headers, and the category toggle, plus the search icon, were exposed to assistive tech, adding noise to every row and link name.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:57 +08:00
Vinta Chen
b46518c497 style: show a single focus ring on the search field
Text inputs match :focus-visible on click, so the search field showed the accent outline on top of its own tinted focus border.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:43 +08:00
Vinta Chen
d829a262a3 style: center tag tap targets without overlapping neighbours
Each tag's tap area overlapped the next tag's and, with both insets plus min-height set, grew downward only, sitting off-center.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:43 +08:00
Vinta Chen
242af0e11e style: extend topbar link tap targets to 44px
Topbar links were about 37px tall, short of a 44px touch target.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:43 +08:00
Vinta Chen
ac8cffc779 style: enlarge category link tap targets on phones
On phones the hero's category links were about 17px tall and 4.5px apart, below the 24px minimum touch target.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:43 +08:00
Vinta Chen
ba0d4c397e fix: keep the hidden back-to-top button out of the tab order
The hidden back-to-top button was only transparent, so Tab still stopped on it and its focus outline was invisible.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 21:55:24 +08:00
Vinta Chen
f8e618ccae
style: match each hero's bottom gap to its top gap
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
The heroes ended 38px (home), 59px (category pages), and 80px (sponsorship) below their last line, against 20px above their top bar.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:13:55 +08:00
Vinta Chen
5ab66e83e8
style: match each section's bottom gap to its top gap
Measured from the section edge to the nearest glyph or filled box, the guide band put 92px under its text against 51px above its heading, the sponsor band 67px against 52px, and the Sponsorship page sections ranged from 69px to 92px under content that sat 68px to 84px below their tops.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:05:01 +08:00
Vinta Chen
65ce927b80
style: match the contribute section's bottom gap to its top
The space above the label's first line added about 8px to the visible top gap, so the buttons sat closer to the footer than the label sat to the table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-22 00:01:48 +08:00
Vinta Chen
36a05fc3b7
style: match the gap under the search box to the gap above the table heading
The search box sat 22px above the table while the heading sat 48px below the sponsor band.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:58:05 +08:00
Vinta Chen
3efb5a35bf
style: keep the search hint on one line and shorten the homepage table heading
The hint's column capped at 28rem, so "Press / to search. Tags open their category. Click a row for details." wrapped to two lines beside the heading.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:56:32 +08:00
Vinta Chen
d87b4601a3
style: list categories down each column in the browse-by-category nav
The grid filled rows left to right, so reading down a column skipped through README order four categories at a time.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:53:50 +08:00
Vinta Chen
039769f0f9
style: tighten the gap under the contribute section's label
The label's 1.5rem bottom margin stacked on the section's 1rem grid gap, leaving 51px between "Contribute" and the heading.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:52:17 +08:00
Vinta Chen
e11a67638d
style: drop the scroll-in reveal animation from every section
Sections faded and slid in as they scrolled into view, so screenshots and quick scrolls caught the sponsor band and search box half-drawn.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:51:21 +08:00
Vinta Chen
6577093a7e
style: shrink the contribute section's top and bottom gaps
The section put 88px above its label and below its buttons; it now uses the page's side gutter like the table and guide sections.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:50:08 +08:00
Vinta Chen
d5c61d469b
style: shrink the gaps above the table and the category guide
The table section started 72px below the sponsor band, and a one-line order note sat at the bottom of its grid row beside the two-line search hint, so category pages put 97px above the first text. The guide band put 81px above its heading. Both now use the page's side gutter.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:46:14 +08:00
Vinta Chen
3a5af3f87f
style: list stars before the commit time in expanded rows
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:44:32 +08:00
Vinta Chen
a08148a2f2
style: start the commit time on its own line in phone expanded rows
On phones the links line wrapped mid-phrase, splitting "19 hours ago" across two lines after the repository URL.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:39:44 +08:00
Vinta Chen
4ea309ff7d
style: render homepage descriptions in the category pages' description row
The homepage printed each description inside its expanded row as .expand-desc, styled apart from the .desc-row that category pages use, so every spacing change to the table had to be tuned twice. The homepage now reveals the same .desc-row while a row is open, so its descriptions take the category pages' 15.2px size, and the .expand-desc markup and styles are gone.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:37:37 +08:00
Vinta Chen
7fa386709c
fix: align phone table rows on one left edge
On phones the hidden number column is the first cell, so the name column fell back to the 0.55rem inner padding and names and descriptions sat 4px left of the links line and group headings, which use 0.8rem.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:31:25 +08:00
Vinta Chen
540bb66ed6
style: tighten the gaps between a row's name, description, and links
An open row put about 38px between the project name and its description and 10px before its links, and category rows put 26px between name and description, because .table tbody td overrode the zero top padding meant for description and expand rows. The top gap is now about 2px larger than the bottom one, since the bold name's descenders make an equal gap look smaller.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:28:59 +08:00
Vinta Chen
f171784d4f
style: give an open row and its expand row one flat background
Each row restarted its own gradient, so the darker bottom of the open row met the lighter top of its expand row and read as a faint border between them.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:18:52 +08:00
Vinta Chen
6e9dc809af
fix: drop plural and sort/search hints on single-project category pages
Pages with one project read "Search 1 projects" and told readers to re-sort or search a one-row table.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 23:12:13 +08:00
Vinta Chen
e51b74c03d
fix: show months instead of 0 years for dates under a year old
Commit dates 360-364 days old rendered as "0 years ago".

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 22:32:35 +08:00
Vinta Chen
60d6cd8dd6
style: align sponsor link with its label in the stacked sponsor band
Below 960px the -1rem top margin on the sponsor link, meant for the side-by-side desktop layout, pulled the sponsor name closer to the link than the link sat to its own label, so the link read as part of the sponsor entry.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:37:51 +08:00
Vinta Chen
11b72122c5
feat: drop the build date stat from the hero stats lines
The hero "Updated on" stat only restated when the site was last built.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:21:48 +08:00
Vinta Chen
28b03ce6b7
fix: stack hero stats on phones instead of running them together
On phones the hero stats ran together as one sentence, breaking wherever space ran out and leaving a "/" dangling at a line end.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-21 20:17:42 +08:00