Commit Graph
8 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
Thomas LÉVEIL 0038bb8366 recover from corrupted conversationHistory data (#162)
If an item from conversationHistory is badly corrupted, skip it instead of crashing the app
2023-03-25 14:10:17 -06:00
Thomas LÉVEIL dd44a06213 🌐 locale de (#154) 2023-03-25 11:03:45 -06:00
Thomas LÉVEIL f5ebde2d2d Locale fr (#153)
* 🌐 fr translations

* ⚰️ remove unused translation
2023-03-25 10:48:50 -06:00
Thomas LÉVEIL b89ca2082e Precise error messages (#150)
* Introduce a component to display error messages

* precise error message when api key is invalid
2023-03-25 10:32:59 -06:00
Thomas LÉVEIL 698c3bda29 smoother autoscroll down (#141) 2023-03-25 08:00:40 -06:00
Thomas LÉVEILandMckay Wrigley 2c8e8547d0 Do not rely on user to figure out if server is configured with an api key (#136)
Fixes #105 (and probably also #115)

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-03-25 06:35:08 -06:00
Thomas LÉVEILanddev 5da68bbdd4 🐳 add Dockerfile (#17)
Co-authored-by: dev <dev@ptfprod7>
2023-03-19 06:49:41 -06:00