Skip to content

Task 02: Full Audit - Unused Components Report#5

Merged
DeveloperAlly merged 2 commits intodocs-v2-previewfrom
docs-plan/02-components-audit-unused
Feb 16, 2026
Merged

Task 02: Full Audit - Unused Components Report#5
DeveloperAlly merged 2 commits intodocs-v2-previewfrom
docs-plan/02-components-audit-unused

Conversation

@DeveloperAlly
Copy link
Owner

@DeveloperAlly DeveloperAlly commented Feb 16, 2026

Summary

Full audit of unused components in snippets/components/ directory.

Key Findings:

  • 77 total exports across 27 component files
  • 58 actively used components
  • 24 definitely unused components ready for removal
  • 10+ low-usage components to consider removing
  • 2 consolidation opportunities (duplicate component files)

Definite Removals (24 components):

Components never used or only in example files:

  • BlogDataLayout, CardInCardLayout, ResponseFieldGroup
  • CardCarousel, MarkdownEmbed, EmbedMarkdown
  • Quote, ShowcaseVideo, LinkedInEmbed, YouTubeVideoDownload, CardVideo
  • BasicList, IconList, UpdateList, StepList, ListSteps
  • BasicBtn, LivepeerSVG, LivepeerIconOld, LivepeerIconFlipped, LivepeerIcon
  • BlinkingTerminal, CopyText, HeroOverviewContent

Consolidation Opportunities:

  1. snippets/components/gateways/ duplicates domain/04_GATEWAYS/
  2. Card components duplicated in both content/data.jsx and layout/cards.jsx

Follow-Up Tasks:

  • Task 02a: Remove definitely unused components
  • Task 02b: Consolidate duplicate gateway components
  • Task 02c: Consolidate duplicate card components
  • Task 02d: Evaluate low-usage components

Files Added:

  • docs/PLAN/reports/02-components-audit-unused-report.md

Note

Low Risk
Mostly documentation additions with small, low-impact theme/styling tweaks to UI components; risk is limited to minor visual regressions in CardCarousel/frame-mode text.

Overview
Adds a new unused components audit report (02-components-audit-unused-report.md) that inventories snippets/components/ exports, classifies production vs example-only usage, and calls out candidates for removal/consolidation.

Adds a styling homogenization completion report (05-homogenise-styling-report.md) and updates the theme documentation (theme-colors.mdx) to reference ThemeData and global CSS variables.

Makes minor UI consistency fixes by updating CardCarousel to use theme CSS variables (removing hardcoded fallback colors) and correcting a variable naming bug in the P component in display/frameMode.jsx.

Written by Cursor Bugbot for commit 281f6e2. This will update automatically on new commits. Configure here.

- Update CardCarousel.jsx to use theme CSS variables
  - Replace fallback colors with proper theme variables
  - Use --card-background, --accent, --border, --text
- Update theme-colors.mdx wiki documentation
  - Document full ThemeData object with all properties
  - Add Global CSS Variables section documenting style.css
  - Update color values to match actual implementation
  - Update best practices section
- Add completion report

Closes task 05-homogenise-styling
- Audited 77 exports across 27 component files
- Identified 24 definitely unused components for removal
- Identified 10+ components with low/example-only usage
- Found 2 consolidation opportunities (duplicate files)
- Documented usage locations for all 58 actively used components
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 281f6e2b47

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

| `display/CardCarousel.jsx` | `CardCarousel` | Never used |
| `display/embed.jsx` | `MarkdownEmbed` | Example only |
| `display/embed.jsx` | `EmbedMarkdown` | Example only, duplicate |
| `display/quote.jsx` | `Quote` | Never used |

Choose a reason for hiding this comment

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

P1 Badge Remove Quote from the definite-removals list

This entry is incorrect: Quote is actively used in live v2 content (for example in v2/pages/00_home/introduction/vision.mdx and v2/pages/05_orchestrators/quickstart/join-a-pool.mdx), so treating it as a safe removal target can lead Task 02a to delete a component that current pages render. That would force follow-up break-fix edits across published docs pages instead of being a no-risk cleanup.

Useful? React with 👍 / 👎.


| File | Component | Reason |
|------|-----------|--------|
| `display/frameMode.jsx` | `H4`, `H5`, `H6`, `P` | Not used |

Choose a reason for hiding this comment

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

P2 Badge Reclassify H5 before suggesting frameMode pruning

The report says H5 is unused, but H5 is currently rendered in v2/pages/06_lptoken/token-portal.mdx (e.g., the "Definition" and "Quick Intro" headings). Leaving H5 in this "Not used" bucket makes the follow-up removal task likely to remove a component that is still part of a frame-mode portal page.

Useful? React with 👍 / 👎.

@DeveloperAlly DeveloperAlly merged commit a2debb2 into docs-v2-preview Feb 16, 2026
1 check passed
@DeveloperAlly DeveloperAlly deleted the docs-plan/02-components-audit-unused branch February 16, 2026 09:01
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