Skip to content

Add a Finder action beside local file links #1634

Description

@mambadigitalau

Problem

Local file links in assistant output correctly open inside bb on normal click. Revealing the same file in Finder is available through the context menu (Open in → Finder), but that is cumbersome when moving between a conversation and the surrounding files repeatedly.

Proposed behavior

Keep the existing primary click unchanged, and show a compact secondary Finder control beside a rendered local file link when Finder is an available host target.

The secondary control would:

  • call the existing host-aware openPathInFileTarget route with the Finder target;
  • appear only for resolved local file links and only when Finder is available;
  • preserve the existing context-menu actions;
  • include an accessible label and tooltip such as Show report.pdf in Finder;
  • introduce no host-daemon or wire-protocol change.

This belongs in bb core rather than a plugin DOM bridge because it needs existing local/remote host routing and capability discovery.

Prototype and validation

A focused implementation is ready across the Markdown link renderer and thread local-file target builder. It preserves ordinary link opening and has focused coverage for the secondary action, target selection, deduplication, and absence on ordinary links. The focused tests, app typecheck, targeted lint, formatting, and whitespace checks pass.

If this interaction is aligned with the product direction, I can link the prototype branch and open a draft pull request for review.

AGENT GENERATED: by GPT-5.6 Sol

Activity

  1. mambadigitalau commented on Aug 15, 2026

    @mambadigitalau
    Author

    Prototype branch: https://github.com/mambadigitalau/bb/tree/agent/add-finder-action-to-file-links

    Current rebased commit: mambadigitalau@cc175f8

    Validation re-run against current main (0.38.0 release commit): 17/17 focused tests, @bb/app typecheck through Turbo, targeted ESLint, Prettier, and git diff checks all pass. I have not opened a pull request pending the requested product/UI alignment.

  2. added
    ui
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions