Commit Graph

29 Commits

Author SHA1 Message Date
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 bf8830e1a5
fix: missing translation (#206)
for translators: need translate `Save & Submit` and `Cancel`
2023-03-26 13:56:13 -06:00
Danil Shishkevich 0f07812cc5
chore: delete code light theme, like chatgpt (#186) 2023-03-26 02:25:58 -06:00
Simon Holmes d6973b9ccc
feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
Mckay Wrigley 71d7e44bce hotfix 2023-03-25 23:06:49 -06:00
Bruce Shi 499007da94
Latex plugin (#165) 2023-03-25 22:37:00 -06:00
Jack Wu 14fe29c03a
feat: Message copy button (#171)
* Add copy button

* Fix copy button not copying the entire message

* fix style

* remove prewrap

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 22:28:08 -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
Danil Shishkevich 4fbb5e1f79
fix: change message edit logic (#144)
if the edited message isn't different from the original message, then do nothing.
2023-03-25 08:29:54 -06:00
Mckay Wrigley d27326125b
regenerate button (#138) 2023-03-25 07:12:51 -06:00
Danil Shishkevich d7fdcd0dfe
fix: disable button if messageContent is empty (#137) 2023-03-25 07:11:27 -06:00
Mckay Wrigley 801451993c fix mobile edit 2023-03-25 06:41:43 -06:00
Mckay Wrigley 338ddedfec handle mobile edit 2023-03-25 06:09:51 -06:00
Mckay Wrigley a03d8b2ba9 edit message 2023-03-25 05:49:41 -06:00
Mckay Wrigley b0f2a0a3ba hotfix 2023-03-22 10:51:27 -06:00
Khairul Haaziq 4055e84450
enhance ui and fix layout problems (#63) 2023-03-22 07:10:31 -06:00
Mckay Wrigley 0d6ff739a2
add custom system prompt (#39) 2023-03-21 01:39:32 -06:00
Alan P 6e19d44020
wrap user messages (#35) 2023-03-20 22:05:23 -06:00
Xiangxuan Liu 0f346a808e User message should not render as Markdown 2023-03-19 19:38:54 +08:00
Mckay Wrigley 6bf8bacec0 gfm 2023-03-18 07:51:17 -06:00
Mckay Wrigley 3fecd56d22 responsive width 2023-03-18 04:46:42 -06:00
Mckay Wrigley fad67499e7 mobile improvements 2023-03-18 04:29:39 -06:00
Mckay Wrigley fa4e27a164 fix minor ui bugs 2023-03-18 04:10:35 -06:00
Mckay Wrigley a0056460ab add rename and delete improvements 2023-03-18 03:57:15 -06:00
Mckay Wrigley b6d5576227 light/dark code highlight 2023-03-18 02:32:30 -06:00
Mckay Wrigley 761314c20b code syntax highlights 2023-03-18 01:52:43 -06:00
Mckay Wrigley 9c50142c64 add markdown 2023-03-17 19:25:04 -06: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