Skip to content

Commit e894fd0

Browse files
authored
Merge pull request #310 from AppQuality/incoming-bugs-fixes
feat: Restore navigation
2 parents 8cbf98d + f09a72b commit e894fd0

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/pages/Campaign/ReportRow.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export const ReportRow = ({
8989
{(reports && reports.length) || isFunctional ? (
9090
<Col xs={12}>
9191
<SectionTitle
92+
id="reports"
9293
title={t('__CAMPAIGN_PAGE_REPORTS_TITLE')}
9394
subtitle={t('__CAMPAIGN_PAGE_REPORTS_DESCRIPTION')}
9495
/>

src/pages/Campaign/SectionTitle.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
import { Paragraph, theme, XL } from '@appquality/unguess-design-system';
22

33
export const SectionTitle = ({
4+
id,
45
title,
56
subtitle,
67
}: {
78
title: string;
9+
id?: string;
810
subtitle?: string;
911
}) => (
1012
<>
1113
<XL
14+
id={id}
1215
style={{
1316
fontWeight: theme.fontWeights.medium,
1417
marginBottom: theme.space.xs,

src/pages/Campaign/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const Campaign = () => {
9999
<Row>
100100
<Col xs={12}>
101101
<SectionTitle
102+
id="campaign-overview"
102103
title={t('__CAMPAIGN_PAGE_WIDGET_TITLE')}
103104
/>
104105
</Col>
@@ -119,6 +120,7 @@ const Campaign = () => {
119120
<Row>
120121
<Col xs={12}>
121122
<SectionTitle
123+
id="unique-bug-distribution"
122124
title={t('__CAMPAIGN_PAGE_UNIQUE_BUGS_SECTION_TITLE')}
123125
/>
124126
</Col>
@@ -133,6 +135,7 @@ const Campaign = () => {
133135
</Col>
134136
<Col xs={12}>
135137
<SectionTitle
138+
id="devices-and-types"
136139
title={t(
137140
'__CAMPAIGN_PAGE_DEVICE_AND_BUG_TYPES_SECTION_TITLE'
138141
)}

src/pages/Campaign/navigation/bugs/Navigation.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ export const BugsNavigation = () => {
1919
>
2020
{t('__CAMPAIGN_PAGE_NAVIGATION_BUG_ITEM_OVERVIEW_LABEL')}
2121
</StickyNavItem>
22-
<StickyNavItemLabel style={{ display: 'none' }}>
22+
<StickyNavItemLabel>
2323
{t('__CAMPAIGN_PAGE_NAVIGATION_BUG_GROUP_DETAILS_LABEL')}
2424
</StickyNavItemLabel>
2525
<StickyNavItem
26-
style={{ display: 'none' }}
2726
to="unique-bug-distribution"
2827
containerId="main"
2928
spy
@@ -34,7 +33,6 @@ export const BugsNavigation = () => {
3433
{t('__CAMPAIGN_PAGE_NAVIGATION_BUG_ITEM_DETAILS_UNIQUE_BUGS_LABEL')}
3534
</StickyNavItem>
3635
<StickyNavItem
37-
style={{ display: 'none' }}
3836
to="devices-and-types"
3937
containerId="main"
4038
spy

0 commit comments

Comments
 (0)