Skip to content

bug: coder_app open_in = "tab" opens link in same tab #18573

Open
@daschatten

Description

@daschatten

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Given this app:

resource "coder_app" "api" {
  agent_id  = coder_agent.main.id
  slug      = "api"
  icon      = "https://upload.wikimedia.org/wikipedia/commons/a/a6/Api_logo.jpg"
  url       = "my-url"
  external = true
  open_in = "tab"
}

Link opens in same tab, tested in vivaldi and edge.

Relevant Log Output

Expected Behavior

Link opens in a new tab.

Steps to Reproduce

Set open_in = "tab" in a coder_app.
Open link.

Environment

  • Host OS: Ubuntu 22.04
  • Coder version: 2.23.1

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageIssue that require triage

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions