Skip to content

Sidebar HTML previews cannot open full-page in the external browser #1842

Description

@brsbl

Summary

An inline visualization can open its HTML file in the sidebar, but the rendered preview has no action to open that page full-size in the user's default external browser. Relative preview URLs also fail the desktop shell.openExternal path unless resolved against the app origin.

Implementation: PR #1638

Versions and environment

  • Surface: rendered HTML/iframe previews in the thread secondary panel
  • Clients: browser and Electron desktop
  • Gap exists on main before 06961d8260cf51f5939e94027b10827f47ebebf7

Steps to reproduce

  1. Open an inline-vis HTML file from a thread into the sidebar.
  2. Inspect the rendered preview header.
  3. Try to open the rendered page full-size in the operating system's default browser.

Expected vs actual

Expected: rendered HTML previews expose Open in external browser, sending an absolute preview URL to window.open in a browser or shell.openExternal in desktop bb. Text, Markdown, and CSV previews omit it.

Actual: only the sidebar preview is available; the external full-page action is absent.

Evidence

  • The implementation exposes the scoped action in FilePreview.
  • URL resolution, browser/desktop dispatch, negative preview types, CSP behavior, and live browser QA are covered in PR #1638.

What you ruled out

  • Not Open in editor; that opens source, not the rendered page.
  • Not the in-app browser preference; the destination is the OS default browser.
  • Not a change to inline-vis's first click; it still opens the sidebar.
  • No exact open or closed issue matched the action, URL resolution, PR URL, or originating thread.

Suggested priority and effort

Medium priority, low-to-medium effort: a clear visualization escape hatch with desktop URL normalization and sandbox constraints requiring regression coverage.

Originating implementation thread: thr_zhe3sbcbgx

AGENT GENERATED: by GPT-5.6-Sol

Activity

  1. added
    enhancement
    desktop
    ui
    plugins
    on Aug 18, 2026
  2. added
    inline-vis
    on Aug 19, 2026
  3. added a commit that references this issue on Aug 21, 2026
    2e235c1
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

    desktopenhancementinline-vispluginsui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions