From 6f4536d2211701dafc8a53bf2e721ee5c1d2d768 Mon Sep 17 00:00:00 2001 From: Harlan Wilton Date: Wed, 7 Oct 2026 14:44:18 +1100 Subject: [PATCH] fix(search): open hero rows on click, one row per one-Skill repo The hero box closes its panel on focusout. A press on a row cell moved focus to the body, so the panel unmounted before the click landed. Cancel the press so focus stays in the box. A Repository with one Skill showed two rows that open the same page. Keep the Skill row, which carries the run command. --- app/components/SkillSearchPanel.vue | 6 +++--- app/composables/useSkillSearch.ts | 10 +++++++++- test/unit/home-search.nuxt.test.ts | 23 +++++++++++++++++++++++ test/unit/skill-search-state.test.ts | 16 ++++++++++++++++ 4 files changed, 51 insertions(+), 4 deletions(-) diff --git a/app/components/SkillSearchPanel.vue b/app/components/SkillSearchPanel.vue index cdbb85ac..52859c35 100644 --- a/app/components/SkillSearchPanel.vue +++ b/app/components/SkillSearchPanel.vue @@ -285,8 +285,8 @@ function retryRepositoryIndex(): void { @mousemove="hover(index)" >