Skip to content

fix(search): open hero rows on click, one row per one-Skill repo - #541

Merged
harlan-zw merged 1 commit into
mainfrom
fix/search-panel-click
Oct 7, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
fix/search-panel-click

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

None.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

A click on a row in the homepage search panel did nothing. Only Enter opened it. The hero box closes its panel on focusout, and a row cell takes no focus. A press moved focus to the body, so the panel unmounted before the click landed. The row cell now cancels mousedown, which keeps focus in the input. The header box has no focusout handler, so it was not affected.

A query for a Repository with one Skill, such as theBstar/shipreel, showed a Repository row and a Skill row that open the same page. The panel now shows the Skill row alone, because it carries the run command. Enter still opens that page.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

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.
@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 7, 2026
@harlan-zw

Copy link
Copy Markdown
Collaborator Author

Agent check in a real browser, since CI cannot cover it:

  • On skilld.dev in headless Chrome, a mouse click on the theBstar/shipreel Skill row left the page on /.
  • With a capture-phase mousedown that cancels the press on row cells (the same change as this PR), the same click opened /gh/thebstar/shipreel.
  • /gh/thebstar/shipreel/shipreel answers 301 to /gh/thebstar/shipreel, so both rows of a one-Skill Repository open one page.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 7, 2026
@harlan-zw
harlan-zw merged commit 12ac36d into main Oct 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant