Skip to content

Policies Library color tagging for AppControl Manager#1118

Merged
HotCakeX merged 1 commit intomainfrom
Policies-Library-color-tagging-for-AppControl-Manager
Apr 6, 2026
Merged

Policies Library color tagging for AppControl Manager#1118
HotCakeX merged 1 commit intomainfrom
Policies-Library-color-tagging-for-AppControl-Manager

Conversation

@HotCakeX
Copy link
Copy Markdown
Owner

@HotCakeX HotCakeX commented Apr 6, 2026

You can now tag policies in the library with colors to help with easy recognition or categorization of them. You can choose from a pre-defined set of colors or use the color picker to select any color you like.

You can now tag policies in the library with colors to help with easy recognition or categorization of them. You can choose from a pre-defined set of colors or use the color picker to select any color you like.
@HotCakeX HotCakeX self-assigned this Apr 6, 2026
@HotCakeX HotCakeX added the AppControl Manager 🛡️ Any item labeled with this is related to the AppControl Manager application. label Apr 6, 2026
Copilot AI review requested due to automatic review settings April 6, 2026 15:59
@HotCakeX HotCakeX merged commit 220d37e into main Apr 6, 2026
10 of 12 checks passed
@HotCakeX HotCakeX deleted the Policies-Library-color-tagging-for-AppControl-Manager branch April 6, 2026 16:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds color tagging to the Policies Library so users can visually categorize policies and have those tags persist across sessions.

Changes:

  • Adds a JSON-backed cache (PolicyColors.json) to persist policy color tags by policy GUID.
  • Adds UI affordances to set predefined/custom colors and shows a tag indicator in the sidebar list.
  • Cleans up color cache entries when policies are removed/cleared.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
AppControl Manager/ViewModels/MainWindowVM.cs Loads/saves color tags to a JSON cache and applies tag brushes during library load.
AppControl Manager/Strings/en-US/Resources.resw Adds localized strings for the “Set Color” submenu.
AppControl Manager/SiPolicy/PolicyFileRepresent.cs Adds tag brush/visibility properties and a JSON source-gen context.
AppControl Manager/MainWindow.xaml.cs Adds handlers for setting custom/predefined colors and removes cache entries on delete.
AppControl Manager/MainWindow.xaml Adds “Set Color” context menu and renders the color tag indicator in the list item UI.

Comment thread AppControl Manager/MainWindow.xaml.cs
Comment thread AppControl Manager/MainWindow.xaml.cs
Comment thread AppControl Manager/ViewModels/MainWindowVM.cs
Comment thread AppControl Manager/ViewModels/MainWindowVM.cs
Comment thread AppControl Manager/MainWindow.xaml
Comment thread AppControl Manager/MainWindow.xaml
Comment thread AppControl Manager/MainWindow.xaml
Comment thread AppControl Manager/MainWindow.xaml
Comment thread AppControl Manager/MainWindow.xaml
Comment thread AppControl Manager/ViewModels/MainWindowVM.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AppControl Manager 🛡️ Any item labeled with this is related to the AppControl Manager application.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants