Commit Graph

58 Commits

Author SHA1 Message Date
c03dbef798 add response count to ChatStoreMessage and update message creation 2025-02-08 14:25:12 +08:00
ed5f561148 refactor Chatbox component layout and restore stop generating button 2025-02-08 11:03:00 +08:00
c37a99f06d fix haha 2025-02-08 00:54:32 +08:00
5b4a0507ae stop generating store message 2025-02-08 00:09:49 +08:00
79d5ded088 Update pages.yml
All checks were successful
Build static content / build (push) Successful in 8m5s
Update pages.yml

Update pages.yml

Update pages.yml

Update pages.yml

Update pages.yml

fix message bubble overflow on small screen

refactor ListAPI component to simplify click handler for template selection

chat store title

fix: adjust MessageBubble component to allow full-width rendering on medium screens

feat: enhance ConversationTitle component with full-width styling and click handler for title retrieval

feat: add abort signal support for fetch and stream response handling in Chat component

feat: add usage tracking and timestamps to ChatStoreMessage structure

pwa

feat: update theme colors to black in manifest and Vite config

display standlone

feat: add smooth scrolling to messages in Chatbox component

feat: add handleNewChatStore function to App context and integrate in Chatbox for new chat functionality

feat: refactor MessageBubble component to use ChatBubble and improve structure

refactor(MessageBubble): move TTSPlay component into message area and reorganize action buttons

ui(navbar): improve cost breakdown clarity and add accumulated cost tracking

Revert "feat: refactor MessageBubble component to use ChatBubble and improve structure"

This reverts commit d16984c7da896ee0d047dca0be3f4ad1703a5d2c.

display string mesasge trimed

fix typo

fix scroll after send

fix(MessageBubble): trim whitespace from reasoning content display

feat(sidebar): optimize mobile performance with CSS transitions

- Refactored mobile sidebar implementation to use direct CSS transforms instead of Sheet component
- Added static overlay mask with opacity transition for mobile experience
- Implemented custom close button with X icon to replace Sheet's default
- Improved z-index handling for sidebar elements (chat-bubble z-index reduced to 30)
- Preserved DOM structure during sidebar toggle to prevent unnecessary remounting
- Unified PC/mobile behavior using CSS animation rather than dynamic mounting
- Removed dependency on radix-ui Dialog components for mobile sidebar

fix scroll

fix sidebar style on mobile

apply default render to markdown

fix(ChatMessageList): set width to 100vw for full viewport coverage

fix small overflow

fix: overflow on PC

break model name anywhere

