Skip to content

Commit d3395fd

Browse files
committed
Rename Command Center to ADHD Mode and swap icons
1 parent 86ec0b4 commit d3395fd

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

apps/code/src/renderer/features/command-center/components/CommandCenterView.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useTaskViewed } from "@features/sidebar/hooks/useTaskViewed";
22
import { useSetHeaderContent } from "@hooks/useSetHeaderContent";
3-
import { SquaresFour } from "@phosphor-icons/react";
3+
import { Lightning } from "@phosphor-icons/react";
44
import { Box, Flex, Text } from "@radix-ui/themes";
55
import { useEffect, useMemo } from "react";
66
import { useCommandCenterData } from "../hooks/useCommandCenterData";
@@ -27,14 +27,14 @@ export function CommandCenterView() {
2727
const headerContent = useMemo(
2828
() => (
2929
<Flex align="center" gap="2" className="w-full min-w-0">
30-
<SquaresFour size={12} className="shrink-0 text-gray-10" />
30+
<Lightning size={12} className="shrink-0 text-gray-10" />
3131
<Text
3232
size="1"
3333
weight="medium"
3434
className="truncate whitespace-nowrap text-[13px]"
35-
title="Command center"
35+
title="ADHD Mode"
3636
>
37-
Command center
37+
ADHD Mode
3838
</Text>
3939
</Flex>
4040
),

apps/code/src/renderer/features/sidebar/components/SidebarMenu.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,17 +210,17 @@ function SidebarMenuComponent() {
210210
</Box>
211211

212212
<Box mb="1">
213-
<CommandCenterItem
214-
isActive={sidebarData.isCommandCenterActive}
215-
onClick={handleCommandCenterClick}
216-
activeCount={commandCenterActiveCount}
213+
<SkillsItem
214+
isActive={sidebarData.isSkillsActive}
215+
onClick={handleSkillsClick}
217216
/>
218217
</Box>
219218

220219
<Box mb="2">
221-
<SkillsItem
222-
isActive={sidebarData.isSkillsActive}
223-
onClick={handleSkillsClick}
220+
<CommandCenterItem
221+
isActive={sidebarData.isCommandCenterActive}
222+
onClick={handleCommandCenterClick}
223+
activeCount={commandCenterActiveCount}
224224
/>
225225
</Box>
226226

apps/code/src/renderer/features/sidebar/components/items/CommandCenterItem.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SquaresFour } from "@phosphor-icons/react";
1+
import { Lightning } from "@phosphor-icons/react";
22
import { SidebarItem } from "../SidebarItem";
33

44
interface CommandCenterItemProps {
@@ -20,16 +20,16 @@ export function CommandCenterItem({
2020
return (
2121
<SidebarItem
2222
depth={0}
23-
icon={<SquaresFour size={16} weight={isActive ? "fill" : "regular"} />}
24-
label="Command center"
23+
icon={<Lightning size={16} weight={isActive ? "fill" : "regular"} />}
24+
label="ADHD Mode"
2525
isActive={isActive}
2626
onClick={onClick}
2727
endContent={
2828
activeCount && activeCount > 0 ? (
2929
<span
3030
className="inline-flex min-w-[16px] items-center justify-center rounded-full px-1 text-[11px] text-gray-11 leading-none"
3131
style={{ height: "16px" }}
32-
title={`${activeCount} active agents`}
32+
title={`${activeCount} active`}
3333
>
3434
{formatActiveCount(activeCount)}
3535
</span>

apps/code/src/renderer/features/sidebar/components/items/SkillsItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Lightning } from "@phosphor-icons/react";
1+
import { Lightbulb } from "@phosphor-icons/react";
22
import { SidebarItem } from "../SidebarItem";
33

44
interface SkillsItemProps {
@@ -10,7 +10,7 @@ export function SkillsItem({ isActive, onClick }: SkillsItemProps) {
1010
return (
1111
<SidebarItem
1212
depth={0}
13-
icon={<Lightning size={16} weight={isActive ? "fill" : "regular"} />}
13+
icon={<Lightbulb size={16} weight={isActive ? "fill" : "regular"} />}
1414
label="Skills"
1515
isActive={isActive}
1616
onClick={onClick}

apps/code/src/renderer/features/skills/components/SkillsView.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ResizableSidebar } from "@components/ResizableSidebar";
22
import { useSetHeaderContent } from "@hooks/useSetHeaderContent";
3-
import { Lightning } from "@phosphor-icons/react";
3+
import { Lightbulb } from "@phosphor-icons/react";
44
import { Box, Flex, ScrollArea, Text } from "@radix-ui/themes";
55
import { useTRPC } from "@renderer/trpc";
66
import type { SkillInfo, SkillSource } from "@shared/types/skills";
@@ -60,7 +60,7 @@ export function SkillsView() {
6060
const headerContent = useMemo(
6161
() => (
6262
<Flex align="center" gap="2" className="w-full min-w-0">
63-
<Lightning size={12} className="shrink-0 text-gray-10" />
63+
<Lightbulb size={12} className="shrink-0 text-gray-10" />
6464
<Text
6565
size="1"
6666
weight="medium"
@@ -95,7 +95,7 @@ export function SkillsView() {
9595
className="py-12"
9696
>
9797
<Box className="rounded-lg border border-gray-6 border-dashed p-4">
98-
<Lightning size={24} className="text-gray-8" />
98+
<Lightbulb size={24} className="text-gray-8" />
9999
</Box>
100100
<Text size="2" className="text-[13px] text-gray-10">
101101
No skills found

0 commit comments

Comments
 (0)