Commit graph

1495 commits

Author SHA1 Message Date
Danny Avila
217bdb4865 client error handling, regen response without saving messages 2023-02-08 15:26:42 -05:00
Danny Avila
87685c3791 conversation conditional rendering 2023-02-08 11:05:54 -05:00
Danny Avila
0c6dc8665b dark mode alternates to light mode on dark theme, error state in progress 2023-02-08 10:49:38 -05:00
Danny Avila
5cd50e7826 handle textarea text state with redux and setText on example click 2023-02-08 09:59:01 -05:00
Danny Avila
581ee0e2ca adds favicon to head 2023-02-08 09:46:26 -05:00
Danny Avila
d07047722e adds favicon to head 2023-02-08 09:44:10 -05:00
Danny Avila
b5042a738e adds dark mode and logs errors in message response 2023-02-08 09:15:47 -05:00
Danny Avila
58498ed951 clears conversations and no new line on enter 2023-02-08 08:27:23 -05:00
Daniel Avila
51d93da3f8 adds server and client error handling, clear convos in progress 2023-02-08 00:02:29 -05:00
Daniel Avila
511ac948b4 clear all convos in progress, async code refactored in debugging warning 2023-02-07 19:07:48 -05:00
Daniel Avila
053368646d useeffect triggers react warning 'expected static flag was missing' but workarounds don't look as nice 2023-02-07 19:07:12 -05:00
Danny Avila
6842ac880c optimistic ui for message sending and submit state 2023-02-07 16:22:35 -05:00
Danny Avila
9d41ed4615 reorganize components and add root import plugin 2023-02-07 10:26:19 -05:00
Danny Avila
faf8800e67 remove sourcemap error 2023-02-07 09:59:45 -05:00
Danny Avila
36ac055ae5 Complete rewire state to redux 2023-02-07 09:41:54 -05:00
Daniel Avila
7978ddd871 adding redux in progress 2023-02-07 00:05:00 -05:00
Daniel Avila
85efaa4173 adding redux to reduce prop drilling and allow for advanced conversation state 2023-02-06 21:18:28 -05:00
Daniel Avila
6e3f63ee46 adding clear methods for convos 2023-02-06 21:17:46 -05:00
Daniel Avila
c7c50dbbab convo successfully changes on convo click 2023-02-06 18:25:11 -05:00
Danny Avila
d35ed31b20 convo selection handling in progress 2023-02-06 16:28:50 -05:00
Danny Avila
c794287ced load convos on message send & other conditional rendering 2023-02-06 16:00:59 -05:00
Danny Avila
2869638cc0 get convos endpoint 2023-02-06 15:17:54 -05:00
Danny Avila
c821d1eee5 made model method one line shorter 2023-02-06 14:58:43 -05:00
Danny Avila
4e6b6be15c titles conversations based on first two messages 2023-02-06 14:57:47 -05:00
Danny Avila
511c8c9599 saves all conversations with messages 2023-02-06 14:05:02 -05:00
Danny Avila
232a823b9b store all messages to mongoDB 2023-02-06 13:28:21 -05:00
Danny Avila
f2003da779 layout mimics actual chatgpt ui 2023-02-06 13:27:28 -05:00
Daniel Avila
254f9d7e26 adds db connectivity and saving, need to process user messages still 2023-02-05 23:05:07 -05:00
Daniel Avila
f889f23792 chatgpt is taking shape, convo persists, layout mimics original 2023-02-05 19:41:24 -05:00
Daniel Avila
3a199757ae sse events on text submit 2023-02-05 15:29:35 -05:00
Daniel Avila
27f7276fc8 working SSE stream 2023-02-05 15:26:59 -05:00
Daniel Avila
81866f197a webpack config for polyfills 2023-02-04 20:49:58 -05:00
Daniel Avila
502bdc5dd5 building potential Server side events 2023-02-04 20:49:42 -05:00
Daniel Avila
641dcfad73 chat methods defined, also test file for library testing 2023-02-04 20:49:01 -05:00
Daniel Avila
7c4e7ab07a abstracts textarea 2023-02-04 20:48:33 -05:00
Daniel Avila
7b9f3ee9c2 update env variables and build 2023-02-04 20:09:58 -05:00
Daniel Avila
39781f5318 testing chatgpt logic 2023-02-04 20:09:02 -05:00
Daniel Avila
521a8eb704 templating model 2023-02-04 20:08:46 -05:00
Daniel Avila
92860a1bb4 adds express server 2023-02-04 20:08:28 -05:00
Daniel Avila
037a12a282 logs textarea input 2023-02-04 20:07:37 -05:00
Daniel Avila
5dc2d5efba updates to react 18 method createRoot 2023-02-04 20:07:08 -05:00
Daniel Avila
21a6a0587c adds basic layout 2023-02-04 19:19:53 -05:00
Daniel Avila
0fb3a1cab3 adds tailwindcss 2023-02-04 18:17:47 -05:00
Daniel Avila
74232d7671 initial commit, project is ready to start 2023-02-04 17:17:17 -05:00
hackreactor-bot
466dd01327 (init) 2022-10-20 11:45:11 +00:00