Commit graph

3350 commits

Author SHA1 Message Date
Iain
9f823f456f
docs: update prophet and pyrefly URLs to the meta org 2026-10-29 20:18:31 +00:00
Vinta Chen
732d4919ba
style: capitalize section comments in .gitignore
Some checks failed
CI / test (push) Has been cancelled
Deploy Website / deploy (push) Has been cancelled
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-29 20:38:36 +08:00
Vinta Chen
91e199ced6 docs: fix grammar of loguru description
Some checks failed
CI / test (push) Has been cancelled
Deploy Website / deploy (push) Has been cancelled
The loguru description broke the Description Style grammar: it lacked an article, used "which" on a restrictive clause, and said "bring ... in" instead of "to".

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 09:25:48 +08:00
Vinta Chen
09e8e0f116
docs: add description style rule and audit check
CONTRIBUTING.md had no description style rule and audit-the-list never read descriptions, so verbatim taglines with grammar, hyphenation, and capitalization errors stayed in README.md.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 08:29:11 +08:00
Vinta Chen
91479c676e
docs: fix grammar and hyphenation in README descriptions
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 08:23:50 +08:00
Vinta Chen
0bc053bdab
docs: fix grammar in README descriptions
The Static Site Generators description used "a software", funcy's entry put "A" before plural "tools", and pyarmor's entry lacked an article.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 08:21:09 +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
Vinta Chen
b91f2ab950 style: highlight Sponsorship in the topbar instead of Submit a project
The navbar gave Submit a project the highlighted style that marks the main call to action.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-27 20:56:58 +08:00
Vinta Chen
a348248251 test: remove entry links test
The test ran main.js against a hand-built fake page, so any new browser API main.js used at page load broke it with a TypeError unrelated to entry links.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-27 20:51:19 +08:00
Vinta Chen
0f4318b996
Merge pull request #3389 from Shubham-Padkonde/fix/entry-links-after-filters
fix(website): open entry anchors after restoring filters
2026-10-27 20:50:31 +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
14eb4a19b8
Merge branch 'fix/ui-issues' 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
a1e6058986
refactor: extract site topbar into a shared template partial
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
aa6f632ed8
refactor: share entry rows macro between home and category pages
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
f4191b2746
refactor: extract shared projects table macro
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
f02791ac58
refactor: extract the Contribute CTA into a shared partial
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
a7df2a9f0e
refactor: share the hero category nav between home and category pages
The "Browse by category" markup was duplicated in index.html and category.html, and the two copies had drifted.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
7974eeacdf
fix: render group page category list as collapsible details
Group pages rendered "Browse by category" with a plain div heading instead of the homepage's details/summary, so the two-column grid never applied, the arrow showed but did nothing, and the list didn't collapse on phones.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-26 12:08:15 +08:00
Vinta Chen
00129eb2a6
Merge pull request #3387 from vinta/dependabot/uv/certifi-2026.10.19
build(deps): bump certifi from 2026.10.18 to 2026.10.19
2026-10-26 12:07:28 +08:00
dependabot[bot]
9642c93b1f
build(deps): bump certifi from 2026.10.18 to 2026.10.19
Bumps [certifi](https://github.com/certifi/python-certifi) from 2026.10.18 to 2026.10.19.
- [Commits](https://github.com/certifi/python-certifi/compare/2026.10.18...2026.10.19)

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2026.10.19
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-26 04:04:08 +00:00
Vinta Chen
4a33b2ccbd
docs: let the design browser check use any real browser
Some checks are pending
CI / test (push) Waiting to run
Deploy Website / deploy (push) Waiting to run
2026-10-25 23:31:55 +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
b23ca01edd
docs: use a straight apostrophe in the markdown entry description
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:48:53 +08:00
Vinta Chen
43578a40c9
fix: use straight quotes in home hero kicker
Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-25 22:47:45 +08:00
Vinta Chen
9397f5230e
Merge branch 'fix/minor-ui' 2026-10-25 22:35:16 +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