Skip to content

website: Remove two Vue components orphaned by the Astro migration - #2965

Merged
huacnlee merged 1 commit into
mainfrom
website/remove-orphaned-vue-components
Sep 5, 2026
Merged

website: Remove two Vue components orphaned by the Astro migration#2965
huacnlee merged 1 commit into
mainfrom
website/remove-orphaned-vue-components

Conversation

@huacnlee

@huacnlee huacnlee commented Sep 5, 2026

Copy link
Copy Markdown
Member

Description

website/src/components/GitHubStar.vue and website/src/components/SidebarFilter.vue have had no references since the VitePress to Astro migration in #2926. Nav.astro renders the GitHub star link with inline markup, and no page or component mounts a sidebar filter, so both files were dead source.

The other seven .vue files under website/src/components/ are each mounted by a page and are left untouched. Astro supports Vue islands through the official @astrojs/vue integration, which the migration adopted deliberately, so their presence is not a leftover.

Removing SidebarFilter.vue records the current state rather than changing it: the sidebar filter was already absent from the rendered site, and documentation search is served by Pagefind through DocSearch.astro. Restoring a sidebar filter would be a separate feature change.

Identified and removed with AI assistance.

How to Test

From website/:

grep -rn "GitHubStar\|SidebarFilter" src tests astro.config.mjs package.json
bun run build

The grep should return nothing. The build should complete with 305 pages. The site's appearance and behavior are unchanged, since neither file was reachable.

Checklist

  • Read and followed the contributing guidelines.
  • Verified no references remain and ran the website build.
  • Maintainer review of AI-assisted changes.

No documentation, locale, or public API changes. Rust tests are not applicable to this website-only change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RwSD6p7jLbJEF8hYtrhth4

`GitHubStar.vue` and `SidebarFilter.vue` have had no references since the
VitePress to Astro migration in #2926. `Nav.astro` renders the GitHub star
link inline, and no page mounts a sidebar filter.

The remaining Vue components are all mounted by pages and stay as they are;
Astro supports Vue islands through the official `@astrojs/vue` integration.

Identified and removed with AI assistance.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RwSD6p7jLbJEF8hYtrhth4
@huacnlee
huacnlee merged commit 0b14b6b into main Sep 5, 2026
9 checks passed
@huacnlee
huacnlee deleted the website/remove-orphaned-vue-components branch September 5, 2026 12:22
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