UI refactor: extract reusable database components and standardize design#58
Merged
Yashh56 merged 11 commits intoRelwave:developfrom Apr 7, 2026
Merged
UI refactor: extract reusable database components and standardize design#58Yashh56 merged 11 commits intoRelwave:developfrom
Yashh56 merged 11 commits intoRelwave:developfrom
Conversation
…ents to display database metadata and connection information.
… routing and layout structure
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.
This pull request introduces several UI improvements and refactors to the database connection and overview components, focusing on consistency, code reuse, and enhanced user experience. The main changes include extracting and reusing UI components for database details, updating the visual style of statistics and cards, and introducing new utility UI components.
Component refactoring and reuse:
DatabaseDetailinto a new reusableDatabaseOverviewPanelcomponent, simplifyingDatabaseDetailand improving maintainability. (src/features/home/components/DatabaseDetail.tsx,src/features/home/components/DatabaseOverviewPanel.tsx) [1] [2]ConnectionDetailscomponent for better separation of concerns and reusability. (src/features/home/components/ConnectionDetails.tsx,src/features/home/components/DatabaseOverviewPanel.tsx) [1] [2]UI consistency and enhancements:
Card,CardContent, and related components for a more consistent and modern UI. This includes changes to the quick stats footer and discovered databases list. (src/features/home/components/ConnectionList.tsx,src/features/home/components/DiscoveredDatabasesCard.tsx) [1] [2] [3] [4]src/features/home/components/ConnectionList.tsx)New UI utilities:
Emptycomponent suite (Empty,EmptyHeader,EmptyTitle, etc.) to standardize empty state presentations throughout the app. (src/components/ui/empty.tsx)Minor UI adjustments:
VerticalIconBarfor a cleaner sidebar appearance. (src/components/layout/VerticalIconBar.tsx)DatabaseDetailcomponent for improved navigation. (src/features/home/components/DatabaseDetail.tsx)These changes collectively improve code organization, promote reuse of UI elements, and enhance the overall user interface consistency across the application.