Skip to content

Commit 233a22d

Browse files
committed
Move runs sidebar menu item below tasks and alerts into the manage section
1 parent e53eed1 commit 233a22d

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@ export function SideMenu({
175175
to={v3EnvironmentPath(organization, project, environment)}
176176
data-action="tasks"
177177
/>
178+
<SideMenuItem
179+
name="Runs"
180+
icon={RunsIcon}
181+
activeIconColor="text-teal-500"
182+
to={v3RunsPath(organization, project, environment)}
183+
/>
178184
<SideMenuItem
179185
name="Batches"
180186
icon={Squares2X2Icon}
@@ -212,22 +218,6 @@ export function SideMenu({
212218
/>
213219
</div>
214220

215-
<SideMenuSection title="Observability">
216-
<SideMenuItem
217-
name="Runs"
218-
icon={RunsIcon}
219-
activeIconColor="text-teal-500"
220-
to={v3RunsPath(organization, project, environment)}
221-
/>
222-
<SideMenuItem
223-
name="Alerts"
224-
icon={BellAlertIcon}
225-
activeIconColor="text-red-500"
226-
to={v3ProjectAlertsPath(organization, project, environment)}
227-
data-action="alerts"
228-
/>
229-
</SideMenuSection>
230-
231221
<SideMenuSection title="Manage">
232222
<SideMenuItem
233223
name="API keys"
@@ -243,6 +233,13 @@ export function SideMenu({
243233
to={v3EnvironmentVariablesPath(organization, project, environment)}
244234
data-action="environment variables"
245235
/>
236+
<SideMenuItem
237+
name="Alerts"
238+
icon={BellAlertIcon}
239+
activeIconColor="text-red-500"
240+
to={v3ProjectAlertsPath(organization, project, environment)}
241+
data-action="alerts"
242+
/>
246243
<SideMenuItem
247244
name="Project settings"
248245
icon={Cog8ToothIcon}

0 commit comments

Comments
 (0)