Refactor/update - #76
Merged
Merged
Conversation
Added a new TextBlock to display each service's state in the UI. Updated backend logic to fetch and merge both all units and loaded units, ensuring LoadState is accurate. Extended ServiceInfo with a State property and improved Description to use the unit's description when available. Updated service list population to reflect these changes.
Redesign service list to show name, description, and colored state/active-state chips. Refactor ServiceInfo with separate State, ActiveState, StateFill, and ActiveStateFill properties. Update sorting, error handling, and property change notifications. Improve layout and visual clarity.
Refactored the ListView item template in ServicesPage.xaml for a clearer, more modern layout, replacing the custom ItemContainerStyle and adding visual state indicators with colored ellipses. Moved the "Actions" button for better alignment. Updated confirmation dialogs for stopping and restarting services with improved button text and titles. Rewrote UpdateServiceVisualStateAsync to update both state text and color for various actions, and enhanced error handling and info bar messaging for a better user experience.
ServiceDetailsWindow now features an "Actions" menu for starting, stopping, restarting, enabling, and disabling services, with async handlers and InfoBar notifications for user feedback. Refactored Agent to Client for clarity. Improved text styles and visual state updates. ServicesPage item layout and interaction feedback enhanced for better usability.
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.