Commit graph

226 commits

Author SHA1 Message Date
Jing Hua 94d5ad3692 remove image resizing for mobile chat download 2023-03-11 19:28:39 +08:00
Jing Hua d00984ba81 hide download chat button during chat generation
Fixes #57
2023-03-11 19:28:07 +08:00
Jing Hua 443d4d3454 chat message optimsiation, fixed copy code during generation
fixes 17, fixes 53
2023-03-11 19:18:00 +08:00
Ayaka e5c35eb1a3
Restore original free API URL (#56) 2023-03-11 17:59:36 +08:00
Ayaka fbf5660b40
Temporarily change free API endpoint (#55) 2023-03-11 16:01:46 +08:00
Jing Hua ac7ea965ec feat: download chat as pdf / image / markdown
fixes #26
2023-03-11 02:35:55 +08:00
Jing Hua df82b62e38 feat: Import and export chats
fixes #8, #26
2023-03-10 17:03:46 +08:00
Jing Hua bdc385158b feat: change tab title to current chat title 2023-03-10 15:09:23 +08:00
Jing Hua f58382137d optimise ChatHistoryList 2023-03-10 14:54:54 +08:00
Jing Hua 5e1745fe0c style: side chat title input 2023-03-10 00:15:05 +08:00
Jing Hua b080c185f4 feat: auto generate title 2023-03-09 21:00:29 +08:00
Jing Hua 68562b699f Fix: copy code triggers UI for all code blocks
Fixes #24
2023-03-09 16:14:07 +08:00
Jing Hua 0f0f860bc6 update readme and about 2023-03-09 14:24:26 +08:00
Mark Anthony Llego 32bb534c81
Add fixes for deprecation warnings (#49) 2023-03-09 07:15:03 +08:00
Jing Hua 8fcf0764e5 fix: stream lock bug
Fixes #38
2023-03-09 07:07:50 +08:00
Jing Hua e48d967b4b Fix language not detected
Fixes #46
2023-03-08 22:57:02 +08:00
Jing Hua b6bf66dcc7 remove api checking 2023-03-08 01:08:39 +08:00
Jing Hua ae9499301a style: error message + move stream to try block 2023-03-07 23:57:27 +08:00
Jing Hua 9fedb3f169 release readable stream
issue #38
2023-03-07 23:04:37 +08:00
Jing Hua 21da7342eb fix: Object.hasOwn browser compatibility 2023-03-07 15:47:17 +08:00
Jing Hua c7504b1038 clear error message on new generation 2023-03-07 13:38:38 +08:00
Jing Hua 8ba2e473cd feat: customise free api endpoint 2023-03-07 08:15:28 +08:00
Jing Hua 98729351e0 error message for insufficient quota 2023-03-07 07:35:10 +08:00
Jing Hua 1142e9d973 added support
Support FreeChatGPT's mission of making AI accessible to everyone,
by funding the OpenAI API endpoint.
2023-03-07 07:26:14 +08:00
Jing Hua c006ccd97a feat: adaptive memory
fixes 9, fixed 10
2023-03-06 22:50:03 +08:00
Jing Hua 5372c48f53 fix migration from old to new ChatInterface 2023-03-06 22:36:36 +08:00
Jing Hua a009be9986
feat: model parameters customisation (#31)
issue #14
2023-03-06 22:22:05 +08:00
Ayaka 670c26774a
Update texts in the about menu (#30)
* Update description and texts in About menu

* Format code
2023-03-06 22:11:34 +08:00
Ayaka d4d0fafcb9
Implement a rudimental version of countTokens (#28) 2023-03-06 22:08:13 +08:00
Mark Anthony Llego 948c14a6eb
Bug Fix #21 (#22)
* bug fix #21

* changes

* update setApiFree function in useEffect
2023-03-06 22:06:48 +08:00
Jing Hua db81221e2d feat: about menu 2023-03-06 19:53:20 +08:00
Jing Hua 03972ba0a2
increase ApiMenu error message duration 2023-03-06 11:49:15 +08:00
Jing Hua 024bd71cb8
improve clarity of api menu error message 2023-03-06 11:45:11 +08:00
Jing Hua a2b3c5e884 handle edge cases 2023-03-06 00:50:18 +08:00
Jing Hua 46642e24c2 restore old chats 2023-03-06 00:35:18 +08:00
Jing Hua 72a89ada1f refactor api menu 2023-03-06 00:09:03 +08:00
Jing Hua 6222bb58f3 improve caching 2023-03-05 23:56:26 +08:00
Jing Hua 16caec5076 feat: StopGeneratingButton
fixes #16
2023-03-05 23:26:52 +08:00
Jing Hua 7a7db911c5 combine save & submit and submit button
fixes #15
2023-03-05 23:08:46 +08:00
Jing Hua 4fa5c14734 feat: performance optimisation
fixes partially #9 and #16
2023-03-05 22:59:31 +08:00
Jing Hua 59466e987a feat: flavoured markdown
fixes #2 and #11
2023-03-05 20:29:51 +08:00
Jing Hua cefc874a6f feat: clear all chats
fixes #6
2023-03-05 12:26:49 +08:00
Jing Hua 3eac852d17 improve popupmodal 2023-03-05 12:26:47 +08:00
Jing Hua 990a83fea8 feat: click outside mobile sidebar to close 2023-03-05 12:05:30 +08:00
Jing Hua 72bf034bf0 feat: mobile add chat button 2023-03-05 01:41:44 +08:00
Jing Hua 5d11cfa343 style: improvements 2023-03-05 01:33:46 +08:00
Jing Hua 17e37a3d79 style: sticky input 2023-03-05 00:09:00 +08:00
Jing Hua bdcaa35b98 ui: error message 2023-03-04 23:45:45 +08:00
Jing Hua b9a8f05176 error handling 2023-03-04 23:35:38 +08:00
Jing Hua 5f673691b1 fix: update chat title 2023-03-04 21:37:11 +08:00
Jing Hua 8f7a859691 reset sticky textarea height after save/submit 2023-03-04 21:30:57 +08:00
Jing Hua e8c0ddaa96 reorder delete confirmation button 2023-03-04 20:56:59 +08:00
Jing Hua a3149dc00e feat: resubmit historical dialogues
fixes #4
2023-03-04 20:23:27 +08:00
Jing Hua 0b412cf7ad feat: popup modal 2023-03-04 20:17:26 +08:00
Jing Hua 2be846f9df fix: custom api 2023-03-04 19:31:22 +08:00
Jing Hua eeccf01ec2 fix: paragraph whitespace pre-wrap
fixes #3
2023-03-04 19:30:19 +08:00
Jing Hua 143762fbee feat: ctrl/shift + enter to save and submit 2023-03-04 13:54:28 +08:00
Jing Hua fb910d0a52 improve useSubmitHook 2023-03-04 13:43:20 +08:00
Jing Hua 29f8fe75f3 fix: theme switcher 2023-03-04 12:23:16 +08:00
Jing Hua ae835c1791 improvements 2023-03-04 12:06:10 +08:00
Jing Hua 60401a491e style updates 2023-03-04 11:39:02 +08:00
Jing Hua 3abf98c89d add api message 2023-03-04 11:05:18 +08:00
Jing Hua b6656f43e7 style: textarea 2023-03-04 11:05:03 +08:00
Jing Hua 710f4c3f65 feat: regenerate response button 2023-03-04 10:46:41 +08:00
Jing Hua 7f39bbf5b0 textarea improvements 2023-03-04 10:05:15 +08:00
Jing Hua 79c7dd2603 feat: resizable textarea 2023-03-04 09:56:40 +08:00
Jing Hua fb21fb0f62 prevent submission while generating 2023-03-04 09:43:51 +08:00
Jing Hua 063316407d improve markdown parsing 2023-03-04 09:36:13 +08:00
Jing Hua ddf467c038 implement cache 2023-03-04 08:59:17 +08:00
Jing Hua f5c8bec819 error handling 2023-03-04 08:54:48 +08:00
Jing Hua 8a9dac15f7 abstract initialiseNewChat 2023-03-04 08:29:12 +08:00
Jing Hua 5572f20a6a style: hide scrollbar on mobile 2023-03-04 08:07:57 +08:00
Jing Hua 8bfe692a40 chat naming improvements 2023-03-04 08:02:49 +08:00
Jing Hua 042812239d chore: remove console.logs 2023-03-04 06:33:04 +08:00
Jing Hua 05cfd7f34f First Commit 2023-03-04 06:17:11 +08:00
Jing Hua b2ef37fb4f Initial Commit 2023-03-03 13:25:10 +08:00