Browse Source

fix(activitybar): remove `when: isMac` condition from viewsContainers (#2829)

Removed the `when: "isMac"` condition from the Kilo-Code activity bar container.
This condition caused the icon to be hidden on Windows/Linux and likely triggered
cache corruption that persisted across sessions.

Per user report (waewoo, last week), the visibility issue was resolved after
running “View: Reset View Locations”, confirming a user cache interaction —
but the `isMac` condition remained a root cause of instability across platforms.

Removing the platform gate ensures consistent icon visibility and prevents
future persistence issues in the activity bar container.

Fixes: https://github.com/Kilo-Org/kilocode/issues/1453

Co-authored-by: Chris Hasson <[email protected]>
Chris Hasson 5 months ago
parent
commit
75acbabd1f
2 changed files with 9 additions and 3 deletions
  1. 5 0
      .changeset/public-emus-flow.md
  2. 4 3
      src/package.json

+ 5 - 0
.changeset/public-emus-flow.md

@@ -0,0 +1,5 @@
+---
+"kilo-code": patch
+---
+
+Potentially fix missing Kilo Code icon by removing 'when' condition from the extension's activitybar config

+ 4 - 3
src/package.json

@@ -111,8 +111,7 @@
 					"id": "kilo-code-ActivityBar",
 					"title": "%views.activitybar.title%",
 					"icon": "assets/icons/kilo.png",
-					"darkIcon": "assets/icons/kilo-dark.png",
-					"when": "isMac"
+					"darkIcon": "assets/icons/kilo-dark.png"
 				}
 			]
 		},
@@ -121,7 +120,9 @@
 				{
 					"type": "webview",
 					"id": "kilo-code.SidebarProvider",
-					"name": "%views.sidebar.name%"
+					"name": "%views.sidebar.name%",
+					"icon": "assets/icons/kilo.png",
+					"darkIcon": "assets/icons/kilo-dark.png"
 				}
 			]
 		},