From 506cb8666a566b220bcfa56492a688acbdd385ce Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 3 Sep 2025 18:44:40 +0200 Subject: [PATCH] feat: enhance ChatMessages structure and update icons for improved clarity and organization --- types/chat.ts | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/types/chat.ts b/types/chat.ts index d4c5aca..2af6a15 100644 --- a/types/chat.ts +++ b/types/chat.ts @@ -178,6 +178,12 @@ export const ChatMessages = [ type: ChatType.HOBBIES, fetchStates: [ChatFetchState.CHECKING], }, + ].sort((a, b) => a.label.localeCompare(b.label)), + }, + { + id: 'uses', + label: 'command.uses', + items: [ { label: 'command.hardware.label', icon: 'i-ph-chalkboard-simple-duotone', @@ -187,25 +193,25 @@ export const ChatMessages = [ }, { label: 'command.software.label', - icon: 'i-ph-chalkboard-simple-duotone', + icon: 'i-ph-app-store-logo-duotone', prompt: 'command.software.prompt', type: ChatType.SOFTWARE, fetchStates: [ChatFetchState.FETCHING], }, { label: 'command.homelab.label', - icon: 'i-ph-chalkboard-simple-duotone', + icon: 'i-ph-computer-tower-duotone', prompt: 'command.homelab.prompt', type: ChatType.HOMELAB, fetchStates: [ChatFetchState.FETCHING], }, { label: 'command.ide.label', - icon: 'i-ph-chalkboard-simple-duotone', + icon: 'i-ph-code-simple-duotone', prompt: 'command.ide.prompt', type: ChatType.IDE, fetchStates: [ChatFetchState.FETCHING], }, - ].sort((a, b) => a.label.localeCompare(b.label)), + ], }, ]