Repository navigation
docs: cover the HTML report in the results guide and rename it - #37
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-navigationaudit is hidden in the HTML report, so someone reading the report had nothing to look for./productsto compare with its soft navigation. It's generated bypackages/docs/scripts/example-report.mjsand served frompublic/examples/soft-navigation-flow.html(about 2.2 MB, excluded from Prettier).isSoftcheck under In code./docs/guides/results) stays the same./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