perf: remove unused shadcn/ui components - #122
Closed
pragmaticAweds wants to merge 7 commits into
Closed
Conversation
…oks/use-toast.ts file
…tation - Resolve merge conflicts with main in hooks/use-toast.ts, tsconfig.json, pnpm-lock.yaml, and components/ui/sheet.tsx - Remove @radix-ui/react-separator, @radix-ui/react-toggle, and @radix-ui/react-tooltip from package.json (components using them were deleted) - Use proper `boolean` type instead of `any` for onOpenChange callback - Keep e2e and playwright.config.ts in tsconfig exclude entries from main - Delete unused sheet.tsx component Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Supersedes #97 (fixes #68) — removes unused shadcn/ui component files to reduce repo bloat.
Based on @Litezy's work in #97, with the following fixes applied:
@radix-ui/react-separator,@radix-ui/react-toggle,@radix-ui/react-tooltip) that were added for deleted componentsonOpenChangetype fromanytobooleaninhooks/use-toast.tse2eandplaywright.config.tstsconfig exclude entries from mainsheet.tsxcomponentDeleted components: accordion, alert-dialog, alert, aspect-ratio, avatar, breadcrumb, button-group, calendar, carousel, chart, checkbox, collapsible, command, context-menu, drawer, dropdown-menu, empty, field, form, hover-card, input-group, input-otp, item, kbd, menubar, navigation-menu, pagination, popover, progress, radio-group, resizable, scroll-area, select, separator, sheet, sidebar, skeleton, slider, sonner, spinner, switch, table, tabs, textarea, toggle-group, toggle, tooltip, use-mobile, use-toast (duplicate)
Kept components: button, card, dialog, label, input, badge, toast (verified via active imports)
Test plan
pnpm buildpassespnpm lintpasses (0 errors)🤖 Generated with Claude Code
Co-authored-by: Litezy liteb237@gmail.com