Repository navigation
Conversation
The home page gets a section after "What the platform does" for the Pull requests overview, the Pull requests list and using CoderHelm from a phone, each linked to its docs page. Its pictures are light versions taken from the dashboard's own made up data by a new landing-shots spec (dashboard/e2e/landing-shots-prs.spec.ts) and converted by home-shots.py, which now also keeps phone screens at their own width. The docs home lists the three pages under "New in CoderHelm" and in the "Use CoderHelm" path, and the quickstart's next steps point to them. A TODO marks where "For you" goes in both places once it ships.
There was a problem hiding this comment.
✅ Approved: nothing in the change needs fixing.
Why approved: nothing blocks (no required rule broken, no failing check, no shown defect, no unproven critical path); no findings.
Details: PR Overview · 🎯 Risk · 🧪 Verification
PR Overview
Adds a home page section and docs home tiles for the Pull requests pages, with new dashboard screenshots, a spec to capture them, and an image script that keeps phone screens at their own width.
Changes
- New home page section after "What the platform does" showing the Pull requests overview, the list, and two phone screens, with links to docs
- New landing-shots spec captures four screenshots from the existing mocks, only when LANDING_SHOTS_DIR is set
- home-shots.py gains four jobs and a "phone" mode that skips the crop and the resize and writes
<name>-750.{webp,avif}plus a PNG fallback - ProductShot takes a picture made at one width (
only) - Docs home gets three tiles and two icons, the "Use CoderHelm" path lists both pages, and the quickstart gets one more next-steps line
- landing.spec.ts checks the new heading order, the three parts, their docs links, and alt text and lazy loading on the four pictures
- New home page section "Every open pull request, and whose turn it is", with two desktop screens and a phone row, placed after "What the platform does"
- The section's words live in site.ts, so the Markdown twin and llms.txt carry the same text
Reviewed Changes
27 changed files.
Show a summary per file
| File | Description |
|---|---|
dashboard/e2e/landing-shots-prs.spec.ts |
New screenshot spec for the Pull requests pages and the phone views, gated on LANDING_SHOTS_DIR. |
dashboard/scripts/home-shots.py |
Adds the prs, prs-overview, phone-prs and phone-merge jobs and a "phone" mode that keeps the screen's own width. |
docs/components/home.tsx |
Adds the chart, phone and pr icons to the tile icon map. |
docs/content/docs/getting-started/index.mdx |
Adds a next-steps line linking the pull request pages and the phone page. |
docs/content/docs/index.mdx |
Adds two links to the 'Use CoderHelm' path and three new tiles, with a marked TODO for 'For you'. |
e2e/landing.spec.ts |
Adds the new heading to the section order and a test of the new section's links and pictures. |
public/shots/home/phone-merge-750.avif |
New phone merge picture, AVIF. |
public/shots/home/phone-merge-750.webp |
New phone merge picture, WebP. |
public/shots/home/phone-merge.png |
New phone merge picture, PNG fallback. |
public/shots/home/phone-prs-750.avif |
New phone list picture, AVIF. |
public/shots/home/phone-prs-750.webp |
New phone list picture, WebP. |
public/shots/home/phone-prs.png |
New phone list picture, PNG fallback. |
public/shots/home/prs-1280.avif |
New Pull requests list picture, AVIF, 1280 wide. |
public/shots/home/prs-1280.webp |
New Pull requests list picture, WebP, 1280 wide. |
public/shots/home/prs-2400.avif |
New Pull requests list picture, AVIF, larger size. |
public/shots/home/prs-2400.webp |
New Pull requests list picture, WebP, larger size. |
public/shots/home/prs-overview-1280.avif |
New overview picture, AVIF, 1280 wide. |
public/shots/home/prs-overview-1280.webp |
New overview picture, WebP, 1280 wide. |
public/shots/home/prs-overview-2400.avif |
New overview picture, AVIF, larger size. |
public/shots/home/prs-overview-2400.webp |
New overview picture, WebP, larger size. |
public/shots/home/prs-overview.png |
New overview picture, PNG fallback. |
public/shots/home/prs.png |
New Pull requests list picture, PNG fallback. |
src/app/page.tsx |
Adds the PullRequests section and a shared PartTitle, which Platform now uses too |
src/components/ProductShot.tsx |
Builds a one-width srcset when a shot sets only |
src/content/shots.ts |
Adds the only option, a phoneScreen helper and four new shots with alt text |
src/content/site.ts |
Adds the pull-requests section with three cards and a TODO for the "For you" card |
src/content/types.ts |
Adds four ShotIds and an optional also field on cards |
I read the changed script and the other parts of the change that it depends on: the new landing-shots spec, shots.ts and the helpers the spec imports. The phone branch in home-shots.py writes <name>-750.* and <name>.png, which matches phoneScreen in shots.ts (width 750, only: 750). The spec's imports (mockOverview, mockInbox, hideDevOverlay, skipLanding, capture, prepare) all exist.
🎯 Risk: MEDIUM (50/100)
██████████blast radius 100 — ~94 dependent refs; hottest: home.tsx (~25), index.mdx (~25), index.mdx (~25) · cross-repo consumers: home.tsx to 1 repo(s), index.mdx to 1 repo(s)░░░░░░░░░░sensitive area 0 — no sensitive areas touched████░░░░░░test coverage 40 — 25 source / 2 test file(s) changed████░░░░░░size/spread 37 — 236 lines across 27 file(s), spread 78%
🧪 Verification
✅ Ran cd '.' && npm ci --no-audit --no-fund --workspaces=false in the sandbox: passed.
✅ Ran cd '.' && npx --no-install tsc --noEmit -p tsconfig.json in the sandbox: passed.
✅ Ran cd 'dashboard' && npm ci --no-audit --no-fund --workspaces=false in the sandbox: passed.
✅ Ran cd 'dashboard' && npm run typecheck in the sandbox: passed.
✅ Ran cd 'docs' && npm ci --no-audit --no-fund --workspaces=false in the sandbox: passed.
✅ Ran cd 'docs' && npm run typecheck in the sandbox: passed.
Not run here:
e2e/landing.spec.tsis an end-to-end spec: it runs against a preview, not in the review's sandbox, so the pull request's CI result stands for itdashboard/e2e/landing-shots-prs.spec.ts: packagedashboardhas no unit-test script whose runner takes one file, so the pull request's CI result stands for it
Was this review right? Rate it 👍 / 👎 so the reviewer learns · reply @coderhelm re-review or @coderhelm <question>
|
Auto-merge · waiting
|
Summary
The home page and the docs home now show the pull request pages: the Pull requests overview, the Pull requests list, and answering, approving and merging from a phone. Each one links to its docs page. The pictures come from the dashboard, run on the same made up data its tests use.
"For you" has a marked TODO in both places. It goes there once it ships.
Changes
src/content/site.ts,src/app/page.tsx). It sits right after "What the platform does":site.ts, so the Markdown twin and llms.txt say the same thing as the page.public/shots/home/prs*,phone-*):dashboard/e2e/landing-shots-prs.spec.ts, takes them in the site's light colors from the existing mocks. Like the other landing-shots specs, it only runs withLANDING_SHOTS_DIRset.home-shots.pyconverts them. It now keeps phone screens at their own width.ProductShottakes a picture made at one width (only).docs/content/docs/index.mdx):docs/content/docs/getting-started/index.mdx): one more line under next steps.e2e/landing.spec.ts):Verification
check:links(none broken),check:output, and the end-to-end tests (167 passed).Docs home, after: