diff --git a/src/assets/icons/chat_suggestion.svg b/src/assets/icons/chat_suggestion.svg index 02129254..b6023be1 100644 --- a/src/assets/icons/chat_suggestion.svg +++ b/src/assets/icons/chat_suggestion.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/database.svg b/src/assets/icons/database.svg index bfbae5f8..b1d02ab9 100644 --- a/src/assets/icons/database.svg +++ b/src/assets/icons/database.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/engineering.svg b/src/assets/icons/engineering.svg index 5bfa62dc..a48728f5 100644 --- a/src/assets/icons/engineering.svg +++ b/src/assets/icons/engineering.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/graduation_cap.svg b/src/assets/icons/graduation_cap.svg index 227d8de6..d158033f 100644 --- a/src/assets/icons/graduation_cap.svg +++ b/src/assets/icons/graduation_cap.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/management.svg b/src/assets/icons/management.svg index ce91f3ca..28973fbe 100644 --- a/src/assets/icons/management.svg +++ b/src/assets/icons/management.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/marketing.svg b/src/assets/icons/marketing.svg index 07adbb03..bc3c29a0 100644 --- a/src/assets/icons/marketing.svg +++ b/src/assets/icons/marketing.svg @@ -1,4 +1,4 @@ - - + + diff --git a/src/assets/icons/sales.svg b/src/assets/icons/sales.svg index a3dc2a18..b2d31eea 100644 --- a/src/assets/icons/sales.svg +++ b/src/assets/icons/sales.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/startup.svg b/src/assets/icons/startup.svg index 17cac49c..2f8621ad 100644 --- a/src/assets/icons/startup.svg +++ b/src/assets/icons/startup.svg @@ -1,3 +1,3 @@ - + diff --git a/src/assets/icons/wiki.svg b/src/assets/icons/wiki.svg index 7d6d13bd..155c9070 100644 --- a/src/assets/icons/wiki.svg +++ b/src/assets/icons/wiki.svg @@ -1,3 +1,3 @@ - + diff --git a/src/components/chat/components/ai-writer/view-tree/index.tsx b/src/components/chat/components/ai-writer/view-tree/index.tsx index 5d45c54f..79dc3c1d 100644 --- a/src/components/chat/components/ai-writer/view-tree/index.tsx +++ b/src/components/chat/components/ai-writer/view-tree/index.tsx @@ -12,8 +12,8 @@ import { Separator } from '@/components/ui/separator'; import { useCheckboxTree } from '@/components/chat/hooks/use-checkbox-tree'; import { View } from '@/components/chat/types'; import { useWriterContext } from '@/components/chat/writer/context'; -import { ChevronDown } from 'lucide-react'; -import { ReactComponent as DocIcon } from '@/assets/icons/doc.svg'; +import { ReactComponent as ChevronDown } from '@/assets/icons/triangle_down.svg'; +import { ReactComponent as DocIcon } from '@/assets/icons/page.svg'; import { useEffect, useMemo, useState } from 'react'; export function ViewTree() { @@ -63,15 +63,15 @@ export function ViewTree() { diff --git a/src/components/chat/components/ai-writer/writing-input.tsx b/src/components/chat/components/ai-writer/writing-input.tsx index 4627bf21..614def2a 100644 --- a/src/components/chat/components/ai-writer/writing-input.tsx +++ b/src/components/chat/components/ai-writer/writing-input.tsx @@ -249,12 +249,7 @@ export function WritingInput({ ); }} > - + @@ -274,7 +269,7 @@ export function WritingInput({ e.preventDefault(); }} variant={'ghost'} - className={'h-7 text-xs'} + className={'h-7 text-xs text-text-secondary'} onClick={openModal} > {t('customPrompt.browsePrompts')} diff --git a/src/components/chat/components/ai-writer/writing-more.tsx b/src/components/chat/components/ai-writer/writing-more.tsx index 16211aba..aa91dfa4 100644 --- a/src/components/chat/components/ai-writer/writing-more.tsx +++ b/src/components/chat/components/ai-writer/writing-more.tsx @@ -4,7 +4,7 @@ import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover import { useTranslation } from '@/components/chat/i18n'; import { AIAssistantType } from '@/components/chat/types'; import { useWriterContext } from '@/components/chat/writer/context'; -import { ChevronDown } from 'lucide-react'; +import { ReactComponent as ChevronDown } from '@/assets/icons/triangle_down.svg'; import { useCallback, useState } from 'react'; import { MESSAGE_VARIANTS } from '@/components/chat/lib/animations'; import { motion } from 'framer-motion'; @@ -38,23 +38,23 @@ export function WritingMore({ input }: { > - + - + @@ -227,7 +222,7 @@ export function ChatInput() { e.preventDefault(); }} variant={'ghost'} - className={'h-7 text-xs'} + className={'h-7 text-xs text-text-secondary'} onClick={() => { reloadDatabasePrompts(); openModal(); diff --git a/src/components/chat/components/chat-input/model-selector/index.tsx b/src/components/chat/components/chat-input/model-selector/index.tsx index b9ca7090..ce988fff 100644 --- a/src/components/chat/components/chat-input/model-selector/index.tsx +++ b/src/components/chat/components/chat-input/model-selector/index.tsx @@ -205,12 +205,12 @@ export function ModelSelector({ className, disabled }: ModelSelectorProps) { diff --git a/src/components/chat/components/chat-input/prompt-modal/prompt-database/view-item.tsx b/src/components/chat/components/chat-input/prompt-modal/prompt-database/view-item.tsx index f82f4ac4..24e11f95 100644 --- a/src/components/chat/components/chat-input/prompt-modal/prompt-database/view-item.tsx +++ b/src/components/chat/components/chat-input/prompt-modal/prompt-database/view-item.tsx @@ -1,4 +1,4 @@ -import { ReactComponent as ChevronDown } from '@/assets/icons/triangle_down.svg'; +import { ReactComponent as ChevronRight } from '@/assets/icons/toggle_list.svg'; import { Button } from '@/components/ui/button'; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'; import PageIcon from '@/components/chat/components/view/page-icon'; @@ -25,13 +25,13 @@ export function ViewItem({ return view.children.length > 0 ? ( ) : (
@@ -64,4 +64,4 @@ export function ViewItem({ {expanded && children} ); -} \ No newline at end of file +} diff --git a/src/components/chat/components/chat-input/related-views/index.tsx b/src/components/chat/components/chat-input/related-views/index.tsx index dba33c2e..bd78dd3a 100644 --- a/src/components/chat/components/chat-input/related-views/index.tsx +++ b/src/components/chat/components/chat-input/related-views/index.tsx @@ -87,7 +87,7 @@ export function RelatedViews() { className='gap-0.5 px-1.5 text-sm text-text-secondary' variant={'ghost'} > - + {length} {viewsLoading ? : } diff --git a/src/components/chat/components/chat-messages/message-suggestions.tsx b/src/components/chat/components/chat-messages/message-suggestions.tsx index c86acb7f..6a8a5071 100644 --- a/src/components/chat/components/chat-messages/message-suggestions.tsx +++ b/src/components/chat/components/chat-messages/message-suggestions.tsx @@ -5,7 +5,7 @@ import { useTranslation } from '@/components/chat/i18n'; import { MESSAGE_VARIANTS } from '@/components/chat/lib/animations'; import { useMessagesHandlerContext } from '@/components/chat/provider/messages-handler-provider'; import { Suggestions } from '@/components/chat/types'; -import { ReactComponent as ChatIcon } from '@/assets/icons/ai_chat.svg'; +import { ReactComponent as ChatIcon } from '@/assets/icons/chat_suggestion.svg'; import { motion } from 'framer-motion'; interface MessageSuggestionsProps { @@ -15,7 +15,7 @@ interface MessageSuggestionsProps { const EmptySuggestions = () => { return (
- +
); }; @@ -44,7 +44,7 @@ export function MessageSuggestions({ suggestions }: MessageSuggestionsProps) { variants={MESSAGE_VARIANTS.getSuggestionsVariants()} className={'flex flex-col gap-4 w-full overflow-hidden mr-auto mt-9'} > - +
{suggestions.items.length === 0 ? ( @@ -54,9 +54,9 @@ export function MessageSuggestions({ suggestions }: MessageSuggestionsProps) { key={index} className={'w-full justify-start overflow-hidden h-fit p-2'} onClick={() => handleClick(suggestion.content)} - startIcon={} variant={'ghost'} > + {suggestion.content} )) diff --git a/src/components/chat/components/chat-messages/regenerations.tsx b/src/components/chat/components/chat-messages/regenerations.tsx index 8fd7e9b3..0378506d 100644 --- a/src/components/chat/components/chat-messages/regenerations.tsx +++ b/src/components/chat/components/chat-messages/regenerations.tsx @@ -84,7 +84,7 @@ export function Regenerations({ id }: { id: number }) { e.preventDefault()} onCloseAutoFocus={(e) => e.preventDefault()} - className='flex !min-w-[0px] items-center gap-1 p-0.5' + className='flex !min-w-[0px] items-center gap-1 p-0.5 !rounded-[8px]' >