fix language
2025-02-07 18:56:13 +08:00
ecwu
55e8186479 feat: enhance MessageBubble with custom Markdown rendering, update Navbar layout, and integrate Search component in App 2025-01-26 21:15:34 +00:00
0b3610935b fix: chatStore total_tokens count with reasoning 2025-01-22 19:19:54 +08:00
7aee52d5a2 save reasoning_content 2025-01-22 18:52:38 +08:00
edcdc70a2b fix: enable/disable penalty in chatgpt.ts 2025-01-21 05:36:06 +08:00
ba64aec5b0 scroll to bottom at message sent 2025-01-08 22:49:52 +08:00
b68224b13b refactor: seperate AppContext and AppChatStoreContext 2025-01-08 01:24:16 +08:00
20a152b899 ignore ctx is null early return 2025-01-08 00:17:01 +08:00
ecwu
5effd0a3f4 refactor: remove unused buttons and enhance API and Tools display in Settings component 2025-01-06 12:37:29 +08:00
ecwu
0e1529a4d2 refactor: add missing keys to list items and improve structure in APIListMenu and MessageBubble components 2025-01-05 20:42:36 +08:00
ecwu
709cad3138 refactor: simplify ImageUploadDrawer usage and integrate it into Chatbox for improved image handling 2025-01-05 20:32:19 +08:00
ecwu
c4dc89784d refactor: replace AddImage component with ImageUploadDrawer and add ImageGenDrawer for enhanced image handling 2025-01-05 20:00:17 +08:00
ecwu
c92b8f04cc refactor: rename ListAPI component to APIListMenu and update related references for improved clarity 2025-01-05 18:29:28 +08:00
ecwu
9383cf045a refactor: replace ListAPIs component with ListAPI for improved structure and organization 2025-01-05 00:00:11 +08:00
ecwu
47f63364b1 refactor: rename message.tsx to MessageBubble.tsx and consolidate message-related components for better organization 2025-01-04 23:53:45 +08:00
ecwu
236d48e72d feat: enhance ListAPIs component with shortLabel prop for improved display and update translations for new chat session prompts 2025-01-04 23:13:58 +08:00
ecwu
1f9c75b91e refactor: rename tmps to temps in Settings and setAPIsTemplate components for consistency 2025-01-04 22:49:45 +08:00
ecwu
34360e5370 refactor: clean up imports and move logprobToColor function to utils 2025-01-03 11:34:46 +08:00
ecwu
3728766d7f refactor: rename components and update import paths for consistency 2025-01-03 11:30:12 +08:00
ecwu
3060543ee7 refactor: rename and reorganize Search component imports for better structure 2025-01-03 01:43:40 +08:00
ecwu
c421792b9f feat: add alert icon in Settings button for missing API key or endpoint 2025-01-03 01:35:45 +08:00
ecwu
45d405adf3 refactor: remove settings visibility logic and add TODO for future implementation 2025-01-03 01:19:50 +08:00
ecwu
30583a421d refactor: update Settings and Navbar components for improved state management and UI integration 2025-01-03 01:17:54 +08:00
8b95106cf8 move follow button into input sticky 2024-12-31 14:17:36 +08:00
7a5bd999a8 Revert "setting overflow scroll to outer element"
This reverts commit b157614329.
2024-12-30 14:59:34 +08:00
b157614329 setting overflow scroll to outer element 2024-12-30 10:48:03 +08:00
115343cc27 sticky input component 2024-12-30 10:11:57 +08:00
b52af0ca1e fix typo and cached_input token 2024-12-30 01:08:52 +08:00
0e5d29b5ed update models 2024-12-30 00:47:32 +08:00
7413bf10ff refac: cost estimate and user msg tokens estimate 2024-12-30 00:27:16 +08:00
66a6f263a5 clean up chatStore 2024-12-27 18:02:14 +08:00
092ac46c15 move status to AppContext 2024-12-27 17:39:03 +08:00
48ead03629 upgrade react 19, remove preact usage 2024-12-27 15:43:48 +08:00
ecwu
192bae7339 allow to add image when API key is not set 2024-12-25 16:28:10 +08:00
ecwu
08504930d4 Refactor Chatbox to improve AddImage component handling and button functionality 2024-12-25 16:13:32 +08:00
926f3bea5c Fix types, replace preact with react 2024-12-22 23:04:36 +08:00
ecwu
c6fbe5c031 Refactor Search component to use Dialog for improved user experience; integrate Pagination component for better navigation of search results 2024-12-21 22:27:07 +08:00
ecwu
001bc479c2 Enhance ChatBubble and ChatBOX components to display loading messages; improve structure and formatting for better readability 2024-12-21 21:40:06 +08:00
ecwu
05d9132c22 Enhance ChatBOX component with improved alert messages and layout; replace plain text with structured ChatBubble components for better user experience 2024-12-21 17:51:21 +08:00
ecwu
dccddd6c4f Refactor Settings and ChatBOX components for improved layout; add Search button and integrate ScrollArea for better content management 2024-12-21 14:23:36 +08:00
ecwu
f2feedd3a2 Enhance ListAPIs component to display template name conditionally; update ChatBOX layout for improved spacing 2024-12-21 13:13:36 +08:00
ecwu
e8f0c0ffa5 Refactor ListToolsTemplates component to use NavigationMenu for improved navigation; enhance template management with Edit and Delete buttons 2024-12-21 12:51:07 +08:00
ecwu
346634c0d0 Refactor ListAPIs and ListToolsTemplates components to use Card and Carousel for improved UI; enhance template management with Edit and Delete buttons 2024-12-20 20:44:50 +08:00
ecwu
de231e215e Refactor WhisperButton and ChatBOX components to use Button component for consistency; improve layout and structure 2024-12-20 19:52:55 +08:00
ecwu
5f6d83000d Refactor ChatBOX component to enhance input handling and UI elements 2024-12-20 18:37:09 +08:00
ecwu
368d9810c2 refactor message layout for improved UI consistency 2024-12-20 18:21:28 +08:00