Commit Graph

6 Commits

Author SHA1 Message Date
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 f9ddf07085
remove dupe main (#355) 2023-04-02 00:17:49 -06:00
Jason Banich b7b6bbaaca
add react-hot-toast and surface OpenAI API errors to users (#328) 2023-04-01 23:05:07 -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
Mckay Wrigley a6503fb498 chatbot-ui starter 2023-03-13 19:21:14 -06:00