Skip to content

chore: remove unused page components#640

Open
mesutoezdil wants to merge 2 commits into
Project-HAMi:masterfrom
mesutoezdil:chore/remove-dead-components
Open

chore: remove unused page components#640
mesutoezdil wants to merge 2 commits into
Project-HAMi:masterfrom
mesutoezdil:chore/remove-dead-components

Conversation

@mesutoezdil

Copy link
Copy Markdown
Contributor

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, i18n and versioned_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:fast passes after removal

Copilot AI review requested due to automatic review settings July 22, 2026 13:18
@hami-robot

hami-robot Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mesutoezdil
Once this PR has been reviewed and has the lgtm label, please assign windsonsea for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@netlify

netlify Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploy Preview for project-hami ready!

Name Link
🔨 Latest commit 8feef58
🔍 Latest deploy log https://app.netlify.com/projects/project-hami/deploys/6a63990b00d3210008a97801
😎 Deploy Preview https://deploy-preview-640--project-hami.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@mesutoezdil, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a4855ae5-7505-49e8-ba19-957e74789c80

📥 Commits

Reviewing files that changed from the base of the PR and between bf4e9cf and 8feef58.

📒 Files selected for processing (4)
  • AGENTS.md
  • src/components/caseStudiesList.js
  • src/components/featuresList.js
  • src/components/whatIs.js
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands.

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.

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, and caseStudiesList.js.
  • Updated AGENTS.md to 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.

Comment thread AGENTS.md
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]>
Copilot AI review requested due to automatic review settings July 22, 2026 13:22
@mesutoezdil
mesutoezdil force-pushed the chore/remove-dead-components branch from 890f98c to 5ee42f5 Compare July 22, 2026 13:22
@hami-robot hami-robot Bot added size/L and removed size/M labels Jul 22, 2026

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.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.

@mesutoezdil
mesutoezdil requested a review from rootsongjc July 23, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants