From a7a02144aab307595cdd1b2edfb9ebd86a045dfe Mon Sep 17 00:00:00 2001 From: "Beau Beauchamp, WebTigers" Date: Mon, 17 Aug 2026 07:45:56 -0400 Subject: [PATCH] Skills grid: readable status pills + a labeled Install button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Status column: theme-aware pill badges legible in dark mode — Available (secondary-subtle), Installed (primary-subtle), On (solid success + check). The old text-bg-light + text-body-secondary washed out on the dark skin. - Actions: the bare download icon becomes a proper "Install" button (icon + label). Co-Authored-By: Claude Opus 4.8 --- modules/agent/views/scripts/skills/index.phtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/agent/views/scripts/skills/index.phtml b/modules/agent/views/scripts/skills/index.phtml index 1e3fc3a..60ce311 100644 --- a/modules/agent/views/scripts/skills/index.phtml +++ b/modules/agent/views/scripts/skills/index.phtml @@ -100,10 +100,10 @@ document.addEventListener('DOMContentLoaded', function () { } }, { data: 'installed', className: 'text-nowrap', render: function (t, type, row) { if (type !== 'display') { return t ? 1 : 0; } - if (!row.installed) { return 'Available'; } + if (!row.installed) { return 'Available'; } return row.active - ? 'On' - : 'Installed'; + ? 'On' + : 'Installed'; } }, { data: null, orderable: false, searchable: false, className: 'text-end text-nowrap', render: function (t, type, row) { var h = ''; @@ -114,9 +114,9 @@ document.addEventListener('DOMContentLoaded', function () { + ' data-entry="' + esc(JSON.stringify({ source: row.source, sourceLabel: row.sourceLabel, name: row.name, repo: row.repo, ref: row.ref, path: row.path, url: row.url })) + '">' + ' '; if (!row.installed) { - h += ''; + + 'Install'; } else { h += row.active ? ' '