llama-gpt/components/Chat
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
..
Chat.tsx Fix rendering performances issues related to scrolling events (#174) 2023-03-27 01:22:38 -06:00
ChatInput.tsx Fix rendering performances issues related to scrolling events (#174) 2023-03-27 01:22:38 -06:00
ChatLoader.tsx feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
ChatMessage.tsx Fix rendering performances issues related to scrolling events (#174) 2023-03-27 01:22:38 -06:00
CopyButton.tsx feat: Message copy button (#171) 2023-03-25 22:28:08 -06:00
ErrorMessageDiv.tsx feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
ModelSelect.tsx Fix unreadable dropdown menu text in dark mode (#204) 2023-03-26 13:55:47 -06:00
Regenerate.tsx feat: add in prettier and format code for consistency (#168) 2023-03-25 23:13:18 -06:00
SystemPrompt.tsx chore: restyle modal with model select (#202) 2023-03-26 09:14:47 -06:00