Commit Graph

493 Commits

Author SHA1 Message Date
7dea556a56 fix history 2025-02-07 21:40:48 +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
9e173b8955 add render md by default option, fix chat role type 2025-02-03 13:52:38 +08:00
ecwu
2193ce11df feat: update react-markdown to 9.0.3 and integrate KaTeX for math rendering in MessageBubble 2025-01-27 11:29:58 +00:00
ecwu
3b17ca791b feat: optimize LongInput component with memoization and local state management 2025-01-26 21:39:23 +00:00
ecwu
d51c283e55 feat: implement auto-resizing textarea in ChatInput component 2025-01-26 21:18:29 +00: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
ecwu
233397ba46 feat: add collapsible reasoning content to MessageBubble component, refactor message for response 2025-01-26 10:52:14 +00:00
Zhenghao Wu
c13bce63a9 Merge pull request #21 from heimoshuiyu/master
sync 0124
2025-01-24 12:28:03 +00:00
ecwu
25fcd1f685 feat: replace alert with toast notification for copied link in Settings component 2025-01-24 12:26:38 +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
6b78308bb5 feat: add maxTokens option to newChatStore 2025-01-21 09:51:39 +08:00
edcdc70a2b fix: enable/disable penalty in chatgpt.ts 2025-01-21 05:36:06 +08:00
3151fb8477 add options to enable/disable presence/frequency penalty 2025-01-21 05:31:37 +08:00
1146d514d3 Merge pull request #19 from heimoshuiyu/dev
Enhance current API display
2025-01-21 05:25:25 +08:00
ecwu
26cd5d1022 fix: remove unused import from App component 2025-01-20 15:02:02 +00:00
ecwu
cb1d25bbf6 fix: create a new toast when this is the first time visit 2025-01-20 15:01:34 +00:00
ecwu
02935d7a0f fix: update toast messages for clarity in chat session notifications 2025-01-20 14:54:08 +00:00
ecwu
0af9230c6e feat: enhance chat session notifications with API endpoint details 2025-01-20 14:14:24 +00:00
Zhenghao Wu
53f806ae3b Merge pull request #18 from heimoshuiyu/master
Sync progress
2025-01-14 01:46:21 +08:00
99d9e4d3f1 fix: delete chat template cause dialog render panic 2025-01-09 15:49:24 +08:00
e34cc7375d refac: edit chat template 2025-01-09 14:42:12 +08:00
ba64aec5b0 scroll to bottom at message sent 2025-01-08 22:49:52 +08:00
f0db9e6b03 fix: mockOnChange on user input textarea 2025-01-08 10:46:08 +08:00
74775b5265 fix: horizontal overflow, fix #17 2025-01-08 02:15:28 +08:00
394da2217c fix: save edit message on blur 2025-01-08 01:58:41 +08:00
137186e760 refactor: Input, Textarea maintain their own value, fix #8 2025-01-08 01:54:24 +08:00
d736c12ac1 Merge branch 'dev' 2025-01-08 01:26:44 +08:00
99e557c1a8 fix type: setChatSthore is async 2025-01-08 01:25:11 +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
9cacc5c6d3 Merge pull request #15 from heimoshuiyu/dev
Feat: Add Chat Template Dropdown and Update Template Initialization Logic
2025-01-07 22:23:18 +08:00
001eca79f6 save api to chat template 2025-01-07 18:59:30 +08:00
a4b8ed441c bring Chat Template back 2025-01-07 18:58:23 +08:00
cdae105f3f Merge pull request #11 from heimoshuiyu/dev
refactor: hide API Endpoint overflow in Settings component for better display
2025-01-07 18:08:39 +08:00
ecwu
04cd1a36e1 refactor: prevent API overflow in Settings component for better display 2025-01-06 17:18:11 +08:00
d98ad885b2 Merge pull request #10 from heimoshuiyu/dev
Major Structure Refactor and Feature Enhancements
2025-01-06 14:15:07 +08:00
c43c24d3d5 fix: import typo 2025-01-06 14:13:21 +08:00
ecwu
765c2c446c refactor: move edit message components to components directory for better organization 2025-01-06 12:41:21 +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
af6ccad35b refactor: adjust PopoverContent position in ToolsDropdownList for better layout 2025-01-06 00:30:04 +08:00
ecwu
a7bbe1e000 refactor: enhance ToolsDropdownList with Popover and Command components for improved usability 2025-01-06 00:29:21 +08:00
ecwu
22e3760b7f refactor: add DrawerDescription to ImageGenDrawer and ImageUploadDrawer for improved accessibility 2025-01-05 23:32:22 +08:00
ecwu
78d40a8bf7 refactor: streamline ToolsDropdownList by removing unnecessary props and enhancing button functionality 2025-01-05 23:26:35 +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
c84cc7d9e8 remove unused addImage component 2025-01-05 20:01:27 +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
40f61dd6f9 refactor: update button labels and improve dialog for saving tools templates 2025-01-05 19:43:57 +08:00