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

Show more dev container info in title bar #14571

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

jbicker
Copy link
Contributor

@jbicker jbicker commented Dec 3, 2024

What it does

Adds info to window title when workspace is loaded in Dev Container and which platform the container is running on.

How to test

Start a Dev Container and look up onto the title. There should additionally be something like [Dev Container @ linux]

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

@jbicker jbicker force-pushed the jbicker/containerinfo-in-title branch 2 times, most recently from 0a0f27c to ebd823e Compare December 6, 2024 09:44
Copy link
Contributor

@jonah-iden jonah-iden left a comment

Choose a reason for hiding this comment

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

LGTM 👍

packages/core/src/browser/window/window-title-service.ts Outdated Show resolved Hide resolved
@@ -95,6 +103,10 @@ export class WindowTitleService {
}
const separatedTitle = title.split('${separator}').filter(e => e.trim().length > 0);
this._title = separatedTitle.join(this.separator);
const contributions = this.titleContributions.getContributions();
Copy link
Member

Choose a reason for hiding this comment

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

Question: Can we use this feature to also implement the developmentHost part of this method? I wasn't happy with the initial implementation anyway, and this looks like a good way of cleaning up the feature.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll do that in another PR

@jbicker jbicker force-pushed the jbicker/containerinfo-in-title branch from ebd823e to 42545d5 Compare December 20, 2024 10:22
@jbicker jbicker merged commit 2098ff0 into master Dec 20, 2024
11 checks passed
@jbicker jbicker deleted the jbicker/containerinfo-in-title branch December 20, 2024 10:39
@github-actions github-actions bot added this to the 1.58.0 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants