fix(web): terminal button deep-links to terminal section (#1218)

Previously both the 'terminal' button and 'View current context →' link
on the kanban card navigated to the same session detail page without
distinction. The terminal button now links to #session-terminal-section
anchor, which already exists in SessionDetail.tsx.

Fixes #1217

Co-authored-by: AO Bot <ao-bot@composio.dev>
This commit is contained in:
i-trytoohard 2026-04-13 23:40:41 +05:30 committed by GitHub
parent 426eb730eb
commit f22d2d9ccc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ function SessionCardView({ session, onSend, onKill, onMerge, onRestore }: Sessio
)}
{!isTerminal && (
<a
href={`/sessions/${encodeURIComponent(session.id)}`}
href={`/sessions/${encodeURIComponent(session.id)}#session-terminal-section`}
onClick={(e) => e.stopPropagation()}
className="session-card__control session-card__terminal-link"
>