Skip to content

chore(components): remove six never-imported UI components (closes #30) - #339

Open
Ranjeet2063 wants to merge 1 commit into
Movalabs-crew:mainfrom
Ranjeet2063:chore/remove-unused-components
Open

Ranjeet2063 wants to merge 1 commit into
Movalabs-crew:mainfrom
Ranjeet2063:chore/remove-unused-components

Conversation

@Ranjeet2063

Copy link
Copy Markdown
Contributor

Summary of Changes (Closes #30)

This PR resolves Issue #30 by removing six dead, never-imported UI components under components/:

  1. components/ErrorBoundary.tsx
  2. components/Notification.tsx
  3. components/Skeleton.tsx
  4. components/OptimizedImage.tsx
  5. components/SkipLink.tsx
  6. components/ProtectedLink.jsx

Deletion Rationale & Verification

  • Comprehensive git grep confirmed that none of these components were imported anywhere across app/, components/, lib/, context/, or tests/.
  • ProtectedLink.jsx had broken imports using Next.js Pages router (next/router) and routes to non-existent /login.
  • SkipLink.tsx expected an element with id="main-content" which was not implemented in layout.jsx.
  • Verified 0 remaining imports or symbol usages across the codebase for all 6 deleted components.

Acceptance Criteria Passed

  • rg for each component symbol returns no references outside the deleted files
  • npm run lint (next lint) passes with 0 errors
  • npm run type-check (tsc --noEmit --skipLibCheck) passes cleanly
  • npm run build (next build) produces optimized production build without errors

…valabs-crew#30)

- Remove dead/never-imported UI components under components/:
  - components/ErrorBoundary.tsx
  - components/Notification.tsx
  - components/Skeleton.tsx
  - components/OptimizedImage.tsx
  - components/SkipLink.tsx
  - components/ProtectedLink.jsx
- Verified 0 remaining imports or symbol usages repository-wide
- Verified npm run lint, npm run type-check, and npm run build pass cleanly
Copilot AI lite review requested due to automatic review settings September 5, 2026 01:28
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

@Ranjeet2063 is attempting to deploy a commit to the Oluremi's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

This branch has not been deployed

No deployments
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.

[Bounty: $60] Remove the six never-imported UI components or wire them into the layout

2 participants