UI updates and clean up - #64
Merged
Merged
Conversation
✅ Deploy Preview for spit-sh ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR focuses on frontend UI cleanup and consistency updates across shared UI components, primarily aligning formatting and React/TypeScript ref typings, plus removing unused icon components.
Changes:
- Standardized code style in UI components (semicolons, trailing commas in
cn(...), consistent exports). - Updated multiple
forwardReftype annotations to useComponentRef(and related named React imports in a few files). - Cleaned up unused/icon and SVG attribute usage (
fillRule), and reduced exported surface area in chart config helpers.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/lib/analytics/chartConfigs.ts | Keeps palette constants internal while preserving exported chart config builders. |
| frontend/components/ui/tooltip.tsx | Formatting cleanup + ref typing update for tooltip content. |
| frontend/components/ui/tabs.tsx | Formatting cleanup + ref typing updates for tabs components. |
| frontend/components/ui/popover.tsx | Formatting cleanup + ref typing update for popover content. |
| frontend/components/ui/input-otp.tsx | Ref typing updates for OTP wrappers. |
| frontend/components/ui/dropdown-menu.tsx | Formatting cleanup + ref typing updates across dropdown menu primitives. |
| frontend/components/ui/dialog.tsx | Switches to named React imports + ref typing updates + formatting cleanup. |
| frontend/components/ui/command.tsx | Formatting cleanup + ref typing updates for cmdk wrappers. |
| frontend/components/ui/button.tsx | Switches to named React imports + formatting cleanup (no behavior change). |
| frontend/components/ui/badge.tsx | Switches to named React type import + formatting cleanup. |
| frontend/components/ui/alert-dialog.tsx | Switches to named React imports + ref typing updates + formatting cleanup. |
| frontend/components/illustrations/Float.tsx | Fixes SVG attribute casing (fillRule). |
| frontend/components/icons/UserCircle.tsx | Removes unused icon component file. |
| frontend/components/icons/SunIcon.tsx | Removes unused icon component file. |
| frontend/components/icons/PencilIcon.tsx | Removes unused icon component file. |
| frontend/components/icons/FolderIcon.tsx | Removes unused icon component file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
No description provided.