From cb337d39ba63ecddc9f214679d08daf75789a8e2 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Mon, 17 Aug 2026 21:44:58 -0700 Subject: [PATCH] fix: Bot Mode cronjobs panel no longer shows two empty-state markers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The empty cronjobs list rendered both a calendar-icon placeholder blurb ("Cronjobs are recurring tasks this agent runs on a schedule.") and the Create Cronjob button — two elements saying the same thing (empty). Per Teknium's review, drop the generic placeholder and keep only the create button. The filter hint ("jobs exist but are hidden by the bot filter") still renders, since it carries real information rather than just marking emptiness. --- apps/desktop/src/plugins/hermes-bots/plugin.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/apps/desktop/src/plugins/hermes-bots/plugin.js b/apps/desktop/src/plugins/hermes-bots/plugin.js index a0c6ce96ea..2d330462c0 100644 --- a/apps/desktop/src/plugins/hermes-bots/plugin.js +++ b/apps/desktop/src/plugins/hermes-bots/plugin.js @@ -6967,13 +6967,16 @@ function RoutinesPane() { ? jsxs('div', { className: 'flex flex-1 flex-col items-center justify-center gap-3 px-4 text-center', children: [ - jsx(Codicon, { name: 'calendar', className: 'text-[1.6rem] text-(--ui-text-quaternary)' }), - jsx('div', { - className: 'text-xs leading-5 text-(--ui-text-tertiary)', - children: filterHint - ? filterHint - : 'Cronjobs are recurring tasks this agent runs on a schedule.' - }), + // No generic placeholder here: an icon + "cronjobs are…" blurb and the + // create button both just said "empty" (Teknium, Aug 2026). The hint + // text stays only when jobs exist but are hidden by the bot filter — + // that carries real information, not an empty-state marker. + filterHint + ? jsx('div', { + className: 'text-xs leading-5 text-(--ui-text-tertiary)', + children: filterHint + }) + : null, jsx(Button, { variant: 'secondary', size: 'sm',