mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore(dogfood): add tooltip to jetbrains module (#19781)
## Summary In this pull request we're adding support for a `tooltip` to the JetBrains module in the dogfood template. Tooltip support was added to the JetBrains module in https://github.com/coder/registry/pull/421 ### Testing Added `tooltip` to the JetBrains app in the example `docker` template and verified that the tooltip appeared in my workspace <img width="1039" height="560" alt="Screenshot 2025-09-23 at 10 01 52" src="https://github.com/user-attachments/assets/9277f343-f73e-4fb8-a5cc-145f1aad9725" />
This commit is contained in:
@@ -409,11 +409,12 @@ module "vscode-web" {
|
|||||||
module "jetbrains" {
|
module "jetbrains" {
|
||||||
count = contains(jsondecode(data.coder_parameter.ide_choices.value), "jetbrains") ? data.coder_workspace.me.start_count : 0
|
count = contains(jsondecode(data.coder_parameter.ide_choices.value), "jetbrains") ? data.coder_workspace.me.start_count : 0
|
||||||
source = "dev.registry.coder.com/coder/jetbrains/coder"
|
source = "dev.registry.coder.com/coder/jetbrains/coder"
|
||||||
version = "1.0.3"
|
version = "1.1.0"
|
||||||
agent_id = coder_agent.dev.id
|
agent_id = coder_agent.dev.id
|
||||||
agent_name = "dev"
|
agent_name = "dev"
|
||||||
folder = local.repo_dir
|
folder = local.repo_dir
|
||||||
major_version = "latest"
|
major_version = "latest"
|
||||||
|
tooltip = "You need to [Install Coder Desktop](https://coder.com/docs/user-guides/desktop#install-coder-desktop) to use this button."
|
||||||
}
|
}
|
||||||
|
|
||||||
module "filebrowser" {
|
module "filebrowser" {
|
||||||
|
|||||||
@@ -137,10 +137,11 @@ module "code-server" {
|
|||||||
module "jetbrains" {
|
module "jetbrains" {
|
||||||
count = data.coder_workspace.me.start_count
|
count = data.coder_workspace.me.start_count
|
||||||
source = "registry.coder.com/coder/jetbrains/coder"
|
source = "registry.coder.com/coder/jetbrains/coder"
|
||||||
version = "~> 1.0"
|
version = "~> 1.1"
|
||||||
agent_id = coder_agent.main.id
|
agent_id = coder_agent.main.id
|
||||||
agent_name = "main"
|
agent_name = "main"
|
||||||
folder = "/home/coder"
|
folder = "/home/coder"
|
||||||
|
tooltip = "You need to [Install Coder Desktop](https://coder.com/docs/user-guides/desktop#install-coder-desktop) to use this button."
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "docker_volume" "home_volume" {
|
resource "docker_volume" "home_volume" {
|
||||||
|
|||||||
Reference in New Issue
Block a user