Commit graph

60 commits

Author SHA1 Message Date
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 42820e4914
remove wrong favicon 2023-03-06 10:32:29 +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 b1b6caed8f change preview image 2023-03-05 12:01:58 +08:00
Jing Hua a5ed44a85b remove script 2023-03-05 01:53:45 +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 9bc839917e style: color palette update 2023-03-05 00:38:54 +08:00
Jing Hua 569c28aa73 analytics 2023-03-05 00:38:44 +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