Repository navigation
Website content v2, redesign bug fixes, and Playwright test suite - #2
Merged
Merged
Conversation
Implements the remaining content-v2 prompt (subhead, data-privacy section, grouped features, annotated screenshot, open-source/for-whom sections, 7-item FAQ, /datenschutz page) plus the verified bugs from the redesign brief: centralizes the GitHub repo reference (was hardcoded to the wrong org in several places), turns /windows /macos /linux into thin redirects to /download#anchor instead of duplicating content, and fixes a duplicate id="download" that broke anchor scrolling. Also addresses issues found during manual + user testing: - Footer GitHub stats were refetching the API 3x per page x 6 pages per build, burning through the unauthenticated rate limit; memoized into src/lib/github-stats.ts so it fetches once per build/dev process. - /download page tabs used a non-existent `rounded-klein` Tailwind class and a `!important` legacy override, producing a cramped, unstyled layout; rebuilt as a proper pill tab-switcher with glass-card panels, removed the dead `!important` CSS and the unused legacy tailwind.config.mjs (Tailwind v4 uses the CSS-based @theme in global.css instead). - Hero rotating example replaced with a small vanilla-JS typewriter effect (delete-and-retype, 8 well-known example transactions) after establishing that no suitable off-the-shelf library exists (Typed.js/TypeIt are GPL-3.0, conflicting with this repo's MIT license; the MIT alternative requires React). Reduced-motion users get an instant hard-cut swap instead of per-character animation. - Removed 8 dead CSS files and an unused FeatureCard component that were never imported anywhere. Adds a Playwright smoke-test suite (21 tests) covering navigation/anchors, redirects, the FAQ accordion, download tabs and copy button, footer stats structure, and the typewriter effect's typing/deleting/cycling/reduced-motion behavior - wired into CI (new ci.yml for PRs, test step in the deploy workflow) so these regressions are caught automatically going forward. Co-Authored-By: Claude Sonnet 5 <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.
Summary
Implements the remaining
prompt-website-content-v2.mdscope plus verified bugs from the redesign brief, and fixes several issues found during manual/user testing.Content v2
<details>/<summary>markers, no JS)/datenschutzpage (data table + network-call disclosure), linked from the footer onlyVerified bugs from the redesign brief
src/lib/repo.ts(was hardcoded to the wrong org in Hero/Header/Footer/README) and fixed the org itself/windows/macos/linuxare now thin<meta http-equiv="refresh">redirects to/download#anchorinstead of duplicating all install contentid="download"(Hero + DownloadButtons) that produced invalid HTML and broke anchor scrolling — found by the new test suiteFollow-up fixes from testing
src/lib/github-stats.tsso it fetches once per build/dev process./downloadpage tabs referenced a non-existentrounded-kleinTailwind class plus a legacy!importantoverride, producing an unstyled, cramped layout. Rebuilt as a proper pill tab-switcher with glass-card panels; removed the dead CSS override and the unused legacytailwind.config.mjs(Tailwind v4 uses the CSS-based@themeinglobal.cssinstead, so the JS config was never actually loaded).FeatureCardcomponent that were never imported anywhere.Testing
Added a Playwright smoke-test suite (21 tests) covering navigation/anchors, OS redirects, the FAQ accordion, download tabs + copy button, footer stats structure, and the typewriter effect's typing/deleting/cycling/reduced-motion behavior. Wired into CI: a new
ci.ymlruns it on PRs, and a test step runs before deploy indeploy-website.ymlso a broken build never ships.Test plan
npm run buildsucceedsnpm test(21 Playwright tests) passes locally/downloadtabs on all 3 OS,/datenschutz, OS redirects)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com