Skip to content

docs: cover the HTML report in the results guide and rename it - #37

Merged
ChristopherPHolder merged 3 commits into
mainfrom
docs/telling-soft-navigations-apart
Nov 19, 2026
Merged

ChristopherPHolder merged 3 commits into
mainfrom
docs/telling-soft-navigations-apart

Conversation

@ChristopherPHolder

@ChristopherPHolder ChristopherPHolder commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

The results guide said a soft navigation step looks like a page load, then only showed how to tell the two apart in code. The soft-navigation audit is hidden in the HTML report, so someone reading the report had nothing to look for.

  • Adds an In the HTML report part: the step URL is the route, the document audits are not applicable, and run warnings flag a bad run (with a link to Limits and troubleshooting).
  • Links an example flow report of the single page app from the e2e fixtures: a page load, two soft navigations, and a page load of /products to compare with its soft navigation. It's generated by packages/docs/scripts/example-report.mjs and served from public/examples/soft-navigation-flow.html (about 2.2 MB, excluded from Prettier).
  • Moves the isSoft check under In code.
  • Renames the page from "Reading the result" to "Telling soft navigations apart" and updates its description and the links from both setup pages. The URL (/docs/guides/results) stays the same.
  • Markdown links to site paths outside /docs/ are now plain links that open in a new tab. Before, every link starting with / went through the router and would have landed on the not-found page.

Closes #36

The guide said a soft navigation step looks like a page load, then only showed
the check in code. It now lists what sets the step apart in the HTML report and
keeps the code check under its own heading. Renamed to "Telling soft
navigations apart" to match what it covers.

Closes #36
Adds a flow report of the coffee-cart demo app, generated by
packages/docs/scripts/example-report.mjs and served from public/examples.
It has two soft navigations and a page load of the same route to compare.

Site paths outside /docs/ are now plain links that open in a new tab
instead of going through the router, which sent them to the not-found page.

Refs #36
coffee-cart switches routes without fetching anything, so its soft
navigations painted in about 20 ms and the report showed 0.0 s. The fixture
app fetches each route's content in two requests, so FCP and LCP are
non-zero and LCP comes after FCP.

Refs #36
@ChristopherPHolder
ChristopherPHolder merged commit 50f901c into main Nov 19, 2026
1 of 2 checks passed
@ChristopherPHolder
ChristopherPHolder deleted the docs/telling-soft-navigations-apart branch November 19, 2026 11:06
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.

docs: make the results guide cover the HTML report and name it after what it does

1 participant