microsoft / microsoft/vscode-containers

Feature Request: Allow setting the container "label" to reference a label in the containers view

Open
#104 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
139
Forks
87
Avg merge
9h 15m
Merged PRs (30d)
9

Description

At the moment you can configure the contains view using the below menu:

Screenshot 2024-08-16 at 14 33 13

Ideally you could set the "Label" property to itself be a custom label (similar to what you can currently do now for group-by). The use case here is that our applications creates several containers from the same image but with a complex name (this is a product of the underlying framework) being able to set a "friendly" name in the container labels is possible so being able to set the primary container name on a custom label would be convenient.

Thanks for your consideration :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the containers view configuration and trace how the existing group-by custom-label setting is represented and applied. Extend the label setting to accept a custom container label, then verify that containers sharing an image can display the configured friendly label in the view; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.