Skip to content

Commit 24c89af

Browse files
authored
feat(nav): Reposition alerts in nav and rename issues -> search (#86154)
- Moves alert up into a "configure" section (which will include detectors in the future) - Renames "All" to "Search"
1 parent 3b89659 commit 24c89af

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

static/app/views/issues/navigation.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function IssueNavigation({children}: IssuesWrapperProps) {
3838
<SecondaryNav.Body>
3939
<SecondaryNav.Section>
4040
<SecondaryNav.Item to={`${baseUrl}/`} end>
41-
{t('All')}
41+
{t('Search')}
4242
</SecondaryNav.Item>
4343
<SecondaryNav.Item to={`${baseUrl}/feedback/`}>
4444
{t('Feedback')}
@@ -81,15 +81,15 @@ export function IssueNavigation({children}: IssuesWrapperProps) {
8181
/>
8282
</SecondaryNav.Section>
8383
)}
84+
<SecondaryNav.Section title={t('Configure')}>
85+
<SecondaryNav.Item
86+
to={`${baseUrl}/alerts/rules/`}
87+
activeTo={`${baseUrl}/alerts/`}
88+
>
89+
{t('Alerts')}
90+
</SecondaryNav.Item>
91+
</SecondaryNav.Section>
8492
</SecondaryNav.Body>
85-
<SecondaryNav.Footer>
86-
<SecondaryNav.Item
87-
to={`${baseUrl}/alerts/rules/`}
88-
activeTo={`${baseUrl}/alerts/`}
89-
>
90-
{t('Alerts')}
91-
</SecondaryNav.Item>
92-
</SecondaryNav.Footer>
9393
</SecondaryNav>
9494
{children}
9595
</Fragment>

0 commit comments

Comments
 (0)