Skip to content

Web UI: allowlist trusted domains to skip link-open confirmation #1682

Description

@lbronwas

Problem

When clicking a link in terminal output in the web UI, agent-deck shows a browser confirm() dialog:

This link could potentially be dangerous — Cancel / OK

For anyone working against internal tooling (self-hosted GitLab, Gerrit, code review, CI, etc.), essentially every merge-request / change / build link fires this prompt. The links are known-safe and frequent, so the confirmation is pure friction — several extra clicks per minute during review work.

Request

A way to suppress the confirmation for trusted hosts. Either:

  1. A domain allowlist, e.g.:

    [web]
    trusted_domains = ["gitlab.mycorp.example", "gerrit.mycorp.example"]

    Links matching an allowed host open without the prompt; everything else still confirms.

  2. And/or a global toggle to disable the confirmation entirely for users who accept the risk:

    [web]
    confirm_link_open = false   # default true

Option 1 (allowlist) is preferred — keeps the safety net for arbitrary links while removing friction for the handful of internal hosts a user actually clicks all day.

Environment

  • agent-deck v1.10.10
  • Web UI (agent-deck web), Chrome on macOS

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions