diff --git a/src/main/claude/compact-status-registration.test.ts b/src/main/claude/compact-status-registration.test.ts index f5a54aa1e15..f17e14630e5 100644 --- a/src/main/claude/compact-status-registration.test.ts +++ b/src/main/claude/compact-status-registration.test.ts @@ -209,7 +209,7 @@ describe('an auto compact claims nothing', () => { expect(state.lastStatusByPaneKey.get(PANE_KEY)?.payload.state).toBe('done') }) - it("writes no compact-scoped state, so it cannot spend the pane's consumed-compact slot", () => { + it('writes no compact-scoped state, so it cannot spend the pane\'s consumed-compact slot', () => { const state = createHookListenerState() startTurn(state) diff --git a/src/renderer/src/components/workspace-cleanup/use-workspace-cleanup-browse-state.test.tsx b/src/renderer/src/components/workspace-cleanup/use-workspace-cleanup-browse-state.test.tsx index bd2f33b02fe..061fdf3ea9e 100644 --- a/src/renderer/src/components/workspace-cleanup/use-workspace-cleanup-browse-state.test.tsx +++ b/src/renderer/src/components/workspace-cleanup/use-workspace-cleanup-browse-state.test.tsx @@ -105,7 +105,7 @@ describe('useWorkspaceCleanupBrowseState', () => { field: 'size', direction: 'desc' }) - }) +}) it('keeps a cleared chip cleared when a facet patch lands in the same tick', () => { const controller = mountController() diff --git a/src/renderer/src/components/workspace-cleanup/workspace-cleanup-applied-filter-chips.tsx b/src/renderer/src/components/workspace-cleanup/workspace-cleanup-applied-filter-chips.tsx index f6d75549b34..18cac15c161 100644 --- a/src/renderer/src/components/workspace-cleanup/workspace-cleanup-applied-filter-chips.tsx +++ b/src/renderer/src/components/workspace-cleanup/workspace-cleanup-applied-filter-chips.tsx @@ -142,10 +142,7 @@ function getChipKindLabel(kind: string): string { case 'ticket': return translate('components.workspace.cleanup.browse.chip.kind.ticket', 'Ticket') case 'ticketSource': - return translate( - 'components.workspace.cleanup.browse.chip.kind.ticketSource', - 'Ticket source' - ) + return translate('components.workspace.cleanup.browse.chip.kind.ticketSource', 'Ticket source') case 'context': return translate('components.workspace.cleanup.browse.chip.kind.context', 'Context') case 'host': diff --git a/src/renderer/src/store/slices/workspace-cleanup-browse.ts b/src/renderer/src/store/slices/workspace-cleanup-browse.ts index 6670a096db1..8eee387ff7e 100644 --- a/src/renderer/src/store/slices/workspace-cleanup-browse.ts +++ b/src/renderer/src/store/slices/workspace-cleanup-browse.ts @@ -31,7 +31,8 @@ export const createWorkspaceCleanupBrowseSlice: StateCreator< updateWorkspaceCleanupBrowseState: (next) => { set((state) => ({ - workspaceCleanupBrowse: typeof next === 'function' ? next(state.workspaceCleanupBrowse) : next + workspaceCleanupBrowse: + typeof next === 'function' ? next(state.workspaceCleanupBrowse) : next })) if (persistTimer !== null) { clearTimeout(persistTimer) diff --git a/src/shared/workspace-cleanup-applied-filters.test.ts b/src/shared/workspace-cleanup-applied-filters.test.ts index 626d3aab96f..e0d89c4dadf 100644 --- a/src/shared/workspace-cleanup-applied-filters.test.ts +++ b/src/shared/workspace-cleanup-applied-filters.test.ts @@ -99,11 +99,10 @@ describe('listAppliedWorkspaceCleanupFilters', () => { filters.size.includeUnsized = false filters.status.matchStatusless = false - expect( - list(filters) - .map((a) => a.id) - .sort() - ).toEqual(['size.includeUnsized', 'status.matchStatusless']) + expect(list(filters).map((a) => a.id).sort()).toEqual([ + 'size.includeUnsized', + 'status.matchStatusless' + ]) }) it('gives every constraint a unique, stable id', () => { diff --git a/src/shared/workspace-cleanup-applied-filters.ts b/src/shared/workspace-cleanup-applied-filters.ts index ac96be4d16a..75d4cd4947c 100644 --- a/src/shared/workspace-cleanup-applied-filters.ts +++ b/src/shared/workspace-cleanup-applied-filters.ts @@ -93,14 +93,10 @@ export function listAppliedWorkspaceCleanupFilters( } if (status.workspaceStatuses.length > 0) { - add( - 'status.workspaceStatuses', - format.list('status', status.workspaceStatuses.length), - (f) => ({ - ...f, - status: { ...f.status, workspaceStatuses: [] } - }) - ) + add('status.workspaceStatuses', format.list('status', status.workspaceStatuses.length), (f) => ({ + ...f, + status: { ...f.status, workspaceStatuses: [] } + })) } if (!status.matchStatusless) { add('status.matchStatusless', format.excludesStatusless(), (f) => ({ @@ -125,14 +121,10 @@ export function listAppliedWorkspaceCleanupFilters( })) } if (agent.retainedDoneAgents !== 'any') { - add( - 'agent.retainedDoneAgents', - format.triState('retainedAgents', agent.retainedDoneAgents), - (f) => ({ - ...f, - agent: { ...f.agent, retainedDoneAgents: 'any' } - }) - ) + add('agent.retainedDoneAgents', format.triState('retainedAgents', agent.retainedDoneAgents), (f) => ({ + ...f, + agent: { ...f.agent, retainedDoneAgents: 'any' } + })) } if (git.states.length > 0) {