Skip to content

Feature Request: Show URL bar and add "Open in Default Browser" button for in-app browser #2

Description

@harrywl

Problem to solve

When opening a URL in DimCode Desktop's built-in browser window, the current URL/address is not displayed anywhere. There is also no button to open the current page in the system's default browser (e.g. Safari/Chrome on macOS, Edge/Chrome on Windows).

Since the in-app browser does not carry the user's account login information (cookies, sessions, etc.), many pages that require authentication — such as OAuth authorization flows, documentation platforms, and dashboards — cannot be used properly inside the embedded browser.

Desired experience

  1. URL address bar: Display the current page URL at the top of the in-app browser window, so users can see where they are.
  2. "Open in Default Browser" button: Add a button (e.g. a 🔗 or 🌐 icon) that opens the current URL in the system's default browser with one click, preserving the user's existing login sessions and full browser capabilities.
  3. (Optional) Manual URL input: Allow users to type or paste a URL directly into the address bar.

Current workaround

  • There is no way to see the URL in the embedded browser, let alone copy it.
  • Users must manually recall or guess the URL and re-enter it in their system browser.
  • This is especially painful for OAuth redirects or dynamically generated URLs where the exact address is not obvious.

Use case

  • OAuth login flows: The in-app browser has no login state; users need to jump to the system browser where they are already logged in to complete authorization.
  • Document / link preview: When a user finds interesting content in the in-app browser and wants the full browser experience (extensions, dev tools, etc.).
  • Debugging: Developers need to confirm the current page URL for troubleshooting redirect or authentication issues.

想解决的问题

DimCode Desktop 内置浏览器窗口打开网页时,没有显示当前网址/URL,也没有提供跳转到系统默认浏览器(macOS Safari/Chrome,Windows Edge/Chrome)的按钮。由于应用内浏览器没有用户的账号登录信息(Cookie/Session),许多需要登录才能使用的页面(如 OAuth 授权、文档平台等)在内置浏览器中无法正常操作。

期望的体验

  1. URL 地址栏:在应用内浏览器窗口顶部显示当前页面的 URL,让用户知道自己在哪里。
  2. 「在默认浏览器中打开」按钮:新增一个按钮(如 🔗 或 🌐 图标),一键将当前 URL 跳转到系统默认浏览器打开,利用用户已有的登录态和完整浏览器功能。
  3. (可选)手动输入 URL:允许用户在地址栏中直接输入或粘贴 URL。

当前替代方案

  • 无法在内置浏览器中看到 URL,更无法复制。
  • 只能手动回忆或猜测 URL,然后在系统浏览器中重新输入打开。
  • 对于 OAuth 重定向或动态生成的 URL,尤其痛苦,因为地址往往不直观。

使用场景

  • OAuth 登录流程:内置浏览器无登录态,需要跳转到已有会话的系统浏览器完成授权。
  • 文档/链接预览:在内置浏览器中看到感兴趣的内容后,想用完整浏览器体验打开(扩展、开发者工具等)。
  • 调试场景:开发者需要确认当前页面 URL,排查重定向或认证问题。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions