Commit graph

4,997 commits

Author SHA1 Message Date
Gabriel Almeida
01c23d6d8b style(chatMessage): add full width to chat message container 2023-04-26 10:04:25 -03:00
Gabriel Almeida
553ba98337 Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-26 09:05:29 -03:00
anovazzi1
4f7630fa05 think bug fixed 2023-04-26 01:37:56 -03:00
Gabriel Luiz Freitas Almeida
5dbca85512
Merge branch 'chat_and_cache' into 186-endpoints-for-node-validation-and-debugging 2023-04-26 01:28:43 -03:00
Gabriel Almeida
1b8f4ce2bd Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-26 01:05:43 -03:00
anovazzi1
ad7683e7ad new human chat color 2023-04-26 01:04:50 -03:00
anovazzi1
2d98de9368 new human chat color 2023-04-26 01:00:41 -03:00
anovazzi1
f7989aca85 avoiding error 1005 message 2023-04-26 00:59:41 -03:00
Gabriel Almeida
4292b95175 refactor(chat): change file.type to file.data_type in ChatMessage component and ChatMessageType type definition 2023-04-26 00:59:35 -03:00
Gabriel Almeida
0945dbe582 style(chat_manager.py, chatMessage/index.tsx): fix indentation and formatting issues 2023-04-26 00:55:44 -03:00
Gabriel Almeida
0ef4572917 Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-26 00:51:19 -03:00
anovazzi1
38ec55db77 new file name 2023-04-26 00:44:24 -03:00
anovazzi1
395edf5d17 create message to display while chat is empty 2023-04-26 00:41:48 -03:00
anovazzi1
7ae1351e41 key on map to avoid error on console 2023-04-26 00:14:18 -03:00
Gabriel Almeida
54351d5d28 Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-26 00:03:04 -03:00
anovazzi1
c3499db353 change lock logic 2023-04-26 00:02:02 -03:00
Gabriel Almeida
df0897a96e Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-25 23:53:17 -03:00
anovazzi1
4c287b54ce set file extension to .png 2023-04-25 23:47:55 -03:00
Gabriel Almeida
e58a2d2104 Merge remote-tracking branch 'origin/websocket' into chat_and_cache 2023-04-25 23:43:16 -03:00
anovazzi1
bb18f128ce added basic error handling 2023-04-25 23:36:25 -03:00
anovazzi1
bc4abd50c4 using unique id as flow id 2023-04-25 23:09:19 -03:00
anovazzi1
5d94b5cd9c fixed lockChat logic 2023-04-25 23:01:52 -03:00
anovazzi1
56d97e7c7f file download working 2023-04-25 22:47:52 -03:00
anovazzi1
ce2895f1c7 change lock logic 2023-04-25 22:16:07 -03:00
anovazzi1
2196111bf2 checking type from chat history 2023-04-25 22:12:33 -03:00
anovazzi1
101044946d clean function implemented on front 2023-04-25 22:02:25 -03:00
anovazzi1
4cc2babcf1 bug on file 2023-04-25 21:23:13 -03:00
anovazzi1
fcbc92f609 file card ready 2023-04-25 20:55:16 -03:00
anovazzi1
804c9a5a3e check ws status to unlock chat on error 2023-04-25 19:24:56 -03:00
anovazzi1
f36fe34831 new lock chat implemented 2023-04-25 18:53:27 -03:00
anovazzi1
be5b7822d7 custom scrollbar and text input became text area for chat 2023-04-25 18:36:46 -03:00
anovazzi1
61a3b9aad4 chat working as old with websocket, need to improve error handling and file events 2023-04-25 17:51:16 -03:00
anovazzi1
b526c436cd removed chat history from flow save 2023-04-25 17:34:14 -03:00
anovazzi1
4fd659703f socket small changes 2023-04-25 16:35:44 -03:00
anovazzi1
7f2ad60a35 Merge remote-tracking branch 'origin/chat_and_cache' into websocket 2023-04-25 15:42:06 -03:00
anovazzi1
e4fdfdd649 added new icon 2023-04-25 15:40:21 -03:00
anovazzi1
f8f6283464 websocket first implementation 2023-04-25 15:29:02 -03:00
Gabriel Almeida
ff9a2e6663 feat(frontend): add use-debounce package to dependencies in package.json 2023-04-25 14:39:34 -03:00
Gabriel Almeida
7af5f68861 feat(validate): add debounced validation for nodes in GenericNode component
fix(validate): set validation status to "success" or "error" based on response status
feat(validate): add state for validation status and outline color in GenericNode component
refactor(validate): use useDebouncedCallback hook for debouncing validation function
refactor(validate): simplify useEffect dependencies in GenericNode component
2023-04-25 14:31:57 -03:00
Gabriel Almeida
c522727d6e Refactor ImportModal code to use useState and useContext hooks
This commit refactors the code for the ImportModal component to use hooks like useState and useContext, resulting in improved readability and maintainability. It also adds functionality to load prebuilt examples and handle local file uploads.
2023-04-25 11:03:11 -03:00
anovazzi1
ce7e9d0254 shortcut on ctrl shift k 2023-04-24 23:31:42 -03:00
anovazzi1
7c16616273 chat popUp not using popUp context 2023-04-24 23:21:22 -03:00
anovazzi1
152525decc chat clear 2023-04-24 23:10:51 -03:00
anovazzi1
68870301f3 chat modal messages firts version finished 2023-04-24 22:04:25 -03:00
anovazzi1
020e9c8461 chat modal working 2023-04-24 21:10:51 -03:00
anovazzi1
2c0b846f54 migrate chat logic to chat modal 2023-04-24 21:02:23 -03:00
anovazzi1
8ed1ea92d4 clean chat area 2023-04-24 20:03:05 -03:00
anovazzi1
9464b8790c added chat trigger component 2023-04-24 19:25:33 -03:00
anovazzi1
b3155a58a9
Add Import Examples Feature to Flow Editor (#175)
This pull request adds a new feature to the flow editor that allows
users to easily import example flows from the
[logspace-ai/langflow_examples](https://github.com/logspace-ai/langflow_examples)
repository on GitHub. The feature is accessible via the import example
button

Clicking on the "Import Examples" button opens a dialog box that
displays a list of available example flows from the GitHub repository.
Users can select one example to import, and the flow editor will
automatically add the selected flow to the user's current project.

This feature saves users time and effort by providing a convenient way
to explore and utilize pre-built flows.

Additionally, this feature promotes collaboration and community
involvement by encouraging users to contribute their own flows to the
repository for others to use and benefit from.
2023-04-24 19:08:21 -03:00
anovazzi1
a15d605cc8 update styles 2023-04-24 19:03:20 -03:00