Commit Graph

16 Commits

Author SHA1 Message Date
Anthony Puppo c959264f93
Performance (#602) 2023-04-19 08:39:19 -06:00
Mckay Wrigley 6500db9c1c
MAJOR REFACTOR (#494)
* move index to home folder, create state and context files and barrell folder

* Sanity Check Commit:  reducer added to home.tsx manual QA all working

* WIP: promptBar

* fix missing json parse on folders and prompts

* split context and add promptbar context

* add context to nested prompt componets and componetize Folder componet

* remove log

* Create buttons folder and componetize sidebar action button

* tidy up prompt handlers

* componetized sidebar

* added back chatbar componet to left side sidebar

* monster commit: Componetized the common code between chatbar and promptbar into new componet Sidebar and added context to both bars

* add useFetch service

* added prettier import sort to keep imports ordered and easier to indentify

* added react query and useFetch to work with RQ

* added apiService, errorService and reactQuery

* add callback and tidy up error service

* refactor chat and child componets to useContext

* fix extra calls and bad calls to mel endpoint

* minor import cleanup

---------

Co-authored-by: jc.durbin <jc.durbin@ardanis.com>
2023-04-10 21:10:18 -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
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 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
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 e30336c00e
feat: codeblock styling like chatgpt (#132) 2023-03-25 04:39:31 -06:00
Redon bc3b6d3355
feat: show language name (#113) 2023-03-24 02:43:44 -06:00
Mckay Wrigley f5118e3037
folders (#108)
* folders

* fixes

* storage fix
2023-03-23 17:59:40 -06:00
Mckay Wrigley 1789351ab5 handle code copy error 2023-03-23 08:20:02 -06:00
patanjalikr13 a1a8ac42a6
added download button, downlaod handler and necessary utility functions (#85)
Co-authored-by: Patanjali Kumar <patanjali@oddup.com>
2023-03-23 01:16:34 -06:00
Mckay Wrigley 972a5aff23
fix copy code overlap (#70) 2023-03-22 07:24:49 -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