Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
feat: show global pause state on schedule cards
[._.]/ Adam Eivya7789ec6c51a
diff --git a/client/src/components/cos/tabs/schedule/AppTaskCard.jsx b/client/src/components/cos/tabs/schedule/AppTaskCard.jsxindex 8d6be20225..d49a58655d 100644--- a/client/src/components/cos/tabs/schedule/AppTaskCard.jsx+++ b/client/src/components/cos/tabs/schedule/AppTaskCard.jsx@@ -1,10 +1,11 @@-import { Clock, AlertTriangle, SlidersHorizontal, GitMerge } from 'lucide-react';+import { Clock, AlertTriangle, SlidersHorizontal, GitMerge, PauseCircle } from 'lucide-react';import { timeAgo } from '../../../../utils/formatters';import useTaskModelPins from '../../../../hooks/useTaskModelPins';import { describeNextRun, coverageTone, pipelineStages, IMPROVEMENT_DISABLED_TITLE, SAVING_TITLE } from './scheduleConstants';import TaskHeader from './TaskHeader';import RunTaskButton from './RunTaskButton';import TaskModelQuickControls from './TaskModelQuickControls';+import Banner from '../../../ui/Banner';// One scheduled task rendered as a status-rich card. Browsing plus the common// "retarget the model and run it" loop happen here; the rest of the@@ -75,6 +76,18 @@ export default function AppTaskCard({ taskType, config, apps, onTrigger, onConfi</div></button>+ {config.enabled === false && (+ <Banner+ tone="warning"+ icon={PauseCircle}+ title="Global pause active"+ role="status"+ className="mx-4 mb-3"+ >+ Scheduled runs are paused for this task.+ </Banner>+ )}+{/* Quick model pins — the drawer's Global defaults, inline */}{userInvokable && onUpdate && (stageCount > 0 ? (<buttondiff --git a/client/src/components/cos/tabs/schedule/AppTaskCard.test.jsx b/client/src/components/cos/tabs/schedule/AppTaskCard.test.jsxindex 61c2edfe4e..7fb24d19a4 100644--- a/client/src/components/cos/tabs/schedule/AppTaskCard.test.jsx+++ b/client/src/components/cos/tabs/schedule/AppTaskCard.test.jsx@@ -109,6 +109,17 @@ describe('AppTaskCard', () => {expect(screen.getByText('Paused')).toBeTruthy();});+ it('shows the global pause state on the card', () => {+ renderCard({ enabled: false });+ const indicator = screen.getByText('Global pause active').closest('[role="status"]');+ expect(indicator).toHaveTextContent('Scheduled runs are paused for this task.');+ });++ it('does not show a global pause indicator for an enabled task', () => {+ renderCard();+ expect(screen.queryByText('Global pause active')).toBeNull();+ });+it('marks an automation-only task and removes direct actions', () => {const { onTrigger, onConfigure } = renderCard({invocation: {