feat: Enhance TitleBar with BridgeStatus and Settings management features#74
Merged
Conversation
…restart functionality
…w control buttons
…s for improved settings management
…date health check logic
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/UX improvements, new features, and code refactoring, primarily focused on enhancing the application's theme switching experience, improving the title bar, and updating the way release notes are displayed. The most important changes are grouped below by theme.
UI/UX Improvements:
src/App.cssandsrc/components/providers/ThemeProvider.tsx. This includes disabling transitions during theme changes for a smoother experience and supporting reduced motion preferences. [1] [2]TitleBar.tsxto include a live bridge connection status indicator (BridgeStatus), a settings button, and macOS-style window controls with improved accessibility and visuals. [1] [2] [3]Feature Additions:
BridgeStatuscomponent that displays the connection state to the bridge and provides a reconnect button if disconnected.react-markdowndependency to allow rendering of markdown-formatted release notes.Release Notes Handling:
WhatsNewDialogto fetch release notes directly from GitHub using the API, render them with markdown, and provide a fallback message if unavailable. This simplifies the dialog and improves reliability.Code Quality and Maintenance:
ThemeProviderto centralize theme application logic, support system theme changes, and use local storage with a consistent key. Added support for smooth transitions using the View Transition API. [1] [2]