diff --git a/.automaker/feature_list.json b/.automaker/feature_list.json
index a559ad52..a4b5c99d 100644
--- a/.automaker/feature_list.json
+++ b/.automaker/feature_list.json
@@ -16,7 +16,7 @@
"3. archive it",
"4. expect empty state placeholder in right panel"
],
- "status": "in_progress"
+ "status": "verified"
},
{
"id": "feature-1765260557163-86b3tby5d",
@@ -37,7 +37,7 @@
"category": "Kanban",
"description": "show a error toast when concurrency limit is hit and someone tries to drag a card into in progress to give them feedback why it won't work.",
"steps": [],
- "status": "in_progress"
+ "status": "backlog"
},
{
"id": "feature-1765260791341-iaxxt172n",
@@ -58,7 +58,7 @@
"category": "Kanban",
"description": "add a count up timer for showing how long the card has been in progress",
"steps": [],
- "status": "in_progress"
+ "status": "verified"
},
{
"id": "feature-1765261027396-b78maajg7",
diff --git a/app/src/components/session-manager.tsx b/app/src/components/session-manager.tsx
index 8a70180a..acff1edd 100644
--- a/app/src/components/session-manager.tsx
+++ b/app/src/components/session-manager.tsx
@@ -47,7 +47,7 @@ function generateRandomSessionName(): string {
interface SessionManagerProps {
currentSessionId: string | null;
- onSelectSession: (sessionId: string) => void;
+ onSelectSession: (sessionId: string | null) => void;
projectPath: string;
isCurrentSessionThinking?: boolean;
}
@@ -141,6 +141,10 @@ export function SessionManager({
const result = await window.electronAPI.sessions.archive(sessionId);
if (result.success) {
+ // If the archived session was currently selected, deselect it
+ if (currentSessionId === sessionId) {
+ onSelectSession(null);
+ }
await loadSessions();
}
};
@@ -357,6 +361,7 @@ export function SessionManager({
variant="ghost"
onClick={() => handleArchiveSession(session.id)}
className="h-7 w-7 p-0"
+ data-testid={`archive-session-${session.id}`}
>