Skip to content

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

feat(cos): rename per-app overrides to per-app options and clarify the run toggle

Adam Eivy9c5fffe95dcf
diff --git a/client/src/components/apps/tabs/AutomationTab.jsx b/client/src/components/apps/tabs/AutomationTab.jsx
index 82d73be830..454ff132ff 100644
--- a/client/src/components/apps/tabs/AutomationTab.jsx
+++ b/client/src/components/apps/tabs/AutomationTab.jsx
@@ -209,10 +209,13 @@ export default function AutomationTab({ appId, appName }) {
<div className="flex items-center justify-between">
<div className="flex items-center gap-4">
<div>
- <h3 className="text-lg font-semibold text-white">Task Type Overrides</h3>
- <p className="text-sm text-gray-500">Per-app automation preferences for CoS task scheduling</p>
+ <h3 className="text-lg font-semibold text-white">Scheduled Task Options</h3>
+ <p className="text-sm text-gray-500">
+ Each toggle turns that CoS scheduled task on or off for this app. The controls beside it are optional —
+ leave one on <em>Inherit</em> and it follows the global schedule defaults.
+ </p>
</div>
- <ToggleSwitch enabled={allEnabled} onChange={handleToggleAll} size="sm" activeColor="bg-port-success" ariaLabel={allEnabled ? 'Disable all automations' : 'Enable all automations'} />
+ <ToggleSwitch enabled={allEnabled} onChange={handleToggleAll} size="sm" activeColor="bg-port-success" ariaLabel={allEnabled ? 'Disable every scheduled task for this app' : 'Enable every scheduled task for this app'} />
</div>
<button
onClick={fetchData}
@@ -253,7 +256,21 @@ export default function AutomationTab({ appId, appName }) {
<div key={taskType} className="bg-port-card border border-port-border rounded-lg p-3 space-y-2">
{/* Row 1: name + toggle + configure + run now */}
<div className="flex items-center gap-3">
- <ToggleSwitch enabled={isEnabled} onChange={() => handleToggle(taskType, isEnabled)} size="sm" activeColor="bg-port-success" />
+ <span
+ className="flex items-center gap-1.5 shrink-0"
+ title={isEnabled
+ ? `${taskType} runs for this app on the schedule below. Turn off to stop scheduling it.`
+ : `${taskType} does not run for this app. Turn on to schedule it.`}
+ >
+ <span className="text-[10px] uppercase tracking-wide text-gray-500">Run</span>
+ <ToggleSwitch
+ enabled={isEnabled}
+ onChange={() => handleToggle(taskType, isEnabled)}
+ size="sm"
+ activeColor="bg-port-success"
+ ariaLabel={`Run ${taskType} for this app: ${isEnabled ? 'on' : 'off'}`}
+ />
+ </span>
<div className="flex-1 min-w-0">
<span className="text-white font-mono text-xs">{taskType}</span>
<div className="text-xs text-gray-500">{effectiveLabel}{intervalSuffix}</div>
@@ -261,7 +278,7 @@ export default function AutomationTab({ appId, appName }) {
<button
onClick={() => setExpandedTaskType(prev => prev === taskType ? null : taskType)}
aria-expanded={isExpanded}
- aria-label={`${isExpanded ? 'Hide' : 'Show'} provider and model overrides for ${taskType}`}
+ aria-label={`${isExpanded ? 'Hide' : 'Show'} provider and model options for ${taskType}`}
className="px-2 py-1 bg-port-border/60 text-gray-300 hover:bg-port-border rounded text-xs inline-flex items-center gap-1 shrink-0"
>
{isExpanded ? <ChevronDown size={12} /> : <ChevronRight size={12} />}
diff --git a/client/src/components/apps/tabs/AutomationTab.test.jsx b/client/src/components/apps/tabs/AutomationTab.test.jsx
index 69426a5c55..1822b93d0e 100644
--- a/client/src/components/apps/tabs/AutomationTab.test.jsx
+++ b/client/src/components/apps/tabs/AutomationTab.test.jsx
@@ -74,11 +74,11 @@ beforeEach(() => {
vi.clearAllMocks();
});
-describe('AutomationTab per-app overrides', () => {
+describe('AutomationTab per-app options', () => {
it('Configure toggle expands the provider override panel', async () => {
await renderTab();
const row = rowFor('layered-intelligence');
- const configureBtn = within(row).getByRole('button', { name: /show provider and model overrides/i });
+ const configureBtn = within(row).getByRole('button', { name: /show provider and model options/i });
expect(configureBtn).toHaveAttribute('aria-expanded', 'false');
// Provider selector is not rendered until expanded.
expect(within(row).queryByLabelText('Provider override')).toBeNull();
@@ -92,7 +92,7 @@ describe('AutomationTab per-app overrides', () => {
it('changing the provider PATCHes updateAppTaskTypeOverride with providerId + cleared model', async () => {
await renderTab();
const row = rowFor('layered-intelligence');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
const providerSelect = within(row).getByLabelText('Provider override');
fireEvent.change(providerSelect, { target: { value: 'claude-cli' } });
@@ -109,7 +109,7 @@ describe('AutomationTab per-app overrides', () => {
it('changing the model PATCHes updateAppTaskTypeOverride with the model', async () => {
await renderTab({ 'layered-intelligence': { providerId: 'claude-cli' } });
const row = rowFor('layered-intelligence');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
fireEvent.change(within(row).getByLabelText('Model'), { target: { value: 'sonnet' } });
@@ -124,7 +124,7 @@ describe('AutomationTab per-app overrides', () => {
it('excludes disabled providers from the picker', async () => {
await renderTab();
const row = rowFor('layered-intelligence');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
const providerSelect = within(row).getByLabelText('Provider override');
expect(within(providerSelect).queryByText('Disabled')).toBeNull();
expect(within(providerSelect).getByText('Claude Code')).toBeInTheDocument();
@@ -133,7 +133,7 @@ describe('AutomationTab per-app overrides', () => {
it('layered-intelligence row shows a behavior link that deep-links to the Intelligence tab', async () => {
await renderTab();
const row = rowFor('layered-intelligence');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
const link = within(row).getByRole('button', { name: /configure behavior/i });
fireEvent.click(link);
@@ -145,14 +145,14 @@ describe('AutomationTab per-app overrides', () => {
it('offers the same provider picker on a task type with no hook', async () => {
await renderTab();
const row = rowFor('app-improvement');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
expect(within(row).getByLabelText('Provider override')).toBeInTheDocument();
});
it('clearing the provider sends explicit nulls, matching the other pin surfaces', async () => {
await renderTab({ 'app-improvement': { providerId: 'claude-cli', model: 'opus' } });
const row = rowFor('app-improvement');
- fireEvent.click(within(row).getByRole('button', { name: /show provider and model overrides/i }));
+ fireEvent.click(within(row).getByRole('button', { name: /show provider and model options/i }));
fireEvent.change(within(row).getByLabelText('Provider override'), { target: { value: '' } });
await waitFor(() => expect(api.updateAppTaskTypeOverride).toHaveBeenCalledWith(
diff --git a/client/src/components/cos/tabs/WorkflowTab.jsx b/client/src/components/cos/tabs/WorkflowTab.jsx
index 274b76b338..57fe18b5fc 100644
--- a/client/src/components/cos/tabs/WorkflowTab.jsx
+++ b/client/src/components/cos/tabs/WorkflowTab.jsx
@@ -132,7 +132,7 @@ function TimelineRow({ node, occurrences, windows, timeline, hours, timezone, se
const divisions = hours === 168 ? 7 : 8;
const dependencyWarning = node.pendingDeps?.length > 0;
- // App overrides only apply to task types (system jobs are not per-app). The
+ // Per-app options only apply to task types (system jobs are not per-app). The
// server's active-app counts drive the toggle + badge (single source of
// truth); PerAppOverrideList does its own `apps` filtering when expanded.
const { enabledAppCount = 0, totalAppCount = 0 } = node;
@@ -148,7 +148,7 @@ function TimelineRow({ node, occurrences, windows, timeline, hours, timezone, se
type="button"
onClick={() => onToggleExpand(node.id)}
aria-expanded={expanded}
- aria-label={`${expanded ? 'Hide' : 'Show'} app overrides for ${node.label}`}
+ aria-label={`${expanded ? 'Hide' : 'Show'} per-app options for ${node.label}`}
title={countTitle}
className="flex h-5 w-5 shrink-0 items-center justify-center rounded text-gray-500 hover:bg-white/10 hover:text-gray-300"
>
@@ -271,7 +271,7 @@ export default function WorkflowTab({ apps, providers }) {
const [graph, setGraph] = useState(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState(null);
- // Which task rows have their per-app override panel expanded. Kept as local
+ // Which task rows have their per-app options panel expanded. Kept as local
// view state (a lightweight detail, not a selected record) rather than in the
// URL — the ?track= param already owns the selected editor panel.
const [expandedIds, setExpandedIds] = useState(() => new Set());
@@ -305,7 +305,7 @@ export default function WorkflowTab({ apps, providers }) {
return () => { fetchGeneration.current += 1; };
}, [fetchGraph]);
- // Per-app override mutations are shared with ScheduleTab; refetch the graph so
+ // Per-app option mutations are shared with ScheduleTab; refetch the graph so
// the enabled-app counts and inherited defaults stay in sync after each change.
const { handleUpdateOverride, handleBulkToggleOverride } = useAppOverrideActions(apps, fetchGraph);
@@ -445,7 +445,7 @@ export default function WorkflowTab({ apps, providers }) {
type="button"
onClick={() => toggleExpand(node.id)}
aria-expanded={expandedIds.has(node.id)}
- aria-label={`${expandedIds.has(node.id) ? 'Hide' : 'Show'} app overrides for ${node.label}`}
+ aria-label={`${expandedIds.has(node.id) ? 'Hide' : 'Show'} per-app options for ${node.label}`}
title={`${node.enabledAppCount || 0} of ${node.totalAppCount} apps enabled`}
className="flex h-full items-center border-l border-port-border/60 px-1.5 text-gray-500 hover:bg-white/10 hover:text-gray-300"
>
@@ -458,7 +458,7 @@ export default function WorkflowTab({ apps, providers }) {
</div>
{model.flexible.filter(node => expandedIds.has(node.id) && node.kind === 'task' && (node.totalAppCount || 0) > 0).map(node => (
<div key={node.id} className="mt-2 rounded border border-port-border/60 bg-port-bg/20 px-3 py-3">
- <div className="mb-2 text-xs font-medium text-gray-300">{node.label} <span className="text-gray-600">· app overrides</span></div>
+ <div className="mb-2 text-xs font-medium text-gray-300">{node.label} <span className="text-gray-600">· per-app options</span></div>
<AppOverridePanel node={node} apps={apps} providers={providers} onUpdateOverride={handleUpdateOverride} onBulkToggleOverride={handleBulkToggleOverride} />
</div>
))}
diff --git a/client/src/components/cos/tabs/WorkflowTab.providers.test.jsx b/client/src/components/cos/tabs/WorkflowTab.providers.test.jsx
index 10f6522b3b..50631014d0 100644
--- a/client/src/components/cos/tabs/WorkflowTab.providers.test.jsx
+++ b/client/src/components/cos/tabs/WorkflowTab.providers.test.jsx
@@ -61,7 +61,7 @@ const renderTab = async (providers) => {
await act(async () => {
render(<MemoryRouter><WorkflowTab apps={APPS} providers={providers} /></MemoryRouter>);
});
- const expand = await screen.findByRole('button', { name: /show app overrides for ux/i });
+ const expand = await screen.findByRole('button', { name: /show per-app options for ux/i });
fireEvent.click(expand);
};
diff --git a/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx b/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
index dd80aec733..ca25f45e2d 100644
--- a/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
+++ b/client/src/components/cos/tabs/schedule/AppOverrideRow.jsx
@@ -12,6 +12,14 @@ const AppOverrideRow = memo(function AppOverrideRow({ app, taskType, globalInter
const [updating, setUpdating] = useState(false);
const [cronEditing, setCronEditing] = useState(false);
const isEnabled = override?.enabled === true;
+ // The row's toggle is the app's ON/OFF switch for this scheduled task, not a
+ // "use my overrides" flag — every other control on the row is inert until it
+ // is on. Say so in the accessible name and the tooltip, since the switch
+ // itself carries no visible state text.
+ const runToggleLabel = `Run ${taskType} for ${app.name}: ${isEnabled ? 'on' : 'off'}`;
+ const runToggleTitle = isEnabled
+ ? `${taskType} runs for ${app.name} on the schedule set here. Turn off to stop scheduling it for this app.`
+ : `${taskType} does not run for ${app.name}. Turn on to schedule it for this app.`;
const currentInterval = override?.interval || null;
const hasCron = isCronExpression(currentInterval);
// Same effective-value rule the AGENT_OPTIONS buttons use: this app's override
@@ -105,20 +113,25 @@ const AppOverrideRow = memo(function AppOverrideRow({ app, taskType, globalInter
}
);
+ const runToggle = (
+ <>
+ <span className="text-[10px] uppercase tracking-wide text-gray-500">Run</span>
+ <ToggleSwitch
+ enabled={isEnabled}
+ onChange={handleToggle}
+ disabled={updating}
+ size="sm"
+ ariaLabel={runToggleLabel}
+ />
+ </>
+ );
+
return (
<div className="flex flex-col sm:flex-row sm:flex-wrap sm:items-center gap-2 sm:gap-3 py-2 px-3 rounded hover:bg-port-card/30">
<div className="flex items-center gap-2 min-w-0 w-full sm:w-auto sm:flex-1">
<AppIcon icon={app.icon || 'package'} appId={app.id} hasAppIcon={!!app.appIconPath} size={16} className="text-gray-400 shrink-0" />
<span className="text-sm text-white truncate flex-1">{app.name}</span>
- <div className="sm:hidden">
- <ToggleSwitch
- enabled={isEnabled}
- onChange={handleToggle}
- disabled={updating}
- size="sm"
- ariaLabel={`${isEnabled ? 'Disable' : 'Enable'} ${taskType} for ${app.name}`}
- />
- </div>
+ <div className="sm:hidden flex items-center gap-1.5 shrink-0" title={runToggleTitle}>{runToggle}</div>
</div>
<div className="flex items-center gap-2 flex-wrap">
@@ -303,15 +316,7 @@ const AppOverrideRow = memo(function AppOverrideRow({ app, taskType, globalInter
</select>
)}
- <div className="hidden sm:block">
- <ToggleSwitch
- enabled={isEnabled}
- onChange={handleToggle}
- disabled={updating}
- size="sm"
- ariaLabel={`${isEnabled ? 'Disable' : 'Enable'} ${taskType} for ${app.name}`}
- />
- </div>
+ <div className="hidden sm:flex items-center gap-1.5" title={runToggleTitle}>{runToggle}</div>
</div>
</div>
diff --git a/client/src/components/cos/tabs/schedule/AppOverrideRow.test.jsx b/client/src/components/cos/tabs/schedule/AppOverrideRow.test.jsx
index 3957ec0783..4e36833f19 100644
--- a/client/src/components/cos/tabs/schedule/AppOverrideRow.test.jsx
+++ b/client/src/components/cos/tabs/schedule/AppOverrideRow.test.jsx
@@ -277,3 +277,31 @@ describe('AppOverrideRow — per-app provider pin', () => {
expect(onUpdate).toHaveBeenCalledWith('app-1', 'ux', { providerId: 'opencode-llama-tui', model: null });
});
});
+
+describe('AppOverrideRow — run toggle', () => {
+ // The switch is what turns the scheduled task on for the app; it is NOT an
+ // "apply my overrides" flag. It carries no visible on/off text, so the
+ // accessible name has to say which task, which app, and the current state.
+ // The row renders the switch twice (a mobile slot and a desktop one), so both
+ // are asserted rather than indexing into the list.
+ it('names the task, the app, and the current state on every slot', () => {
+ renderRow({ taskType: 'feature-ideas' });
+ const off = screen.getAllByRole('switch', { name: 'Run feature-ideas for Acme: off' });
+ expect(off).toHaveLength(2);
+ off.forEach(sw => expect(sw).toHaveAttribute('aria-checked', 'false'));
+
+ cleanup();
+ renderRow({ taskType: 'feature-ideas', override: { enabled: true } });
+ const on = screen.getAllByRole('switch', { name: 'Run feature-ideas for Acme: on' });
+ expect(on).toHaveLength(2);
+ on.forEach(sw => expect(sw).toHaveAttribute('aria-checked', 'true'));
+ });
+
+ it('enables the task for the app while preserving its interval override', async () => {
+ const onUpdate = renderRow({ override: { enabled: false, interval: 'on-demand' } });
+ await act(async () => {
+ fireEvent.click(screen.getAllByRole('switch', { name: 'Run feature-ideas for Acme: off' })[0]);
+ });
+ expect(onUpdate).toHaveBeenCalledWith('app-1', 'feature-ideas', { enabled: true, interval: 'on-demand' });
+ });
+});
diff --git a/client/src/components/cos/tabs/schedule/AppTaskTypeSection.jsx b/client/src/components/cos/tabs/schedule/AppTaskTypeSection.jsx
index fce71b6f9c..ec58e2b597 100644
--- a/client/src/components/cos/tabs/schedule/AppTaskTypeSection.jsx
+++ b/client/src/components/cos/tabs/schedule/AppTaskTypeSection.jsx
@@ -47,7 +47,7 @@ export default function AppTaskTypeSection({ tasks, apps, providers, providersLo
</div>
</div>
<p className="text-sm text-gray-400">
- Tasks that analyze and improve PortOS and managed apps. Click a card to configure schedule and per-app overrides.
+ Tasks that analyze and improve PortOS and managed apps. Click a card to configure its schedule and to turn it on or off per app.
</p>
<div className="relative max-w-sm">
diff --git a/client/src/components/cos/tabs/schedule/PerAppOverrideList.jsx b/client/src/components/cos/tabs/schedule/PerAppOverrideList.jsx
index 35f1f73a60..d1df669284 100644
--- a/client/src/components/cos/tabs/schedule/PerAppOverrideList.jsx
+++ b/client/src/components/cos/tabs/schedule/PerAppOverrideList.jsx
@@ -26,12 +26,20 @@ export default function PerAppOverrideList({ taskType, config, apps, providers,
return (
<div>
- <div className="flex items-center justify-between mb-2">
- <h4 className="text-sm font-medium text-gray-400">Per-App Overrides</h4>
+ <div className="flex items-start justify-between gap-3 mb-2">
+ <div className="min-w-0">
+ <h4 className="text-sm font-medium text-gray-400">Per-App Options</h4>
+ <p className="text-xs text-gray-500 mt-0.5">
+ Each app&apos;s toggle turns <span className="font-mono text-gray-400">{taskType}</span> on or off for that app —
+ an app stays off until you switch it on here, whatever the rest of the row says. The other controls are
+ optional: leave one on <em>Inherit</em> and it follows the global defaults.
+ </p>
+ </div>
<button
onClick={handleBulkToggle}
disabled={bulkUpdating}
- className={`text-xs px-2 py-1 rounded transition-colors ${
+ title={`${allEnabled ? 'Stop' : 'Start'} running ${taskType} for every active app`}
+ className={`text-xs px-2 py-1 rounded transition-colors shrink-0 ${
bulkUpdating ? 'opacity-50 cursor-not-allowed' : ''
} ${
allEnabled
@@ -41,7 +49,7 @@ export default function PerAppOverrideList({ taskType, config, apps, providers,
: 'text-port-accent hover:bg-port-accent/10'
}`}
>
- {allEnabled ? 'Disable All' : 'Enable All'}
+ {allEnabled ? 'Disable for all apps' : 'Enable for all apps'}
</button>
</div>
<div className="border border-port-border rounded-lg divide-y divide-port-border/50">
diff --git a/client/src/components/cos/tabs/schedule/TaskConfigDrawer.jsx b/client/src/components/cos/tabs/schedule/TaskConfigDrawer.jsx
index 80b7652c1f..9626905092 100644
--- a/client/src/components/cos/tabs/schedule/TaskConfigDrawer.jsx
+++ b/client/src/components/cos/tabs/schedule/TaskConfigDrawer.jsx
@@ -16,8 +16,9 @@ import PerAppOverrideList from './PerAppOverrideList';
// - Stage config — per-stage provider/model (only when the task has a
// pipeline; count = number of stages)
// - Global defaults — schedule/provider/prompt controls (always present)
-// - Per-app overrides — per-app enablement (only when there are active apps;
-// count = number of active apps)
+// - Per-app options — turns the task on/off per app, plus that app's
+// optional per-app settings (only when there are
+// active apps; count = number of active apps)
// The active tab lives in the `taskTab` URL param so it survives reload and is
// shareable. TaskHeader (identity + badges) stays at the top of every tab.
export default function TaskConfigDrawer({
@@ -45,11 +46,11 @@ export default function TaskConfigDrawer({
const hasOverrides = activeApps.length > 0;
// Tabs are dynamic: a task without a pipeline hides Stage config, and an
- // install with no active apps hides Per-app overrides — never an empty tab.
+ // install with no active apps hides Per-app options — never an empty tab.
const tabs = [
hasStages && { id: 'stages', label: 'Stage config', count: stages.length },
{ id: 'global', label: 'Global defaults' },
- hasOverrides && { id: 'overrides', label: 'Per-app overrides', count: activeApps.length },
+ hasOverrides && { id: 'overrides', label: 'Per-app options', count: activeApps.length },
].filter(Boolean);
const tabIds = tabs.map(t => t.id);
const defaultTab = hasStages ? 'stages' : 'global';
diff --git a/client/src/components/cos/tabs/schedule/TaskConfigDrawer.test.jsx b/client/src/components/cos/tabs/schedule/TaskConfigDrawer.test.jsx
index 2c6f0f9621..a8a9e09608 100644
--- a/client/src/components/cos/tabs/schedule/TaskConfigDrawer.test.jsx
+++ b/client/src/components/cos/tabs/schedule/TaskConfigDrawer.test.jsx
@@ -65,10 +65,10 @@ describe('TaskConfigDrawer tabbed layout', () => {
renderDrawer();
expect(screen.getByRole('tab', { name: /Stage config/ })).toBeInTheDocument();
expect(screen.getByRole('tab', { name: /Global defaults/ })).toBeInTheDocument();
- expect(screen.getByRole('tab', { name: /Per-app overrides/ })).toBeInTheDocument();
+ expect(screen.getByRole('tab', { name: /Per-app options/ })).toBeInTheDocument();
// Counts surface: 2 stages, 1 active (non-archived) app.
expect(screen.getByRole('tab', { name: /Stage config/ })).toHaveTextContent('2');
- expect(screen.getByRole('tab', { name: /Per-app overrides/ })).toHaveTextContent('1');
+ expect(screen.getByRole('tab', { name: /Per-app options/ })).toHaveTextContent('1');
});
it('opens on Stage config and mounts only the active tab section', () => {
@@ -78,13 +78,13 @@ describe('TaskConfigDrawer tabbed layout', () => {
expect(screen.queryByTestId('override-list')).not.toBeInTheDocument();
});
- it('switches to Global defaults and Per-app overrides on tab click', () => {
+ it('switches to Global defaults and Per-app options on tab click', () => {
renderDrawer();
fireEvent.click(screen.getByRole('tab', { name: /Global defaults/ }));
expect(screen.getByTestId('global-config')).toHaveTextContent('global:do:next');
expect(screen.queryByTestId('stage-config')).not.toBeInTheDocument();
- fireEvent.click(screen.getByRole('tab', { name: /Per-app overrides/ }));
+ fireEvent.click(screen.getByRole('tab', { name: /Per-app options/ }));
expect(screen.getByTestId('override-list')).toHaveTextContent('overrides:do:next');
expect(screen.queryByTestId('global-config')).not.toBeInTheDocument();
});
@@ -106,9 +106,9 @@ describe('TaskConfigDrawer tabbed layout', () => {
expect(screen.getByTestId('global-config')).toBeInTheDocument();
});
- it('hides the Per-app overrides tab when there are no active apps', () => {
+ it('hides the Per-app options tab when there are no active apps', () => {
renderDrawer({ apps: [{ id: 'a', name: 'A', archived: true }] });
- expect(screen.queryByRole('tab', { name: /Per-app overrides/ })).not.toBeInTheDocument();
+ expect(screen.queryByRole('tab', { name: /Per-app options/ })).not.toBeInTheDocument();
});
it('renders nothing when config is not yet loaded', () => {