Skip to content

Show kube cluster name at the beginning of kube tabs#50376

Merged
gzdunek merged 1 commit intomasterfrom
gzdunek/show-kube-cluster-name-first
Dec 18, 2024
Merged

Show kube cluster name at the beginning of kube tabs#50376
gzdunek merged 1 commit intomasterfrom
gzdunek/show-kube-cluster-name-first

Conversation

@gzdunek
Copy link
Copy Markdown
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
@gzdunek gzdunek deleted the gzdunek/show-kube-cluster-name-first branch December 18, 2024 17:14
@public-teleport-github-review-bot
Copy link
Copy Markdown

@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