Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally hide coder_app button in dashboard #13265

Open
stirby opened this issue May 13, 2024 · 5 comments
Open

Optionally hide coder_app button in dashboard #13265

stirby opened this issue May 13, 2024 · 5 comments
Labels
customer-requested Features requested by enterprise customers feature Something we don't have yet

Comments

@stirby
Copy link
Collaborator

stirby commented May 13, 2024

A customer wants to run a coder_app in their workspace and access a service via a fixed URL but not have it appear in the dashboard as a button. They can't use listening/shared ports because their deployment doesn't support wildcard domains.

One option is to allow users to hide coder_apps in the UI by adding a new attribute.

resource "coder_app" "hidden-service-url" {
  agent_id     = coder_agent.dev.id
  slug         = "my-hidden-service"
  command      = "run service"
  ...
  hidden       = true  # defaults to false
  # or 
  button       = false # defaults to true
} 

This could ergonomically expand the ability to use workspaces as service providers.

@stirby stirby added feature Something we don't have yet customer-requested Features requested by enterprise customers labels May 13, 2024
@matifali
Copy link
Collaborator

matifali commented May 14, 2024

It has been previously discussed in #8326 and #11349. That discusses a slightly different use case where the app could be hidden by using a condition in terraform.

@aaronlehmann
Copy link
Contributor

Those discussions seem to be about conditionally enabling an app, not having an app that doesn't display a button.

@matifali
Copy link
Collaborator

@aaronlehmann Yes, they are a different use case. I linked them here for context.

@sreya
Copy link
Collaborator

sreya commented May 14, 2024

What if we just interpreted leaving the icon value empty as indicative of an app that shouldn't be displayed? We should probably still display it somehow so that we can convey the health of the app even if we make it obvious that it's not supposed to be interacted with in the traditional sense.

@aaronlehmann
Copy link
Contributor

In my use case, it's for internal purposes and I'd prefer it not be exposed to users in the UI at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-requested Features requested by enterprise customers feature Something we don't have yet
Projects
None yet
Development

No branches or pull requests

4 participants