Skip to content

Fix positron app button so it shows in coder#692

Open
geniass wants to merge 1 commit intocoder:mainfrom
geniass:patch-1
Open

Fix positron app button so it shows in coder#692
geniass wants to merge 1 commit intocoder:mainfrom
geniass:patch-1

Conversation

@geniass
Copy link

@geniass geniass commented Feb 2, 2026

Update some old references to Cursor.

Use new VS Code Desktop variable names.

Use Positron icon from Github because Coder doesn't have one built in.

Description

Type of Change

  • New module
  • New template
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Update some old references to Cursor.

Use new VS Code Desktop variable names.

Use Positron icon from Github because Coder doesn't have one built in.
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 559367ce9f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

coder_app_display_name = var.display_name
coder_app_order = var.order
coder_app_group = var.group
web_app_icon = "https://github.com/posit-dev/positron/raw/4b8cc97a7a7a9468c02cd5ac0ee685192030825d/src/vs/workbench/browser/media/positron-icon.svg"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid external icon URL for app icon

The module now hardcodes web_app_icon to a GitHub raw URL. In air‑gapped deployments or environments where GitHub is blocked, the Coder app icon will fail to load because the browser cannot fetch the external asset. This repo’s AGENTS.md also notes “URLs must be relative, not absolute,” which suggests validation/standards expect local assets. Consider adding the icon to the repo (e.g., .icons/) and referencing a relative /icon/... path instead to avoid a runtime dependency on GitHub.

Useful? React with 👍 / 👎.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geniass, can you address this, please? Otherwise LGTM. Will review again.

@matifali matifali requested a review from 35C4n0r February 2, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants