Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
e295666
Add screenshot-dev-app skill for web preview UI verification.
Twixes Jun 8, 2026
7636be5
Fix route map table column count for Task detail row
cursoragent Jun 8, 2026
acdcea5
Add Playwright screenshot script and streamline screenshot-dev-app sk…
Twixes Jun 9, 2026
ef4d22c
feat(code): ship inbox v2
Twixes Jun 9, 2026
458b6c9
fix(code): inline inbox priority badges
Twixes Jun 9, 2026
6a58f2b
fix(code): use icons for inbox detail sections
Twixes Jun 9, 2026
199c6e1
fix(code): polish inbox detail headings
Twixes Jun 9, 2026
ca7466a
fix(code): align inbox detail actions with cards
Twixes Jun 9, 2026
6ef8c89
fix(code): place inbox detail actions with metadata
Twixes Jun 9, 2026
1a3b1ab
Revert "fix(code): inline inbox priority badges"
Twixes Jun 9, 2026
f5579d4
fix(code): remove inbox preview shim from app shell
Twixes Jun 9, 2026
65fc24e
docs(code): update inbox guidance
Twixes Jun 9, 2026
c21ca0c
docs(code): focus inbox guidance on architecture
Twixes Jun 9, 2026
8f97ef5
fix(code): gate self-driving setup task
Twixes Jun 9, 2026
830e2f2
chore(code): drop renderer debug port from dev/start
Twixes Jun 9, 2026
ce91cab
chore(code): expose renderer debug port on dev/start
Twixes Jun 9, 2026
00e2eb9
chore(skills): add sync-inbox-to-cloud skill scaffold (reference, do …
Twixes Jun 4, 2026
a42322f
refactor(code): apply review feedback to Inbox 2.0
Twixes Jun 9, 2026
1ca80ea
refactor(code): simplify inbox 2.0 review fixes
Twixes Jun 9, 2026
493fa27
Revert "chore(skills): add sync-inbox-to-cloud skill scaffold (refere…
Twixes Jun 9, 2026
a4efbef
Reapply "chore(skills): add sync-inbox-to-cloud skill scaffold (refer…
Twixes Jun 9, 2026
14e5ad5
Merge remote-tracking branch 'origin/main' into inbox-v2-pr
Twixes Jun 9, 2026
42461f8
Revert "Reapply "chore(skills): add sync-inbox-to-cloud skill scaffol…
Twixes Jun 9, 2026
97b8445
Merge remote-tracking branch 'origin/add-screenshot-dev-app-skill' in…
Twixes Jun 9, 2026
5326fd0
feat(code): address Olly's Inbox 2.0 review feedback
Twixes Jun 9, 2026
255c318
fix(code): make Discuss a dropdown-only entry point on inbox detail
Twixes Jun 9, 2026
c2da2b0
fix(code): tighten inbox detail layout and downsize Runs / Reviewers
Twixes Jun 9, 2026
62c6716
fix(code): unify the detail-view right column
Twixes Jun 9, 2026
33fcc12
fix(code): compact detail header + restored Inbox list-view title
Twixes Jun 9, 2026
8c10610
fix(code): inbox detail polish — revert pill buttons, inline reviewer…
Twixes Jun 9, 2026
f621ef6
fix(code): evidence skeleton + non-selectable chrome on inbox
Twixes Jun 9, 2026
301f945
fix(code): align Dismiss button, hide Ready badge, segmented scope to…
Twixes Jun 9, 2026
0592c87
fix(code): make Runs a real list of runs, not a list of reports
Twixes Jun 9, 2026
fec08e0
fix(code): run detail two-column layout, view-the-run widget, en dash…
Twixes Jun 9, 2026
446ec64
refactor(code): simplify inbox 2.0 round – dedup status dots, runId, …
Twixes Jun 9, 2026
7e2d65d
fix(code): gate Create PR by actionability + missing PR
Twixes Jun 9, 2026
9eb862b
refactor(code): inline runId, copy-link, TaskRunStatusDot
Twixes Jun 9, 2026
0161142
fix(code): show the random tail of the run UUID, not its time prefix
Twixes Jun 9, 2026
9876311
fix(code): drop the redundant check on selected scope dropdown row
Twixes Jun 9, 2026
244deba
fix(code): broaden re-research, variant-aware header time, queued sho…
Twixes Jun 9, 2026
2d7ca68
fix(code): slim Runs section back, rich PR card, scope toggle right-a…
Twixes Jun 9, 2026
a0e6dec
fix(code): log height back, drop run section captions, dashed report …
Twixes Jun 9, 2026
2276270
fix(code): drop scope + search/sort/filter chrome on Runs tab
Twixes Jun 9, 2026
c5d019a
refactor(code): shared RunVariant, hoisted exclusion check, gated fil…
Twixes Jun 9, 2026
e1cf6ea
refactor(code): inline runVariant + relationshipLabel into their prim…
Twixes Jun 9, 2026
b90ead5
fix(code): unify Inbox + Agents page headers, sharpen the explainer copy
Twixes Jun 9, 2026
4f924bd
feat(code): inbox onboarding takeover + Agents view callout
Twixes Jun 9, 2026
9a50434
fix(code): sleeker onboarding – numbered stepper, thin Slack widget
Twixes Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .claude/skills/screenshot-dev-app/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: screenshot-dev-app
description: Take a screenshot of the PostHog Code renderer via the Vite web preview (localhost:5173 with ?previewMode=true). Navigate with hash routes, capture with Playwright (screenshot-dev-preview.ts), and verify the PNG. Use when the user asks to screenshot, capture, or visually verify the dev app UI.
---

# Screenshot the PostHog Code dev app

Capture via Playwright only – not cursor-ide-browser, Electron, or `screencapture`.

**Needs:** Vite on localhost:5173 (`pnpm dev:code` / `pnpm dev:mprocs`). First Playwright use: `pnpm exec playwright install chromium`.

## Capture

```bash
# one shot
pnpm --filter code screenshot:preview -- --route /code/inbox/pulls -o out.png

# batch (start once – first capture ~5s, later ones ~3s via hash navigation)
pnpm --filter code screenshot:preview:serve # background
pnpm --filter code screenshot:preview -- --route /code/inbox/reports -o reports.png
pnpm --filter code screenshot:preview -- --route /code/inbox/runs -o runs.png
```

Read the printed PNG path and verify content. Flags: `-o`, `--full-page`, `--wait-for <text>`, `--url` (full URL), `--help`.

Preview URLs are `http://localhost:5173/?previewMode=true#<route>`. `--route` builds that automatically; `?previewMode=true` loads mocks from `apps/code/index.html`.

## Routes

| View | `--route` |
| --- | --- |
| Home | `/code` |
| Responders | `/code/agents` |
| Inbox pulls / reports / runs | `/code/inbox/pulls`, `/code/inbox/reports`, `/code/inbox/runs` |
| Inbox detail | `/code/inbox/pulls/<id>`, `/code/inbox/reports/<id>`, `/code/inbox/runs/<id>` |
| Settings | `/settings/<category>` |
| Skills, MCP, archived, tasks | `/skills`, `/mcp-servers`, `/code/archived`, `/code/tasks/<id>` |

Inbox mock ids: `r-1` … `r-8`. Settings categories include `signals`, `github`, `slack`, `general`, …

## When fixtures aren't enough

Edit the `?previewMode=true` block in `apps/code/index.html` (`mockReports`, tRPC `mocks`, `fetch` interceptor). Re-run capture after save. Preview data is mocked – layout checks only, not live GitHub/Slack.
2 changes: 1 addition & 1 deletion apps/code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
<script type="module" src="/src/renderer/main.tsx"></script>
</body>

</html>
</html>
6 changes: 4 additions & 2 deletions apps/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"scripts": {
"setup": "bash bin/setup",
"dev": "electron-forge start",
"start": "electron-forge start",
"dev": "electron-forge start -- --remote-debugging-port=9222",
"start": "electron-forge start -- --remote-debugging-port=9222",
"start:debug": "electron-forge start -- --inspect=5858 --remote-debugging-port=9222",
"package": "electron-forge package",
"package:dev": "FORCE_DEV_MODE=1 SKIP_NOTARIZE=1 electron-forge package",
Expand All @@ -27,6 +27,8 @@
"test": "vitest run",
"test:e2e": "playwright test --config=tests/e2e/playwright.config.ts",
"test:e2e:headed": "playwright test --config=tests/e2e/playwright.config.ts --headed",
"screenshot:preview": "tsx scripts/screenshot-dev-preview.ts",
"screenshot:preview:serve": "tsx scripts/screenshot-dev-preview.ts --serve",
"postinstall": "bash scripts/postinstall.sh",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
Expand Down
Loading
Loading