From 0b17b9d97d515e03050916f54fde82ba64399d1c Mon Sep 17 00:00:00 2001 From: Federico Jaramillo Martinez Date: Thu, 2 Jul 2026 21:16:33 +0200 Subject: [PATCH] fix(updates): remove beta label --- .changeset/remove-updates-beta-badge.md | 5 +++++ pi-web-plugins/updates/pi-web-plugin.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/remove-updates-beta-badge.md diff --git a/.changeset/remove-updates-beta-badge.md b/.changeset/remove-updates-beta-badge.md new file mode 100644 index 0000000..31ebee3 --- /dev/null +++ b/.changeset/remove-updates-beta-badge.md @@ -0,0 +1,5 @@ +--- +"@jmfederico/pi-web": patch +--- + +Promote the Updates tab to stable by removing its beta label while keeping update message counts visible. diff --git a/pi-web-plugins/updates/pi-web-plugin.ts b/pi-web-plugins/updates/pi-web-plugin.ts index 3266f08..6cb738f 100644 --- a/pi-web-plugins/updates/pi-web-plugin.ts +++ b/pi-web-plugins/updates/pi-web-plugin.ts @@ -104,7 +104,7 @@ function renderUpdatesPanel(html: HtmlTemplateTag, terminal: WorkspacePanelTermi .updates-command > span { grid-column: 1 / -1; } } -
Updatesbeta${messages.length > 0 ? html`${String(messages.length)}` : null}
+
Updates${messages.length > 0 ? html`${String(messages.length)}` : null}
${messages.length === 0 ? html`

No PI WEB update or restart messages.

` : messages.map((message) => html` @@ -160,7 +160,7 @@ const plugin: PiWebPlugin = { visible: (context) => shouldShowUpdatesPanel(context.state), badge: (context) => { const count = messageCount(context.state); - return html`beta${count > 0 ? html` ยท ${String(count)}` : null}`; + return count > 0 ? count : undefined; }, render: (context) => renderUpdatesPanel(html, context.terminal, context.state), },