refactor: simplify GitHub integration UI and reorganize components - #137
Merged
Conversation
- Simplify GitHubStatusCard to single card with two states (connected/not connected) - Remove redundant GitHub App Installations section - Move GitHubStatusCard to route-specific _components/ directory - Add component organization guidelines to CLAUDE.md
- Add SettingsSidebar component with Integrations and Account menu items - Create /settings/integrations route with GitHub integration content - Add shared layout.tsx for settings pages - Redirect /settings to /settings/integrations - Move page header to individual pages for flexibility
- Add left section with title, description, and GitHub logo card - Add right section with integration explanation and action area - Show green checkmark on logo when connected - Display user avatar and connected status in connected state - Show Connect to GitHub button in disconnected state
- Move card wrapper to parent page component - Add GitHub Integration title inside the item - Fix capitalization: fulling -> Fulling - Remove redundant section heading from integrations page
- Add min-w-0 to prevent flex container overflow - Simplify repo button layout structure - Increase DialogContent max-width from max-w-lg to max-w-2xl - Add whitespace-nowrap to Private badge to prevent wrapping
- Move create-project-dialog.tsx from components/dialog/ to app/(dashboard)/projects/_components/ - Update import paths in search-bar.tsx and create-project-card.tsx - Remove now-empty import-github-dialog.tsx from components/dialog/ - Keep settings-dialog.tsx in components/dialog/ as it's used across multiple routes This follows the component organization convention: - Route-specific components (used only within projects/*) -> _components/ - Shared components (used across multiple routes) -> components/
✅ PR Check Results: PassedBuild Checks
✨ Great work!All checks passed successfully. Your PR is ready for review. Details:
🔗 View Details: |
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.
Description
Overview
This refactor simplifies the GitHub integration UI, improves the settings page navigation structure, and moves route-specific components to their proper directories.
Key Changes
1. Redesigned GitHub Integration Card
2. Added Settings Page Sidebar Navigation
3. Component Directory Reorganization
4. Fixed Dialog Overflow Issue
File Changes
Testing Checklist