2.7 KiB
2.7 KiB
Screenshot Guide
This document explains how to capture and update the README screenshots so they stay in sync with the UI.
Screenshots in the README
| File | Section | Description |
|---|---|---|
docs/mission-control-overview.png |
Dashboard Overview | Main dashboard view |
docs/mission-control-agents.png |
Agents Panel | Active agents list |
docs/mission-control-memory-graph.png |
Memory Graph | Agent memory graph |
When to Refresh
Screenshots should be updated when:
- A new page, panel, or major UI component is added
- An existing page layout changes noticeably
- The color scheme or branding updates
- A GitHub Actions
screenshot-driftlabel is applied to a PR (see automation)
How to Take New Screenshots
Prerequisites
- Mission Control running locally (
pnpm devor Docker) - Browser with at least 1440×900 viewport recommended
Steps
-
Start the app (with some sample data for a realistic view):
pnpm dev # or docker compose up -
Seed sample data (optional but recommended for non-empty screenshots):
pnpm seed # if a seed script exists, otherwise populate via UI -
Navigate to each page and take a screenshot:
Screenshot URL Notes mission-control-overview.png/Main dashboard, full page mission-control-agents.png/agentsAgents panel open mission-control-memory-graph.png/memoryMemory graph with nodes -
Crop and optimise to reduce file size:
# macOS pngcrush -reduce -brute input.png output.png # Linux optipng -o5 input.png # or pngquant --quality=80-95 --output output.png input.png -
Replace the files under
docs/and commit:cp ~/Downloads/dashboard.png docs/mission-control-overview.png git add docs/ git commit -m "docs: refresh README screenshots"
Automation
The repository has a GitHub Actions workflow (.github/workflows/screenshot-drift.yml) that:
- Detects changes to files under
src/app/,src/components/, andpublic/ - Adds a
screenshot-driftlabel to the PR as a reminder - Posts a checklist comment listing which screenshots may need updating
This does not auto-capture screenshots — it just flags the PR so a human can decide whether the change is visually significant enough to warrant a refresh.
Tips
- Use a consistent browser zoom level (100%) and window size
- Hide bookmarks bar and dev tools before capturing
- Light mode and dark mode screenshots can coexist — add a
*-dark.pngvariant if useful - Prefer PNG for UI screenshots (lossless); JPEG for photos/illustrations