Skip to content

Commit a04395f

Browse files
committed
Update to the ordering of the new task items in the side menu
1 parent 6783a14 commit a04395f

1 file changed

Lines changed: 3 additions & 19 deletions

File tree

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

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ import {
9191
v3RunsPath,
9292
v3SchedulesPath,
9393
v3SessionsPath,
94-
v3TasksDashboardPath,
9594
v3UsagePath,
9695
v3WaitpointTokensPath,
9796
} from "~/utils/pathBuilder";
@@ -390,46 +389,31 @@ export function SideMenu({
390389

391390
<div className="w-full">
392391
<SideMenuItem
393-
name="Tasks"
394-
icon={TaskIcon}
395-
activeIconColor="text-tasks"
396-
inactiveIconColor="text-text-dimmed"
397-
to={v3TasksDashboardPath(organization, project, environment)}
398-
data-action="tasks"
399-
isCollapsed={isCollapsed}
400-
/>
401-
{/* Indented task sub-views (not reorderable). When collapsed,
402-
show the regular icon; when expanded show the tree connector
403-
so the hierarchy reads visually. */}
404-
<SideMenuItem
405-
name="Agents"
392+
name="Agent tasks"
406393
icon={CubeSparkleIcon}
407394
activeIconColor="text-agents"
408395
inactiveIconColor="text-text-dimmed"
409396
to={v3AgentsPath(organization, project, environment)}
410397
data-action="agents"
411398
isCollapsed={isCollapsed}
412-
indented
413399
/>
414400
<SideMenuItem
415-
name="Standard"
401+
name="Standard tasks"
416402
icon={TaskIcon}
417403
activeIconColor="text-tasks"
418404
inactiveIconColor="text-text-dimmed"
419405
to={v3EnvironmentPath(organization, project, environment)}
420406
data-action="tasks-standard"
421407
isCollapsed={isCollapsed}
422-
indented
423408
/>
424409
<SideMenuItem
425-
name="Scheduled"
410+
name="Scheduled tasks"
426411
icon={ClockIcon}
427412
activeIconColor="text-schedules"
428413
inactiveIconColor="text-text-dimmed"
429414
to={v3SchedulesPath(organization, project, environment)}
430415
data-action="schedules"
431416
isCollapsed={isCollapsed}
432-
indented
433417
/>
434418
<SideMenuItem
435419
name="Runs"

0 commit comments

Comments
 (0)