Skip to content

Let Agent Score reveal every affected page - #1197

Merged
InlinePizza merged 1 commit into
mainfrom
agent-score-show-all-pages
Oct 25, 2026
Merged

InlinePizza merged 1 commit into
mainfrom
agent-score-show-all-pages

Conversation

@InlinePizza

Copy link
Copy Markdown
Contributor

An Agent Score issue listed three affected paths, then "and 30 more" with no way to see the rest. The 30 paths were already in the scan result.

PageList.astro now shows the first three paths and puts the rest behind a native <details> toggle labeled "Show 30 more". The toggle needs no client JavaScript. Opening it replaces the toggle with the remaining rows. If afdocs trimmed its pageResults, pages it counted but didn't list still appear as "and N more", because the page has no URLs for them. The row markup moved into PageRow.astro so both lists share it.

Verification:

  • astro check reports 0 errors.
  • npm run build passes.
  • A scratch render through Astro's container API covered three cases: 33 pages listed (3 rows and "Show 30 more", 33 rows in the HTML), 5 of 40 listed ("Show 2 more" and "and 35 more"), and 2 listed (no toggle).

Not done: I didn't view it in a browser.

An issue listed three affected paths and then "and 30 more" with no way
to see the rest. The extra paths now sit behind a native details toggle;
pages afdocs counted but didn't list still show as a count.
@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
promptless-docs Ready Ready Preview Oct 25, 2026 1:02pm UTC

Request Review

@InlinePizza
InlinePizza merged commit 6952525 into main Oct 25, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — a5988138 Deployed Oct 25, 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.

1 participant