Commit Graph

438 Commits

Author SHA1 Message Date
ecwu
3663193f50 refactor: move isVailedJSON import to utils for better organization 2025-01-04 23:53:38 +08:00
ecwu
f3d08afcdd feat: add isVailedJSON utility function for JSON validation 2025-01-04 23:53:28 +08:00
ecwu
503bf6a9bb feat: replace DropdownMenu with Select component in ModeToggle for improved theme selection 2025-01-04 23:29:20 +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
ecwu
6fe1012270 add Navbar component and integrate into App layout 2025-01-03 00:33:02 +08:00
Zhenghao Wu
5b4c4bffe0 Merge pull request #9 from heimoshuiyu/master
Sync Progress
2025-01-02 23:44:24 +08:00
8192649e16 Merge pull request #7 from heimoshuiyu/react-18
Some checks failed
Build static content / build (push) Failing after 19s
downgrade react 18, fix markdown, fix #6
2024-12-31 18:09:43 +08:00
ecwu
a63502ae2b remove typo text from scroll area components 2024-12-31 14:40:33 +08:00
8b95106cf8 move follow button into input sticky 2024-12-31 14:17:36 +08:00
2b19648ffb downgrade react 18, fix markdown 2024-12-31 12:00:18 +08:00
a56aa0205d menu flex wrap 2024-12-30 15:51:38 +08:00
263c23d942 fix: typo 2024-12-30 15:51:02 +08:00
318122a41f update ci to node 22 2024-12-30 15:17:01 +08:00
8c1e8da664 Merge branch 'dev' 2024-12-30 15:16:03 +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
115343cc27 sticky input component 2024-12-30 10:11:57 +08:00
4dcc655e53 unextend ChatStoremessage 2024-12-30 09:18:45 +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
0aacbeccb2 remove preact 2024-12-27 15:44:09 +08:00
48ead03629 upgrade react 19, remove preact usage 2024-12-27 15:43:48 +08:00
4b36debd0b format code 2024-12-27 14:25:12 +08:00
f0cc8d6270 add .prettierrc 2024-12-27 14:24:38 +08:00
b021f65a59 Merge remote-tracking branch 'github/dev' into dev 2024-12-25 18:04:28 +08:00
6a7f273682 fix: chatStore.cost is null 2024-12-25 18:04:13 +08:00
ecwu
834e27810c Replace VoicemailIcon with CircleStopIcon in WhisperButton during recording state 2024-12-25 16:30:35 +08:00
ecwu
192bae7339 allow to add image when API key is not set 2024-12-25 16:28:10 +08:00
ecwu
dcf8008c4d Refactor WhisperButton to enhance icon representation and prevent default click behavior 2024-12-25 16:19:49 +08:00
ecwu
08504930d4 Refactor Chatbox to improve AddImage component handling and button functionality 2024-12-25 16:13:32 +08:00
60b1481dab search screen 80% width max 2024-12-25 16:07:06 +08:00
32935d9742 sorry my fault 2024-12-25 15:32:02 +08:00
ecwu
ffd54fa70f Refactor TTSButton to use custom Button component and update icons for better UI consistency 2024-12-25 15:24:04 +08:00
ecwu
737c4727b0 Enhance Menubar with additional items and improved layout for better user experience 2024-12-25 15:12:26 +08:00
ecwu
126fa4f9db Refactor ThemeProvider to use React instead of Preact for improved compatibility 2024-12-25 14:43:28 +08:00
ecwu
756bf6cddd Update package.json to add @types/react and upgrade lucide-react and react dependencies 2024-12-25 14:40:53 +08:00
6acfc0d31d move chat actions to the buttom of bubble 2024-12-23 15:19:57 +08:00
7428018173 remove max-w-[60%] 2024-12-23 15:00:32 +08:00
926f3bea5c Fix types, replace preact with react 2024-12-22 23:04:36 +08:00