File tree Expand file tree Collapse file tree
apps/code/src/renderer/features
command-center/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { useTaskViewed } from "@features/sidebar/hooks/useTaskViewed" ;
22import { useSetHeaderContent } from "@hooks/useSetHeaderContent" ;
3- import { SquaresFour } from "@phosphor-icons/react" ;
3+ import { Lightning } from "@phosphor-icons/react" ;
44import { Box , Flex , Text } from "@radix-ui/themes" ;
55import { useEffect , useMemo } from "react" ;
66import { 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 ) ,
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1- import { SquaresFour } from "@phosphor-icons/react" ;
1+ import { Lightning } from "@phosphor-icons/react" ;
22import { SidebarItem } from "../SidebarItem" ;
33
44interface 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 >
Original file line number Diff line number Diff line change 1- import { Lightning } from "@phosphor-icons/react" ;
1+ import { Lightbulb } from "@phosphor-icons/react" ;
22import { SidebarItem } from "../SidebarItem" ;
33
44interface 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 }
Original file line number Diff line number Diff line change 11import { ResizableSidebar } from "@components/ResizableSidebar" ;
22import { useSetHeaderContent } from "@hooks/useSetHeaderContent" ;
3- import { Lightning } from "@phosphor-icons/react" ;
3+ import { Lightbulb } from "@phosphor-icons/react" ;
44import { Box , Flex , ScrollArea , Text } from "@radix-ui/themes" ;
55import { useTRPC } from "@renderer/trpc" ;
66import 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
You can’t perform that action at this time.
0 commit comments