From 57d3bcc40bad1a7a93d0d27c0735fc301ee3e547 Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Wed, 10 Jun 2026 13:23:40 +0000 Subject: [PATCH 1/2] fix: rename bundled rstudio.svg to rproject.svg, add real RStudio icon The bundled /icon/rstudio.svg was actually the R language logo (gray oval, blue R), not the RStudio IDE logo. This was misleading when users configured the rstudio coder_app slug and relied on the bundled icon. - Rename site/static/icon/rstudio.svg to rproject.svg so the existing R language artwork stays available for templates that want it. - Add a new site/static/icon/rstudio.svg with the actual RStudio R-ball logo (blue circle, white R), extracted from the Wikimedia source and normalized to viewBox 0 0 256 256 to match the rest of the icon set. - Add rproject.svg to site/src/theme/icons.json so it shows up in the icon picker and gallery alongside rstudio.svg. - Switch the RStudio example in docs/admin/templates/extending-templates/ web-ides.md to use the bundled /icon/rstudio.svg URL, matching the convention used by every other coder_app on that page. Existing templates that referenced /icon/rstudio.svg expecting the R language oval will now render the RStudio R-ball. Templates that wanted the R language icon should switch to /icon/rproject.svg. Generated by Coder Agents on behalf of @nickvigilante. Fixes #26211 Fixes PRODUCT-383 --- .../templates/extending-templates/web-ides.md | 2 +- site/src/theme/icons.json | 1 + site/static/icon/rproject.svg | 14 ++++++++++++++ site/static/icon/rstudio.svg | 14 ++------------ 4 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 site/static/icon/rproject.svg diff --git a/docs/admin/templates/extending-templates/web-ides.md b/docs/admin/templates/extending-templates/web-ides.md index dae3fc593b6b2..eb2bf3cb6ed1f 100644 --- a/docs/admin/templates/extending-templates/web-ides.md +++ b/docs/admin/templates/extending-templates/web-ides.md @@ -241,7 +241,7 @@ resource "coder_app" "rstudio" { agent_id = coder_agent.coder.id slug = "rstudio" display_name = "R Studio" - icon = "https://upload.wikimedia.org/wikipedia/commons/d/d0/RStudio_logo_flat.svg" + icon = "/icon/rstudio.svg" url = "http://localhost:8787" subdomain = true share = "owner" diff --git a/site/src/theme/icons.json b/site/src/theme/icons.json index ec3b21da7db3f..d9ef015946fc1 100644 --- a/site/src/theme/icons.json +++ b/site/src/theme/icons.json @@ -120,6 +120,7 @@ "rider.svg", "rockylinux.svg", "roo-code.svg", + "rproject.svg", "rstudio.svg", "ruby.png", "ruby.svg", diff --git a/site/static/icon/rproject.svg b/site/static/icon/rproject.svg new file mode 100644 index 0000000000000..b5545c3fa4aeb --- /dev/null +++ b/site/static/icon/rproject.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/site/static/icon/rstudio.svg b/site/static/icon/rstudio.svg index b5545c3fa4aeb..4e615c95b02f2 100644 --- a/site/static/icon/rstudio.svg +++ b/site/static/icon/rstudio.svg @@ -1,14 +1,4 @@ - - - - - - - - - - - - + + From c5eaf7d25ae64004d5304b0391d2be825d4b125b Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Wed, 10 Jun 2026 09:56:43 -0400 Subject: [PATCH 2/2] Apply suggestion from @nickvigilante --- docs/admin/templates/extending-templates/web-ides.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/templates/extending-templates/web-ides.md b/docs/admin/templates/extending-templates/web-ides.md index eb2bf3cb6ed1f..e5ae8a810dd55 100644 --- a/docs/admin/templates/extending-templates/web-ides.md +++ b/docs/admin/templates/extending-templates/web-ides.md @@ -240,7 +240,7 @@ EOT resource "coder_app" "rstudio" { agent_id = coder_agent.coder.id slug = "rstudio" - display_name = "R Studio" + display_name = "RStudio" icon = "/icon/rstudio.svg" url = "http://localhost:8787" subdomain = true