File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,9 +150,10 @@ function renderSkillRows(
150150 const statusText = status === "installed" ? "installed"
151151 : status === "partial" ? "partial"
152152 : "—" ;
153- const checked = status !== "installed" ? "checked" : "" ;
153+ const checked = "checked" ;
154+ const disabled = status === "installed" ? "disabled" : "" ;
154155 return `<label class="hs-ai-item">
155- <input type="checkbox" class="hs-ai-cb" data-skill="${ escapeHtml ( s . dirName ) } " ${ checked } >
156+ <input type="checkbox" class="hs-ai-cb" data-skill="${ escapeHtml ( s . dirName ) } " ${ checked } ${ disabled } >
156157 <span class="hs-ai-item-name" title="${ escapeHtml ( s . description ) } ">${ escapeHtml ( s . name ) } </span>
157158 <span class="hs-ai-item-status ${ statusClass } ">${ statusText } </span>
158159 </label>` ;
Original file line number Diff line number Diff line change @@ -558,6 +558,14 @@ export class HomescreenViewProvider implements vscode.WebviewViewProvider {
558558 margin-top: 1px;
559559 }
560560
561+ .hs-ai-item input[type="checkbox"]:disabled { opacity: 0.5; cursor: default; }
562+ .hs-ai-hint {
563+ font-size: 9px;
564+ color: var(--vscode-descriptionForeground);
565+ margin: 3px 0 0 0;
566+ padding: 0;
567+ }
568+
561569 /* Progress tick */
562570 .hs-ai-item-tick {
563571 flex-shrink: 0;
@@ -705,6 +713,7 @@ export class HomescreenViewProvider implements vscode.WebviewViewProvider {
705713 <div>
706714 <div class="hs-ai-section-head">Skills</div>
707715 <div id="hs-ai-skills-list"></div>
716+ <div class="hs-ai-hint">Installed skills are locked. Delete files to uninstall.</div>
708717 <div class="hs-ai-section-head" style="margin-top:8px">Install for</div>
709718 <div id="hs-ai-platform-list"></div>
710719 </div>
You can’t perform that action at this time.
0 commit comments