FEAT: Alter colour of update icon and and filter#532
Conversation
Bundle Size Report 📦
Bundle Analysis ReportsThe detailed bundle analysis reports are available in the workflow artifacts:
Download the artifacts from the workflow run to view interactive visualizations. Bundle size tracking is now active! This helps prevent bundle bloat. |
There was a problem hiding this comment.
Pull request overview
Updates the renderer UI to better surface “update available” state for installed tools by introducing an “Update Available” filter and adjusting the update indicator styling/placement in the tools sidebar.
Changes:
- Add an “Update Available” checkbox filter to the Installed tools filter dropdown and wire it into sidebar filtering logic.
- Restyle/reposition the per-tool update indicator (badge) in the tools list layout.
- Introduce a development-only mock response for tool update checks (currently randomized).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| src/renderer/styles.scss | Adds checkbox styling for the new filter; adjusts update badge styling and some layout/transition formatting. |
| src/renderer/modules/toolsSidebarManagement.ts | Implements the new “Update Available” filter and moves the update badge into a header-right stack near the overflow menu button. |
| src/renderer/index.html | Adds the new “Update Available” checkbox to the Installed tools filter dropdown; minor HTML formatting tweaks. |
| src/main/index.ts | Adds a development-only mock for CHECK_TOOL_UPDATES (currently random). |
|
@copilot apply changes based on the comments in this thread |
… color Agent-Logs-Url: https://github.com/PowerPlatformToolBox/desktop-app/sessions/ef1aad69-82ba-4d9b-afce-07c091abc7c7 Co-authored-by: LinkeD365 <43988771+LinkeD365@users.noreply.github.com>
Applied all changes from the review thread in commit
|
…icator Co-authored-by: Copilot <copilot@github.com>
Bundle Size Report 📦
Bundle Analysis ReportsThe detailed bundle analysis reports are available in the workflow artifacts:
Download the artifacts from the workflow run to view interactive visualizations. Bundle size tracking is now active! This helps prevent bundle bloat. |
| // DEV MOCK: randomly flag ~50% of tools as having an update available | ||
| if (process.env.NODE_ENV === "development") { | ||
| const hasMockUpdate = Math.random() < 0.5; | ||
| if (hasMockUpdate) { | ||
| return { hasUpdate: true, latestVersion: "99.0.0" }; |
There was a problem hiding this comment.
This introduces a random DEV-only mock for CHECK_TOOL_UPDATES, which changes behavior unrelated to the PR’s stated UI changes and can make the update badge/filter hard to manually validate (results change on every invocation). Consider removing this from the PR, or making it deterministic/opt-in (e.g., behind an explicit env flag or based on a stable hash of toolId).
|
@copilot apply changes based on the comments in this thread |
… doc comment, remove dev mock Agent-Logs-Url: https://github.com/PowerPlatformToolBox/desktop-app/sessions/82a20789-a4d1-4ba9-b4a0-1ccd6012a19d Co-authored-by: LinkeD365 <43988771+LinkeD365@users.noreply.github.com>
Applied all changes from the review thread in commit
|
Please fill in this template.