Skip to content

Replace Resources with Downloads as default page on dashboards#36756

Merged
mcbattirola merged 3 commits intomasterfrom
mcbattirola/topbar-dashboard
Jan 17, 2024
Merged

Replace Resources with Downloads as default page on dashboards#36756
mcbattirola merged 3 commits intomasterfrom
mcbattirola/topbar-dashboard

Conversation

@mcbattirola
Copy link
Copy Markdown
Contributor

@mcbattirola mcbattirola commented Jan 16, 2024

This PR adds the following changes:

Previously, as the unified resources tab was shown by default, users on dashboard could click it and see an error page (since the condition to not setup the unified resources page is !cfg.isDashboard). Now, users will be on the downloads page by default.

Screenshot from 2024-01-16 15-39-58

Note that I'm working on showing the Downloads page on Cloud (https://github.com/gravitational/cloud/issues/6667), but for Cloud, the Downloads page will not be in the top bar, but under the user menu, so only showing this new topbar link if cfg.isDashboard is fine.

@mcbattirola mcbattirola marked this pull request as ready for review January 16, 2024 19:11
@mcbattirola mcbattirola requested review from avatus and kimlisa and removed request for avatus January 16, 2024 19:11
@github-actions github-actions Bot requested review from klizhentas and zmb3 January 16, 2024 19:11
@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@mcbattirola mcbattirola added the no-changelog Indicates that a PR does not require a changelog entry label Jan 16, 2024
Comment thread web/packages/teleport/src/config.ts
Comment thread web/packages/teleport/src/TopBar/TopBar.tsx
@mcbattirola mcbattirola added this pull request to the merge queue Jan 17, 2024
Merged via the queue into master with commit 0b68bcb Jan 17, 2024
@mcbattirola mcbattirola deleted the mcbattirola/topbar-dashboard branch January 17, 2024 13:02
@public-teleport-github-review-bot
Copy link
Copy Markdown

@mcbattirola See the table below for backport results.

Branch Result
branch/v15 Create PR

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

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants