Commit Graph

33 Commits

Author SHA1 Message Date
6b8426868a Fix: Template attribute dialog input and type issues 2025-05-30 18:35:40 +08:00
667b334dfc feat: add URL parameter configuration import dialog and related functionality 2025-03-25 10:49:10 +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
3b17ca791b feat: optimize LongInput component with memoization and local state management 2025-01-26 21:39:23 +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
3151fb8477 add options to enable/disable presence/frequency penalty 2025-01-21 05:31:37 +08:00
137186e760 refactor: Input, Textarea maintain their own value, fix #8 2025-01-08 01:54:24 +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
001eca79f6 save api to chat template 2025-01-07 18:59:30 +08:00
ecwu
04cd1a36e1 refactor: prevent API overflow in Settings component for better display 2025-01-06 17:18:11 +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
40f61dd6f9 refactor: update button labels and improve dialog for saving tools templates 2025-01-05 19:43:57 +08:00
ecwu
75a431360b refactor: reorganize SetAPIsTemplate component and update imports for improved structure 2025-01-05 00:11:31 +08:00
ecwu
3663193f50 refactor: move isVailedJSON import to utils for better organization 2025-01-04 23:53:38 +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
3728766d7f refactor: rename components and update import paths for consistency 2025-01-03 11:30:12 +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
30583a421d refactor: update Settings and Navbar components for improved state management and UI integration 2025-01-03 01:17:54 +08:00
dda88258ea change settings container to NonOverflowScrollArea 2024-12-30 15:15:23 +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
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
6a7f273682 fix: chatStore.cost is null 2024-12-25 18:04:13 +08:00
926f3bea5c Fix types, replace preact with react 2024-12-22 23:04:36 +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
5535706a26 Refactor Settings component to replace native select elements with custom Select components for improved UI consistency and usability 2024-12-21 14:10:12 +08:00
ecwu
ac307f5551 Refactor import path for Settings component to improve code organization 2024-12-20 16:10:07 +08:00
ecwu
bac65994b0 Refactor Settings component and integrate shadcn UI elements for improved user experience 2024-12-20 16:06:01 +08:00