Skip to content

Refactor/update - #76

Merged
HublackBE merged 5 commits into
mainfrom
refactor/update
Jan 12, 2026
Merged

Refactor/update#76
HublackBE merged 5 commits into
mainfrom
refactor/update

Conversation

@HublackBE

Copy link
Copy Markdown
Contributor

No description provided.

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.

@nasrlol nasrlol left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@HublackBE
HublackBE merged commit e5e87b9 into main Jan 12, 2026
1 check passed
@HublackBE
HublackBE deleted the refactor/update branch January 12, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants