Commit graph

4,678 commits

Author SHA1 Message Date
anovazzi1
6917bf66a2 add default profile pic 2024-06-08 15:19:20 -03:00
Rodrigo
f2a8e0fda8 Refactor: Update destructive color in CSS 2024-06-08 14:44:15 -03:00
anovazzi1
719c031212 feat: Add drag and drop file upload functionality to chat input
This commit adds the drag and drop file upload functionality to the chat input component in the IOModal. It allows users to drag and drop files into the chat input area for uploading. The files are then processed and added to the chat message.

Files are validated to ensure they have the correct file extensions (png, jpg, jpeg, gif, bmp, webp) before uploading. If an invalid file is dropped, an error message is displayed.

This feature improves the user experience by providing a convenient way to upload files in the chat input.

Fixes #2115
2024-06-08 13:41:29 -03:00
anovazzi1
770dff7075 chore: Update tab label in IOModal component 2024-06-08 13:06:52 -03:00
Rodrigo
e5f404e863 chore: Update selected color in index.css 2024-06-08 13:05:06 -03:00
anovazzi1
e02195024b chore: Update connection color in index.css 2024-06-08 12:55:39 -03:00
anovazzi1
8d9808d58e fix edge selection state 2024-06-08 12:51:04 -03:00
anovazzi1
740cb874c9 update CheckCodeValidity 2024-06-08 12:01:15 -03:00
anovazzi1
2055be160a chore: Add early return for CustomComponent in useCheckCodeValidity hook 2024-06-08 11:55:05 -03:00
anovazzi1
c9e591a492 Refactor profile picture chooser component to support dark mode 2024-06-08 11:40:19 -03:00
Lucas Oliveira
98dcadc797 Merge remote-tracking branch 'origin/cz/mergeAll' into fix/edited_component 2024-06-07 20:06:50 -03:00
Lucas Oliveira
b801689f32 Implemented image at header and implemented horizontal scroll 2024-06-07 20:05:52 -03:00
anovazzi1
5e07d99cc6 Refactor: Improve column state change handling in TableComponent 2024-06-07 20:02:41 -03:00
anovazzi1
98175bc72c Merge branch 'cz/mergeAll' of personal:langflow-ai/langflow into cz/mergeAll 2024-06-07 19:56:49 -03:00
anovazzi1
d46f7ab708 remove tooltip 2024-06-07 19:56:36 -03:00
cristhianzl
817f85cfaf Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 19:53:29 -03:00
cristhianzl
37193b0031 (monitor.py): enhance transaction response with additional fields
♻️ (base.py): refactor log_transaction to include flow_id for better traceability
♻️ (vertex/base.py): refactor log_transaction to include flow_id for better traceability
 (schema.py): add flow_id and make outputs optional in TransactionModel
♻️ (service.py): update SQL query to include new fields and order by timestamp
♻️ (utils.py): update log_transaction to include flow_id and handle optional outputs
💄 (index.tsx): fix linting issues and update button component
 (chatInputOutputUser.spec.ts): add additional steps to end-to-end test for chat functionality
2024-06-07 19:53:04 -03:00
anovazzi1
a6d51567b7 chore: Update TableAutoCellRender to handle object rendering in ArrayReader component 2024-06-07 19:47:56 -03:00
igorrCarvalho
1cfc3f4033 Fix: Change Meta key to command for mac users 2024-06-07 19:43:27 -03:00
igorrCarvalho
0d09ca236e Remove consolelog 2024-06-07 19:35:21 -03:00
igorrCarvalho
5218e92945 Refactor: add max page size 2024-06-07 19:34:07 -03:00
igorrCarvalho
8c5f74ee0b Merge branch 'cz/mergeAll' into shortcuts_settings 2024-06-07 19:24:39 -03:00
igorrCarvalho
5e28f2d005 Refactor: Block user from sending files that are not images extensions 2024-06-07 19:15:39 -03:00
Lucas Oliveira
79e3321a85 Added cancelling handle 2024-06-07 19:15:26 -03:00
Lucas Oliveira
73511c72ca Added stop signal to not let the request happen twice 2024-06-07 19:15:26 -03:00
Lucas Oliveira
a2485d1797 Added a Loading component and added a border to the current image 2024-06-07 19:15:26 -03:00
igorrCarvalho
44fbc4ebdc Fix: Image files displaying as normal files 2024-06-07 18:47:19 -03:00
igorrCarvalho
bf61c339e1 Fix: disable file paste when chat are locked 2024-06-07 18:28:58 -03:00
igorrCarvalho
0d3780826d Fix: block file clip input when chat input are blocked 2024-06-07 17:50:15 -03:00
igorrCarvalho
7f616aec8b Fix: Download Button trigger chat 2024-06-07 17:31:22 -03:00
igorrCarvalho
e531e36ad1 Merge cz/mergeAll into shortcuts_settings 2024-06-07 17:18:40 -03:00
cristhianzl
ef6d39c14d (tests): add end-to-end test for sending an image in chat
 (tests): introduce chain.png asset for image upload test
2024-06-07 16:21:39 -03:00
cristhianzl
84a87a3c39 ♻️ (chatView, flowStore): refactor message handling for consistency 2024-06-07 16:10:05 -03:00
cristhianzl
d804303e94 🐛 (flowStore.ts): fix assignment to correct property in newFlowPool data structure 2024-06-07 15:59:00 -03:00
Lucas Oliveira
9478c14f57 Added frontend to show every profile picture from the Profile Pictures list 2024-06-07 15:34:12 -03:00
cristhianzl
749469e100 🐛 (chatView/index.tsx): fix chat message filtering to handle nested messages array
♻️ (api/index.ts): rename 'message' to 'messages' in VertexDataTypeAPI for clarity and consistency
2024-06-07 15:28:12 -03:00
Lucas Oliveira
d2d7aaaf79 Added Get Profile Pictures hook 2024-06-07 15:08:16 -03:00
anovazzi1
384977e156 updateTable component 2024-06-07 15:07:53 -03:00
cristhianzl
1be12a3c32 undefined fix on types 2024-06-07 15:06:11 -03:00
Lucas Oliveira
6dd85db35d Fixed Gradient name to Profile Picture 2024-06-07 15:04:29 -03:00
Lucas Oliveira
6d8c37a45f Added loading while it's updating component 2024-06-07 14:02:55 -03:00
Lucas Oliveira
62f78e0795 Made component not be updatable if it's been edited before 2024-06-07 13:58:03 -03:00
Lucas Oliveira
50eb7766f2 Added tooltip and handler to update node 2024-06-07 12:23:25 -03:00
Lucas Oliveira
18551077b0 Added triangle 2024-06-07 12:14:18 -03:00
cristhianzl
698ae4f296 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 12:12:18 -03:00
cristhianzl
0112563589 merge branch fix 2024-06-07 12:12:06 -03:00
cristhianzl
9ce7ee31a9 merge branch chatImg 2024-06-07 12:11:40 -03:00
Lucas Oliveira
638e6d66d9 Removed unused code and fixed type of InputGlobalComponent 2024-06-07 12:06:31 -03:00
Lucas Oliveira
f69aa2d70f Changed folders 2024-06-07 12:04:28 -03:00
cristhianzl
d89078271c merge dev 2024-06-07 11:28:03 -03:00