Skip to content

Commit

Permalink
Move web analytics to the right navbar section
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Oct 16, 2023
1 parent 2e3aa89 commit 5de1214
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions frontend/src/layout/navigation/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ function Pages(): JSX.Element {
onClick: hideSideBarMobile,
}}
/>
<FlaggedFeature flag={FEATURE_FLAGS.WEB_ANALYTICS}>
<PageButton
icon={<IconWeb />}
identifier={Scene.WebAnalytics}
to={urls.webAnalytics()}
highlight="alpha"
/>
</FlaggedFeature>
<PageButton icon={<IconRecording />} identifier={Scene.Replay} to={urls.replay()} />

<div className="SideBar__heading">Feature Management</div>
Expand All @@ -200,15 +208,6 @@ function Pages(): JSX.Element {
to={urls.surveys()}
highlight="beta"
/>

<FlaggedFeature flag={FEATURE_FLAGS.WEB_ANALYTICS}>
<PageButton
icon={<IconWeb />}
identifier={Scene.WebAnalytics}
to={urls.webAnalytics()}
highlight="alpha"
/>
</FlaggedFeature>
<div className="SideBar__heading">Data</div>

<PageButton
Expand Down

0 comments on commit 5de1214

Please sign in to comment.