Skip to content

Restyle the web app to the new design - #47

Merged
maaland merged 2 commits into
mainfrom
feat/restyle-34
Oct 7, 2026
Merged

maaland merged 2 commits into
mainfrom
feat/restyle-34

Conversation

@maaland

@maaland maaland commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #34.

What changed

  • Visual system (globals.css, no UI library):
    • Ground #F2ECE0, ink #141414, muted #5C574D, hairlines #D6CFBF.
    • Bricolage Grotesque + JetBrains Mono via next/font, 4 px radii.
    • Teal (#CDEFEF) only for confidence bars.
    • Drippa's hard shadow appears once, on the home search box.
  • Header / footer: "stackprobe · powered by Drippa" (→ drippa.ai) and GitHub. The footer reads "Powered by Drippa. Open source, Apache-2.0." with links to the license and the repo.
  • Home: left-aligned "What's it built on?", one line of explanation, and the big search form.
  • Report (/s/[domain]):
    • A large domain name with one factual sentence about the product's stack ("Product runs on Clerk 5, Next.js and Vercel."). It says so plainly when no product app was found or it couldn't tell. Scan facts sit on the right: scanned, surfaces, took.
    • A tab per surface, product app first. Tabs are real links (?surface=…), so they work without JavaScript and with the keyboard.
    • A row per technology: name, version, category, clue count, confidence, and a bar behind the row as wide as the confidence. Each row is a <details> that opens its evidence in monospace. Screen readers get one sentence per row instead of the visual columns.
    • Below the table, which layers ran and a note if checks failed. "Copy link" and "Scan again" round it off.
    • Running and not-scanned states keep the auto-refresh.
  • Render tests for the report sections (report-sections.test.tsx): the opening sentence and facts, tabs as links with the current one marked, a row per technology with its evidence, which checks ran, and the not-scanned and running states.
  • Logic lives in lib/report-view.ts (verdict sentence, tab order and labels, layers that ran, durations), with unit tests.

Scope

#34 was updated so it matches this PR: the Agents link moves to #39, the "Recently scanned" table to #40, and the How it works and Opt out links to #43 and #42. Each lands together with its page or its data, so no link points at a 404 and no list is faked.

Checked

  • Rendered locally against the real Turso scan at 1280 px and 390 px, with no horizontal page scroll.
  • Lint, typecheck, tests (323) and build pass.

(The Turso scan shown during testing predates #33, so it still has two product-app tabs. New scans fold the sign-in doorway.)

🤖 Generated with Claude Code

- Drippa's calm sibling: cream ground, ink, Bricolage Grotesque and
  JetBrains Mono (next/font), 4 px radii, teal only for confidence bars,
  the hard shadow once (home search box)
- Header with "powered by Drippa" and GitHub; footer with Drippa,
  Apache-2.0 and the repo
- Home: left-aligned headline and the big search form
- Report: domain, one factual sentence about the product's stack, scan
  facts; a tab per surface (product first) as real links; a row per
  technology with a confidence bar and evidence in a <details>; which
  layers ran; copy link, scan again; running and not-scanned states
- Report text logic in lib/report-view.ts, unit tested

Closes #34

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackprobe Ready Ready Preview Oct 5, 2026 4:46pm UTC

Request Review

@drippa-ai

drippa-ai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Product review: Restyle the web app to the new stackprobe design

✅ Delivers ticket #34 — 4 of 5 outcomes

What was promised

Not in this change: The Agents page and links, the recent scans list, the How it works page and the Opt out page, all moved to their own tickets.

Proof
Watch the walkthrough

▶ Watch the walkthrough (1:04)

2 of 9 checks passed on the preview

Tests worked out by Drippa from ticket #34, the pull request description and the code change — none written by hand.

What Drippa tested (9 steps)

Page change — click through it on this pull request's preview.
Browser check: 2 of 9 steps passed on the preview (6c64170)

Before you start

  • At least one domain has a finished scan with a product app found, for example one you scan from the home page first
  1. Passed · Restyle the web app to the new design #34 Open the home page at /.
    → A large left-aligned headline "What's it built on?", one line of explanation, and a big search box with a solid dark offset shadow. The header shows "stackprobe", "powered by Drippa" and "GitHub".
    → Seen: The home page at / shows a large left-aligned headline "What's it built on?", a two-line explanation, a big search box with a Scan button and a dark offset shadow, and a header with "stackprobe", "powered by Drippa" and "GitHub".
    ① large left-aligned headline · ② search box with dark offset shadow · ③ powered by Drippa in header
    Step 1
  2. Passed · Restyle the web app to the new design #34 Scroll to the bottom of the home page.
    → The footer reads "Powered by Drippa. Open source, Apache-2.0." with links on Drippa and Apache-2.0, and a GitHub link.
    → Seen: The footer at the bottom of the home page reads "Powered by Drippa. Open source, Apache-2.0." with Drippa and Apache-2.0 links (Apache-2.0 points to the repo's LICENSE file) and a GitHub link on the right.
    ① Drippa link in footer · ② Apache-2.0 link to LICENSE · ③ Footer GitHub link
    Step 2
  3. Failed · Restyle the web app to the new design #34 Type a domain into the big search box and press "Scan".
    → The report page opens while the scan runs, says "Scanning …" with the address and that it takes about half a minute, then refreshes on its own into the finished report.
    → Seen: Scanning vercel.com opened /s/vercel.com with "Scanning This takes about half a minute.", but after about 75 seconds of waiting it was still on the scanning message and had not refreshed into a finished report.
    ① Still scanning after ~75s
    Step 3
  4. Could not do · Restyle the web app to the new design #34 Look at the top of the finished report.
    → The domain in large type, one sentence such as "Product runs on … and …", and on the right "Scanned", "Surfaces" and "Took" with values.
    → Seen: /s/vercel.com still shows only "Scanning This takes about half a minute." after a reload, so there is no finished report to check.
    Step 4
  5. Not reached · Restyle the web app to the new design #34 Press Tab to move through the surface tabs below the header, then press Enter on the second tab.
    → The product app tab comes first and is marked as current. Choosing another tab shows that surface's technologies and marks that tab as current.
  6. Not reached · Restyle the web app to the new design #34 Click a technology row, or move to it with Tab and press Enter.
    → The row shows name, version, category, number of clues and a confidence percentage, with a pale teal bar behind it. Opening it lists its evidence in monospace, with the layer and the detail on each line.
  7. Not reached · Restyle the web app to the new design #34 Read the line under the table and the row below it.
    → A line saying backends and databases aren't visible from outside and listing "Checks that ran". Below it are "Copy link" and "Scan again". Clicking "Copy link" briefly changes it to "Copied".
  8. Not reached · Restyle the web app to the new design #34 Open /s/never-scanned-example.test for a domain nobody has scanned.
    → The domain heading with "Not scanned yet." and a small scan form.
  9. Not reached · Restyle the web app to the new design #34 Narrow the browser to phone width (about 390 px) on a report page.
    → The page doesn't scroll sideways. The header, facts, tabs and rows wrap to fit.
Details

The web app gets the new look: warm ground colour, heavy grotesque headings with a monospace face for data, a header and footer that say "powered by Drippa", and a big search box on the home page that has the hard shadow. The report page now opens with the domain, one sentence naming the product's stack, and the scan facts. Below that come keyboard-friendly tabs per surface and a row per technology with a confidence bar, plus evidence that opens in place. The Agents link, the recent scans list, and the How it works and Opt out links are left to #39, #40, #43 and #42.

Test coverage: ✅ Well covered — New tests render the report's opening sentence, facts, tabs, technology rows, checks that ran, and the not-scanned and running states. They also unit-test the wording rules.

🔍 Checked: 5 tickets (1 delivered, 4 cited for later scope), 11 of 11 changed files read, plus the core surface-grouping code


Updated by Drippa • 2026-10-05 17:49 UTC

Comment @drippa-ai review for a fresh review.

- Report sections move to report-sections.tsx so they render without a
  database; page.tsx only loads the scan
- Tests: the opening sentence and facts, tabs as links with the current
  one marked, a row per technology with its evidence, which checks ran,
  and the not-scanned and running states

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@maaland

maaland commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@drippa-ai review

@maaland

maaland commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@drippa-ai review

1 similar comment
@maaland

maaland commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@drippa-ai review

@maaland
maaland merged commit 9425c50 into main Oct 7, 2026
7 checks passed
@maaland
maaland deleted the feat/restyle-34 branch October 7, 2026 16:30
maaland added a commit that referenced this pull request Oct 7, 2026
Closes #49

Covers all of #49's "Done when": a failed browser batch no longer leaves
the scan running, and the report shows the browser check as failed.

## Why
Drippa's review of #47 found a vercel.com scan on the preview stuck on
"Scanning…". The preview logs show the browser step in the Vercel
Sandbox crashed (`Capture in sandbox failed (exit 1)`) four times. Then
the workflow failed and left the scan row "running" until it went stale.

## What changes
- **core `captureAll`:** if a batch browser's `captureMany` throws,
every page gets that error instead of the error escaping. The browser
layer is marked failed, the scan is marked partial and finishes, as it
already does when a single page fails.
- **browser-vercel-sandbox:** the error message keeps the crash's error
line (e.g. `Error: …`) instead of the last three stack lines, which hid
the cause. The full error output (last 4,000 characters) goes to the
function logs.

## Not in this PR
Why the sandbox crashed. It happened once in 30 hours, and production
shows none. With this change, the next crash's logs will say why.

## Tests
- `captureAll`: a failed batch gives every page the error; without a
batch, one failing page doesn't stop the others.
- `errorLine`: picks the error line out of a Node crash.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 6c641708 Deployed Oct 5, 2026 by vercel[bot]
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.

Restyle the web app to the new design

1 participant