Skip to content

Commit 6f04082

Browse files
joewinkeclaude
andcommitted
bug(jat-8cfik): restore swarm button behavior on /tasks
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7f47c63 commit 6f04082

File tree

3 files changed

+5
-66
lines changed

3 files changed

+5
-66
lines changed

ide/src/lib/components/sessions/TasksActive.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,6 +1597,7 @@
15971597
<div class="mobile-state-strip" style="background: {stateVisual.bgTint}; border-right: 2px solid {stateVisual.accent};" aria-hidden="true">
15981598
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" width="13" height="13" style="stroke: {stateVisual.accent};"><path stroke-linecap="round" stroke-linejoin="round" d={stateVisual.icon} /></svg>
15991599
</div>
1600+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
16001601
<div class="mobile-action-tray" role="group" onclick={(e) => e.stopPropagation()} onkeydown={(e) => e.stopPropagation()}>
16011602
{#each cardActions.slice(0, 5) as action}
16021603
{@const fb = actionFeedback.get(`${session.name}:${action.id}`)}
@@ -1633,6 +1634,7 @@
16331634
{/each}
16341635
</div>
16351636
</div>
1637+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
16361638
<div class="mobile-action-tray" role="group" onclick={(e) => e.stopPropagation()} onkeydown={(e) => e.stopPropagation()}>
16371639
{#each cardActions.slice(0, 5) as action}
16381640
{@const fb = actionFeedback.get(`${session.name}:${action.id}`)}
@@ -1694,6 +1696,7 @@
16941696
</button>
16951697
</div>
16961698
{#if cmdPanelSession === session.name}
1699+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
16971700
<div
16981701
class="mobile-cmd-inline"
16991702
onclick={(e) => e.stopPropagation()}
@@ -1746,6 +1749,7 @@
17461749
</div>
17471750
{/if}
17481751
{#if epicPickerSession === session.name}
1752+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
17491753
<div
17501754
class="mobile-epic-inline"
17511755
onclick={(e) => e.stopPropagation()}
@@ -1889,6 +1893,7 @@
18891893
<div class="mobile-state-strip mobile-state-strip-agent" style="background: {stateVisual.bgTint}; border-right: 2px solid {stateVisual.accent};">
18901894
<AgentAvatar name={sessionAgentName} size={40} showRing={true} sessionState={effectiveState} />
18911895
</div>
1896+
<!-- svelte-ignore a11y_no_noninteractive_element_interactions -->
18921897
<div class="mobile-action-tray" role="group" onclick={(e) => e.stopPropagation()} onkeydown={(e) => e.stopPropagation()}>
18931898
{#each cardActions.slice(0, 5) as action}
18941899
{@const fb = actionFeedback.get(`${session.name}:${action.id}`)}

ide/src/routes/tasks/+page.svelte

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3013,44 +3013,6 @@
30133013
width: 100%;
30143014
}
30153015
3016-
/* Override TasksActive table styles when inside accordion to reduce visual prominence */
3017-
.epic-content :global(.sessions-table-wrapper) {
3018-
background: transparent;
3019-
border: none;
3020-
border-radius: 0;
3021-
}
3022-
3023-
.epic-content :global(.sessions-table thead) {
3024-
display: none; /* Hide header row - parent accordion header is the context */
3025-
}
3026-
3027-
.epic-content :global(.sessions-table tbody tr) {
3028-
border-bottom: 1px solid oklch(0.2 0.02 250 / 0.5);
3029-
}
3030-
3031-
.epic-content :global(.sessions-table tbody tr:last-child) {
3032-
border-bottom: none;
3033-
}
3034-
3035-
.epic-content :global(.sessions-table td) {
3036-
padding: 0.5rem 0.75rem;
3037-
font-size: 0.8rem;
3038-
}
3039-
3040-
.epic-content :global(.sessions-table tbody tr:hover) {
3041-
background: oklch(0.18 0.01 250);
3042-
}
3043-
3044-
/* Expanded session row styling (non-sticky - allows other tasks to remain visible) */
3045-
.epic-content :global(.sessions-table tbody tr.expanded) {
3046-
background: oklch(0.18 0.02 250);
3047-
}
3048-
3049-
.epic-content :global(.sessions-table tbody tr.expanded-row) {
3050-
background: oklch(0.16 0.01 250);
3051-
box-shadow: 0 4px 12px oklch(0 0 0 / 0.4);
3052-
}
3053-
30543016
/* Override TasksOpen table styles when inside accordion */
30553017
.epic-content :global(.tasks-table-wrapper) {
30563018
background: transparent;

ide/src/routes/tasks4/+page.svelte

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,34 +1300,6 @@
13001300
border-top: 1px solid oklch(0.23 0.02 250);
13011301
}
13021302
1303-
/* Override TasksActive table styles when inside accordion to reduce visual prominence */
1304-
.epic-content :global(.sessions-table-wrapper) {
1305-
background: transparent;
1306-
border: none;
1307-
border-radius: 0;
1308-
}
1309-
1310-
.epic-content :global(.sessions-table thead) {
1311-
display: none; /* Hide header row - parent accordion header is the context */
1312-
}
1313-
1314-
.epic-content :global(.sessions-table tbody tr) {
1315-
border-bottom: 1px solid oklch(0.20 0.02 250 / 0.5);
1316-
}
1317-
1318-
.epic-content :global(.sessions-table tbody tr:last-child) {
1319-
border-bottom: none;
1320-
}
1321-
1322-
.epic-content :global(.sessions-table td) {
1323-
padding: 0.5rem 0.75rem;
1324-
font-size: 0.8rem;
1325-
}
1326-
1327-
.epic-content :global(.sessions-table tbody tr:hover) {
1328-
background: oklch(0.18 0.01 250);
1329-
}
1330-
13311303
/* Override TasksOpen table styles when inside accordion */
13321304
.epic-content :global(.tasks-table-wrapper) {
13331305
background: transparent;

0 commit comments

Comments
 (0)