From f2e8b786d66118f61b8eb860fd8854db488e3cc5 Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Thu, 8 Oct 2026 21:55:25 +0200 Subject: [PATCH] fix: make the home last-run cell a link that ignores mouse clicks Co-Authored-By: Claude Opus 5.5 (1M context) --- .../home/RunnableActivityCells.svelte | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/frontend/src/lib/components/home/RunnableActivityCells.svelte b/frontend/src/lib/components/home/RunnableActivityCells.svelte index 30e85638f1..bd6e338a67 100644 --- a/frontend/src/lib/components/home/RunnableActivityCells.svelte +++ b/frontend/src/lib/components/home/RunnableActivityCells.svelte @@ -9,7 +9,6 @@ import { ExternalLink } from 'lucide-svelte' import { Button } from '$lib/components/common' import { workspaceStore } from '$lib/stores' - import { goto } from '$lib/navigation' import { getHomeActivity, type ActivityKind } from './homeActivity.svelte' interface Props { @@ -94,16 +93,15 @@ {#if lastRun} - - { - if (e.key === 'Enter') goto(`/runs/${path}?workspace=${$workspaceStore}`) + + { + if (e.detail > 0) e.preventDefault() }} > ago {/if} - + {#snippet text()}