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 kube cluster name at the beginning of kube tabs #50376

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented Dec 18, 2024

A few months ago, we added a possibility to change the shell in local tabs. During that work, we also unified doc.terminal_shell and doc.gateway_kube tab names, making them show cwd, shell, and then resource name.
It turns out that this was not a good change for kube sessions, as we show the most important information at the very end, making it invisible when there are more tabs.
I could only change the order, but after a short discussion with @lcharkiewicz, I decided to completely remove cwd, as it is often truncated, which doesn't make it useful. Moreover, cwd doesn't seem to be essential information for kube sessions, so we can avoid cluttering the tab name.

changelog: Reverted a change that caused the Kubernetes cluster name to be displayed at the end of the tab title in Teleport Connect

@gzdunek gzdunek added this pull request to the merge queue Dec 18, 2024
Merged via the queue into master with commit 4e02f1b Dec 18, 2024
43 of 44 checks passed
@gzdunek gzdunek deleted the gzdunek/show-kube-cluster-name-first branch December 18, 2024 17:14
@public-teleport-github-review-bot

@gzdunek See the table below for backport results.

Branch Result
branch/v16 Create PR
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants