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:
parent
426eb730eb
commit
f22d2d9ccc
|
|
@ -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"
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue