Skip to content

Conversation

Kira-Pilot
Copy link
Member

resolves #2268
Screen Shot 2022-06-22 at 3 47 39 PM

Added a default icon for apps without icons. I figured this should be the same as terminal - we don't need to clog up our page with a bunch of icons yet - but let me know if you feel differently.
There was actually already a story for this case, as you see if you look at Chromatic.

NOTE: I would love to add the appropriate code-server icon to the app as mentioned in the ticket, but I'm unsure where to do this. If someone points me in the right direction, I will def update.

@Kira-Pilot Kira-Pilot requested a review from a team as a code owner June 22, 2022 20:25
Copy link
Contributor

@AbhineetJain AbhineetJain left a comment

Choose a reason for hiding this comment

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

You can update the code-server resource in examples/templates/docker-code-server/main.tf to:

resource "coder_app" "code-server" {
  agent_id = coder_agent.dev.id
  url      = "http://localhost:8080/?folder=/home/coder"
  icon     = "/icon/code.svg"
}

@ntimo
Copy link
Contributor

ntimo commented Jun 22, 2022

You can update the code-server resource in examples/templates/docker-code-server/main.tf to:

resource "coder_app" "code-server" {
  agent_id = coder_agent.dev.id
  url      = "http://localhost:8080/?folder=/home/coder"
  icon     = "/icon/code.svg"
}

I already created a PR for this #2591 :)

@Kira-Pilot
Copy link
Member Author

@ntimo that's awesome! Thank you!

@Kira-Pilot Kira-Pilot merged commit 97d1d2f into main Jun 22, 2022
@Kira-Pilot Kira-Pilot deleted the app-icon-check/kira-pilot branch June 22, 2022 21:05
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.

🦟 Using docker-code-server example template, code-server icon missing and wrapping on workspace dashboard in UI
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy