Skip to content

Commit 1047528

Browse files
authored
feat: add influxdb uni to help bar sub menu (#4783)
1 parent b66720a commit 1047528

File tree

1 file changed

+32
-10
lines changed

1 file changed

+32
-10
lines changed

src/pageLayout/containers/TreeNav.tsx

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -166,24 +166,35 @@ const TreeSidebar: FC<ReduxProps> = ({
166166
<TreeNav.SubMenu position={PopoverPosition.ToTheRight}>
167167
<TreeNav.SubHeading label="Support" />
168168
<TreeNav.SubItem
169-
id="documentation"
170-
label="Documentation"
171-
testID="nav-subitem-documentation"
169+
id="faqs"
170+
label="FAQs"
171+
testID="nav-subitem-faqs"
172172
linkElement={() => (
173173
<SafeBlankLink
174-
href="https://docs.influxdata.com/"
175-
onClick={() => handleEventing('documentation')}
174+
href="https://docs.influxdata.com/influxdb/cloud/reference/faq/"
175+
onClick={() => handleEventing('faq')}
176176
/>
177177
)}
178178
/>
179179
<TreeNav.SubItem
180-
id="faqs"
181-
label="FAQs"
182-
testID="nav-subitem-faqs"
180+
id="status-page"
181+
label="Status Page"
182+
testID="nav-subitem-status"
183183
linkElement={() => (
184184
<SafeBlankLink
185-
href="https://docs.influxdata.com/influxdb/cloud/reference/faq/"
186-
onClick={() => handleEventing('faq')}
185+
href="https://status.influxdata.com"
186+
onClick={() => handleEventing('status-page')}
187+
/>
188+
)}
189+
/>
190+
<TreeNav.SubItem
191+
id="documentation"
192+
label="Documentation"
193+
testID="nav-subitem-documentation"
194+
linkElement={() => (
195+
<SafeBlankLink
196+
href="https://docs.influxdata.com/"
197+
onClick={() => handleEventing('documentation')}
187198
/>
188199
)}
189200
/>
@@ -226,6 +237,17 @@ const TreeSidebar: FC<ReduxProps> = ({
226237
<SafeBlankLink href="https://influxcommunity.slack.com/join/shared_invite/zt-156zm7ult-LcIW2T4TwLYeS8rZbCP1mw#/shared-invite/email" />
227238
)}
228239
/>
240+
<TreeNav.SubItem
241+
id="influxUniversity"
242+
label="InfluxDB University"
243+
testID="nav-subitem-university"
244+
linkElement={() => (
245+
<SafeBlankLink
246+
href="https://university.influxdata.com/"
247+
onClick={() => handleEventing('influxdbUniversity')}
248+
/>
249+
)}
250+
/>
229251
</TreeNav.SubMenu>
230252
</TreeNav.Item>
231253
)}

0 commit comments

Comments
 (0)