chore: remove unused page components#640
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mesutoezdil The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for project-hami ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR removes dead React component modules from src/components/ that are no longer imported anywhere in the Docusaurus site, and updates the agent-facing component inventory documentation accordingly.
Changes:
- Deleted unused components:
whatIs.js,featuresList.js, andcaseStudiesList.js. - Updated
AGENTS.mdto remove the deleted components from the documented component list.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/components/whatIs.js |
Removed unused “What is HAMi?” hero component. |
src/components/featuresList.js |
Removed unused feature card component. |
src/components/caseStudiesList.js |
Removed unused case-studies list component. |
AGENTS.md |
Updated documented component list to drop removed components (needs one additional correction per comment). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
caseStudiesList, featuresList and whatIs are not imported anywhere; the pages they served now use inline sections. Also drops them from the component list in AGENTS.md. Signed-off-by: mesutoezdil <[email protected]>
890f98c to
5ee42f5
Compare
What
Deletes three components in
src/components/that nothing imports:caseStudiesList.js(the case-studies page renders its own inline list)featuresList.js(the landing page renders features inline)whatIs.js(superseded by inline landing page sections)Also removes their entries from the component list in
AGENTS.md.Verified with a repo-wide search across
src,themes,docs,tutorials,blog,i18nandversioned_docs: the only references were the AGENTS.md list itself.Why
Dead code still ships review burden and grep noise, and unused UI components are a common place for stale, unmaintained markup to linger.
Testing
npm run build:fastpasses after removal