Skip to content

Commit 3c03ed5

Browse files
committed
docs: update dashboard screenshots, fix capture tool for missing providers
Recapture all available provider screenshots (anthropic, synthetic, all in light + dark). Fix capture-screenshots.mjs to skip provider tabs that don't exist on the running instance instead of timing out.
1 parent 83f798e commit 3c03ed5

7 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎docs/screenshots/all-dark.png‎

-109 KB
Loading

‎docs/screenshots/all-light.png‎

-104 KB
Loading
-1.74 KB
Loading
-2.46 KB
Loading
-30.1 KB
Loading
-28.7 KB
Loading

‎tools/capture-screenshots.mjs‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,16 @@ async function run() {
4040
console.log('Logged in successfully.');
4141

4242
for (const provider of PROVIDERS) {
43+
// Skip providers whose tab doesn't exist on this instance
44+
const tabButton = page.locator(`button.provider-tab[data-provider="${provider.tab}"]`);
45+
if (await tabButton.count() === 0) {
46+
console.log(`Skipping provider: ${provider.name} (not available)`);
47+
continue;
48+
}
49+
4350
// Click the provider tab
4451
console.log(`Switching to provider: ${provider.name}`);
45-
await page.click(`button.provider-tab[data-provider="${provider.tab}"]`);
52+
await tabButton.click();
4653

4754
// Wait for content to load — quota cards or both-view to render
4855
await page.waitForTimeout(2000);

0 commit comments

Comments
 (0)