Repository navigation
API Explorer: replace the operation section strip with a sticky row of section links - #4964
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Docs preview (local build)Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/4964/ Sample changed pages: |
…eview by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…w section keeps its anchor (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…w by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…wrapped (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eadcrumbs (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
… (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s not blink Co-Authored-By: Claude Opus 5.5 <[email protected]>
…review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e the intro (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…infra-vault-gh-plugin-prod) Co-Authored-By: Claude Opus 5.5 <[email protected]>
…r review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Takes the new /docs/api/<key> page paths for the section toolbar journey. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…est (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…erflow test (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…er review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… links row (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Takes main's Floating UI placement for the Copy page menu and drops this branch's own menu flip (the toggle handler, its CSS class and its test). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…(per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…and all hidden (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… Copy page never wraps it (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… at each width (per review by @infra-vault-gh-plugin-prod) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
| const withCopy = trailLines(); | ||
| // Beside the trail when the button starts on the trail's last line, under it when it starts below. | ||
| const trail = [...document.querySelectorAll('#breadcrumbs li')].map(li => li.getBoundingClientRect()); | ||
| const beside = copy.getBoundingClientRect().top < Math.max(...trail.map(r => r.bottom)); |
There was a problem hiding this comment.
Severity: P3 (Low)
This check can count Copy page as “beside” the trail even if the button is entirely above it or sits to its left. The wide-screen cases can therefore pass while Copy page no longer ends the breadcrumb row. Check that the button overlaps the last breadcrumb line vertically and sits to its right, and check separately that it is below the trail when wrapped.
Generated by Libra. React with 👍 or 👎 to give feedback on this comment.
| 900px: Copy page beside the trail True, trail wraps the same with and without it True | ||
| 1280px: Copy page beside the trail False, trail wraps the same with and without it True | ||
| 1680px: Copy page beside the trail True, trail wraps the same with and without it True |
There was a problem hiding this comment.
Severity: P3 (Low)
These fixed wrap expectations depend on the breadcrumb text from the live Cloud Connect spec. An upstream API title change can flip whether Copy page fits at 900px or 1280px and fail the journey even when the layout correctly adapts. Use fixed breadcrumb content for these cases, or derive the expected placement from the space the trail and button need.
Generated by Libra. React with 👍 or 👎 to give feedback on this comment.
Why
application/json.What
Notes
🤖 Generated with Claude Code