Skip to content

Make navigation buttons default to their first subsection#62429

Merged
charlestp merged 1 commit intomasterfrom
charlestp/default-nav-routes
Dec 26, 2025
Merged

Make navigation buttons default to their first subsection#62429
charlestp merged 1 commit intomasterfrom
charlestp/default-nav-routes

Conversation

@charlestp
Copy link
Copy Markdown
Contributor

@charlestp charlestp commented Dec 22, 2025

Make the top-level categories of the left nav bar route to their first sub-section when they're clicked. The categories look like clickable buttons to me, and I keep clicking them only for nothing to happen. Instead I have to wait for the subsections to slide in, and then click the subsection. This provides default behavior - routing to the top subsection - that feels more intuitive. It's also a faster experience when setting up a cluster.

Fixes #62419

Changelog: Added default routes to the web UI left nav top-level category buttons

Copy link
Copy Markdown
Contributor

@danielashare danielashare left a comment

Choose a reason for hiding this comment

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

Looks good

@@ -0,0 +1,69 @@
/**
* Teleport
* Copyright (C) 2024 Gravitational, Inc.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Copyright (C) 2024 Gravitational, Inc.
* Copyright (C) 2025 Gravitational, Inc.

/**
* Teleport
* Copyright (C) 2025 Gravitational, Inc.
* Copyright (C) 2024 Gravitational, Inc.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Copyright (C) 2024 Gravitational, Inc.
* Copyright (C) 2025 Gravitational, Inc.

@charlestp charlestp force-pushed the charlestp/default-nav-routes branch from b631b7d to f683342 Compare December 24, 2025 00:15
@charlestp charlestp added this pull request to the merge queue Dec 26, 2025
Merged via the queue into master with commit 0bb57b3 Dec 26, 2025
43 checks passed
@charlestp charlestp deleted the charlestp/default-nav-routes branch December 26, 2025 17:20
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@charlestp See the table below for backport results.

Branch Result
branch/v18 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.

Make left nav buttons default to navigating to the first subsection

3 participants