Skip to content

chore: remove unused icons and docs-nav helpers - #43

Merged
ValgulNecron merged 2 commits into
masterfrom
chore/cleanup-unused-code
Nov 27, 2026
Merged

ValgulNecron merged 2 commits into
masterfrom
chore/cleanup-unused-code

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Cleanup pass with no change to the rendered site.

What Where Why it is safe
Removed 12 unused Lucide icons (axe, chevron-down, chevron-right, cloud, compass, map, message-square, scale, shopping-bag, swords, trees-icon, x), 224 lines src/components/icons.ts No component, page, data table or MDX frontmatter names them
Removed getGroupById, getGroupsInSection and the groupIndex map src/lib/docs-nav.ts No importer anywhere in src/
persist-credentials: false on the check job checkout .github/workflows/ci.yaml The job never pushes; matches the devcontainer job

Verification

  • npm run check: 0 errors, 0 warnings.
  • npm run build before and after: diff -r of the two dist/ folders is empty (102 pages).

No design change, so website.fig and website-export/ are untouched.

🤖 Generated with Claude Code

Drop 12 Lucide icons that no page, component or frontmatter references
(axe, chevron-down, chevron-right, cloud, compass, map, message-square,
scale, shopping-bag, swords, trees-icon, x) and the unused getGroupById
and getGroupsInSection helpers with their index map. The built site is
byte-identical before and after.

Also stop the CI check job from keeping the checkout token in the git
config, as the devcontainer job already does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron self-assigned this Nov 26, 2026
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f07fcdb8-5a96-4c75-b2fd-db0e71791993
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ValgulNecron
ValgulNecron merged commit b54c639 into master Nov 27, 2026
4 checks passed
@ValgulNecron
ValgulNecron deleted the chore/cleanup-unused-code branch November 27, 2026 21: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.

2 participants