Commit Graph

33 Commits

Author SHA1 Message Date
Syed Muzamil a70ae8799d
fix: website crash when typing / followed with non prompt name (#262)
* fix: froward slash crash

* added the rounded corners when editing folder/chat
2023-03-28 08:00:07 -06:00
Bryan Lee a73ef2b8cf
fix: resolve Enter event conflict during CJK IME (#253)
* fix: resolve Enter event conflict during CJK IME

* add

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-28 02:46:16 -06:00
Brad Ullman a78a8c4a94
make all chat area components tabbable (accessibility) (#246)
* make all chat area components tabbable

* align message role description

* remove inline styles on icons

* remove inline styles on icons
2023-03-28 02:35:57 -06:00
Mckay Wrigley 34c79c0d66
Prompts (#229) 2023-03-27 09:38:56 -06:00
Mckay Wrigley a1743c82cc fix regenerate 2023-03-27 07:48:51 -06:00
Thomas LÉVEIL 46e1857489
Fix rendering performances issues related to scrolling events (#174)
* memoize chat related components

* Avoid re-rendering ChatInput on every message udpate

* change the way the horizontal scrollbar is hidden

* make the scroll event listener passive

* perf(Chat): fix performances issues related to autoscroll

Uses the intersection API to determine autoscroll mode instead of listening for scroll events

* tuning detection of autoscroll
2023-03-27 01:22:38 -06:00
Danil Shishkevich 6d5d09d69f
chore: restyle modal with model select (#202)
chore: set normal font size for sidebar
chore: set normal gradient for `ChatInput`
2023-03-26 09:14:47 -06:00
Simon Holmes d6973b9ccc
feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
Danil Shishkevich cb58a703e3
feat: Russian language (#148)
* feat: russian (Русский) language

* chore: correct translate

* chore: correct "System prompt" translate
2023-03-25 10:33:29 -06:00
Jungley 92eab6c634
feat: Add i18n support for Chinese language (#142)
* feat: Add i18n support for Chinese language

* fix: locale not working in Docker environment
2023-03-25 09:42:48 -06:00
Mckay Wrigley d27326125b
regenerate button (#138) 2023-03-25 07:12:51 -06:00
Ernesto Barrera 69e05160a3
Added character count to alert message (#135)
This improvement adds additional information to the alert that is displayed when the user enters more characters than allowed in the rich text element. Now, the alert also shows the number of characters that the user has entered, which helps to provide clearer and more useful feedback to the use
2023-03-25 06:11:30 -06:00
Mckay Wrigley a03d8b2ba9 edit message 2023-03-25 05:49:41 -06:00
Tony 7ce2d5ec2c
autofocus textarea (#103) 2023-03-23 13:01:35 -06:00
Mckay Wrigley 79c4ea053f fix light mode 2023-03-22 11:45:18 -06:00
Xiangxuan Liu cccf753743
Update the Stop Generating button style (#79) 2023-03-22 11:38:48 -06:00
Xiangxuan Liu 6c1ed37323
Apply the gradient bg style to input on mobile (#77) 2023-03-22 11:20:55 -06:00
Mckay Wrigley ec84eb2c49
Feat/add stop conversation button (#76)
* chore add in stop conversation button

* feat: use abort controller

* chore: formatting

---------

Co-authored-by: Simon Holmes <srsholmes@gmail.com>
2023-03-22 11:01:51 -06:00
Mckay Wrigley 5bffa8b0c9 hotfix 2023-03-22 10:46:30 -06:00
Khairul Haaziq 4055e84450
enhance ui and fix layout problems (#63) 2023-03-22 07:10:31 -06:00
Mckay Wrigley d14268b075 keep message focus 2023-03-21 16:40:29 -06:00
Mckay Wrigley cb0fb447a7
Quocthinhvo/main (#52)
* Change scroll bar style in desktop

* new scrollbar

---------

Co-authored-by: Quốc Thịnh Võ <46624702+quocthinhvo@users.noreply.github.com>
2023-03-21 16:25:42 -06:00
Mckay Wrigley 0d6ff739a2
add custom system prompt (#39) 2023-03-21 01:39:32 -06:00
Mckay Wrigley 537957d5f5
Token based and model conditional limits (#36)
* use tiktoken for api limit

* model conditional char limits on frontend

* adjust for completion tokens

---------

Co-authored-by: Alan Pogrebinschi <alanpog@gmail.com>
2023-03-20 22:02:24 -06:00
Mckay Wrigley 7e6651dea7
add more mobile ui (#18) 2023-03-19 06:48:57 -06:00
Mckay Wrigley 481c339d1c slight input ui tweak 2023-03-18 22:27:50 -06:00
Mckay Wrigley 396fe4ec6f fix syntax 2023-03-18 17:56:55 -06:00
asolpshinning a6d2118085
Updated ChatInput.tsx text area to autoextend for larger prompt size 2023-03-18 14:17:45 -05:00
Xiangxuan Liu bbfb834e89 Ignore new message when the current message is not finished yet 2023-03-19 00:03:19 +08:00
Mckay Wrigley fad67499e7 mobile improvements 2023-03-18 04:29:39 -06:00
PeterTakahashi 3ba74d99fb fix: support japanese typing 2023-03-18 08:31:37 +09:00
Mckay Wrigley ce331a1bbd boom 2023-03-15 04:24:09 -06:00
Mckay Wrigley a6503fb498 chatbot-ui starter 2023-03-13 19:21:14 -06:00