Skip to content

fix: avoid repeated TypeScript API sidebar catalogs - #1757

Merged
David Pine (IEvangelist) merged 2 commits into
release/13.6from
ievangelist-release-build-performance
Sep 25, 2026
Merged

David Pine (IEvangelist) merged 2 commits into
release/13.6from
ievangelist-release-build-performance

Conversation

@IEvangelist

Copy link
Copy Markdown
Member

Keep full module catalogs on their overview pages and render compact current-page navigation on API detail pages.

Summary

Third-party links and affiliations

Validation

Keep full module catalogs on their overview pages and render compact current-page navigation on API detail pages.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5eeee6c8-e0b2-4836-96ff-a9726e92b2ee
Copilot AI lite review requested due to automatic review settings September 25, 2026 17:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The E2E test must navigate to the item page before locating the member sidebar method link.

Review effort: Lite
Findings: None

What changed in this PR

Refactors TypeScript API navigation to avoid repeated catalogs on detail pages.

Changes:

  • Adds compact contextual sidebars.
  • Normalizes API links and anchors.
  • Adds unit/E2E coverage and documentation.
File Description
src/​frontend/​tests/​unit/​ts-api-sidebar.vitest.test.ts Tests sidebar generation.
src/​frontend/​tests/​unit/​api-reference-routes.vitest.test.ts Tests API route normalization.
src/​frontend/​tests/​e2e/​ts-api-sidebar.spec.ts Tests sidebar navigation; one locator targets the wrong page context.
src/​frontend/​src/​utils/​ts-api-sidebar.ts Builds compact contextual sidebars.
src/​frontend/​src/​utils/​api-reference-routes.ts Normalizes API sidebar URLs.
src/​frontend/​src/​route-data-middleware.ts Applies sidebar link normalization.
src/​frontend/​src/​pages/​reference/​api/​typescript/​[module]/​index.astro Supplies module-page sidebar context.
src/​frontend/​src/​pages/​reference/​api/​typescript/​[module]/​[item]/​index.astro Supplies item-page sidebar context.
src/​frontend/​src/​pages/​reference/​api/​typescript/​[module]/​[item]/​[member]/​index.astro Supplies member-page sidebar context.
src/​frontend/​package.json Includes new unit tests.
CONTRIBUTING.md Documents sidebar navigation requirements.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread CONTRIBUTING.md Outdated
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Frontend HTML artifact ready

The latest frontend build uploaded the frontend-dist artifact for PR #1757. Use the VS Code button below to open this PR with GitHub Artifacts Explorer and browse the built HTML locally.

VS Code: Open PR #1757 artifacts

This comment updates automatically when a new frontend build artifact is uploaded.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5eeee6c8-e0b2-4836-96ff-a9726e92b2ee
@IEvangelist
David Pine (IEvangelist) merged commit 7ce5037 into release/13.6 Sep 25, 2026
11 checks passed
@IEvangelist
David Pine (IEvangelist) deleted the ievangelist-release-build-performance branch September 25, 2026 20:13
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.

3 participants