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

Align label sorting in Connect with what Web UI does #48086

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

ravicious
Copy link
Member

Closes #34332.

When going through the test plan, I've noticed that Connect sorts resource labels differently than the Web UI. This was historically kind of a PITA to take care of. But thanks to the refactor with lib/ui that @kimlisa recently did, it's now super straightforward.

I've mostly copied what is done in lib/web/ui/server.go.

Web UI reference:

web-ui-reference
Connect after Connect before
connect-after connect-before

@ravicious ravicious added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v17 labels Oct 29, 2024
@ravicious ravicious requested review from gzdunek and kimlisa October 29, 2024 16:25
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from gzdunek October 29, 2024 20:17
@ravicious ravicious added this pull request to the merge queue Oct 30, 2024
Merged via the queue into master with commit 3a33aab Oct 30, 2024
41 checks passed
@ravicious ravicious deleted the r7s/connect-label-sorting branch October 30, 2024 10:13
@public-teleport-github-review-bot

@ravicious See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't show hidden and internal labels in Connect
4 participants