From 039c1c7b334c79f2bec0cda0bd2953e28a4d6361 Mon Sep 17 00:00:00 2001 From: Daedalus Date: Fri, 21 Aug 2026 20:07:47 +0200 Subject: [PATCH] docs(readme): reshoot the Overview hero with the span activity grid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The hero predates the span activity grid, so the README opened on a page that no longer exists. Shot against current main on the seeded demo instance. The crop was pinned to the second stat section, which the new grid pushed from Activity & Cost onto Users — cutting the hero short. Match the section by title instead, the way the costs shot already does, so another block landing above it does not silently reframe the shot. Co-Authored-By: Daedalus Co-Authored-By: Claude Opus 4.8 --- docs/assets/dashboard-overview.png | 4 ++-- scripts/shoot-screenshots.mjs | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/assets/dashboard-overview.png b/docs/assets/dashboard-overview.png index 1784dd6..f74178e 100644 --- a/docs/assets/dashboard-overview.png +++ b/docs/assets/dashboard-overview.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b4ec510e3663289e64e72a709b18fb23978c0fb853f58b765bed9bfc4342d0a2 -size 275332 +oid sha256:7578ad2c827c2ede346528c600f967f629595f1979364928eaba7358afef801c +size 318788 diff --git a/scripts/shoot-screenshots.mjs b/scripts/shoot-screenshots.mjs index e913878..ed93127 100644 --- a/scripts/shoot-screenshots.mjs +++ b/scripts/shoot-screenshots.mjs @@ -17,7 +17,12 @@ const CHROMIUM = process.env.CHROMIUM || '/usr/bin/chromium' const STAT_SECTIONS = `[...document.querySelectorAll('div')].filter(d => typeof d.className === 'string' && /card/i.test(d.className) && d.querySelector(':scope > div > button[aria-expanded]'))` const SHOTS = [ - { name: 'dashboard-overview', path: '/', wait: '.recharts-surface', end: `(${STAT_SECTIONS})[1]` }, + { + name: 'dashboard-overview', + path: '/', + wait: '.recharts-surface', + end: `(${STAT_SECTIONS}).find(d => /^activity & cost/i.test(d.textContent.trim()))`, + }, { name: 'dashboard-users', path: '/users', wait: 'table', end: `document.querySelector('table')` }, { name: 'dashboard-tools', path: '/tools', wait: 'table', end: `document.querySelector('table')` }, { name: 'dashboard-sessions', path: '/sessions', wait: 'table', end: `document.querySelectorAll('tbody tr')[8]` },