Skip to content

Conversation

@malwilley
Copy link
Member

Similar changes that were done in settings to get the nav items to render in the secondary navigation rather than in the page. This is for the sentry.io/manage page which is used for self hosted customers.

CleanShot 2025-04-25 at 13 36 20

@malwilley malwilley requested a review from MichaelSun48 April 25, 2025 20:38
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 25, 2025
<SecondaryNav.Header>
{PRIMARY_NAV_GROUP_CONFIG[PrimaryNavGroup.SETTINGS].label}
</SecondaryNav.Header>
<SecondaryNav.Header />
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed the behavior so that the header will by default use the default group label - otherwise the label would always have been settings

import {AdminNavigation} from 'sentry/views/admin/adminLayout';

export function AdminSecondaryNav() {
return <AdminNavigation />;
Copy link
Member Author

Choose a reason for hiding this comment

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

Not doing much right now, but will copy this component over when GA'd

<Tooltip title={label} disabled={showLabel} position="right" skipWrapper delay={0}>
<Tooltip
title={label}
disabled={showLabel || disableTooltip}
Copy link
Member Author

Choose a reason for hiding this comment

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

While I was modifying the user dropdown, disabled the tooltip since it is unnecessary

@malwilley malwilley merged commit 38a59a7 into master Apr 28, 2025
46 checks passed
@malwilley malwilley deleted the malwilley/feat/nav-support-admin-view branch April 28, 2025 16:55
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants