Commit Graph

520 Commits

Author SHA1 Message Date
7694ed6792 Merge branch 'cursor' 2025-05-30 18:36:57 +08:00
6b8426868a Fix: Template attribute dialog input and type issues 2025-05-30 18:35:40 +08:00
e18dd9b680 Merge pull request #25 from heimoshuiyu/cursor
feat: Add edit and delete functionality for templates and enhance JSON editor
2025-05-28 09:58:50 +08:00
13295bd24d Refactor: Replace window.confirm with custom dialog component 2025-05-28 09:57:46 +08:00
aa83f10657 feat: Add edit and delete functionality for templates and enhance JSON editor 2025-05-28 09:37:29 +08:00
95b319db7d Merge pull request #24 from heimoshuiyu/cursor
fix: chat template / api template select menu not working for the first click
2025-05-28 09:30:41 +08:00
8f24489959 refac: api template menu 2025-05-28 02:10:18 +08:00
39c3860c78 fix: chat template menu by cursor 2025-05-28 02:01:04 +08:00
812ce3cc1f fix: conversation list show in startup 2025-04-23 10:21:51 +08:00
667b334dfc feat: add URL parameter configuration import dialog and related functionality 2025-03-25 10:49:10 +08:00
9b32948cfa remove lg:w-[65%] 2025-03-24 16:09:39 +08:00
9fbd9b98c2 Merge branch 'dev' 2025-03-24 15:50:29 +08:00
14df7bebac Revert "fix overflow"
This reverts commit 2a39ff885a.
2025-03-24 15:49:29 +08:00
e4919bb91f fix: panic if usage is null in stream mode 2025-02-20 16:42:52 +08:00
2a39ff885a fix overflow 2025-02-20 11:59:36 +08:00
c03dbef798 add response count to ChatStoreMessage and update message creation 2025-02-08 14:25:12 +08:00
8cd43bec72 add Chinese translations for "follow" and "stop generating"; log translation misses only for non-English 2025-02-08 11:03:20 +08:00
ed5f561148 refactor Chatbox component layout and restore stop generating button 2025-02-08 11:03:00 +08:00
ecwu
8d4a9b840a Add syntax highlighting support to MessageBubble component with rehype-highlight and highlight.js 2025-02-07 21:52:09 +00:00
ecwu
8db892caf7 Update MessageBubble component to adjust Markdown styling and improve responsiveness 2025-02-07 21:37:53 +00:00
ecwu
d18040dca1 Add @tailwindcss/typography plugin and update MessageBubble component for improved Markdown rendering 2025-02-07 21:32:14 +00:00
ecwu
a5f7447f4f Refactor MessageBubble component to enhance Markdown rendering for list items and paragraphs 2025-02-07 17:42:49 +00:00
ecwu
332a645e34 Enhance MessageBubble component with improved styling and collapsible content 2025-02-07 17:30:52 +00:00
c37a99f06d fix haha 2025-02-08 00:54:32 +08:00
Zhenghao Wu
3e89e88c1d Merge pull request #23 from heimoshuiyu/master
sync 0207
2025-02-07 16:52:54 +00:00
5b4a0507ae stop generating store message 2025-02-08 00:09:49 +08:00
75bf4a419d 访问冲突警告 2025-02-07 23:14:12 +08:00
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