Commit graph

11,119 commits

Author SHA1 Message Date
igorrCarvalho
e531e36ad1 Merge cz/mergeAll into shortcuts_settings 2024-06-07 17:18:40 -03:00
cristhianzl
d7fef29fa3 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 16:22:09 -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
ogabrielluiz
64e5eaf99d refactor: Update log_transaction function to include target vertex in transaction data 2024-06-07 16:21:20 -03:00
ogabrielluiz
d0ae3835b4 refactor: Update build_and_cache_graph_from_db function to use truthiness check for session_id 2024-06-07 16:21:07 -03:00
cristhianzl
c7851a8ed4 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 16:10:25 -03:00
cristhianzl
84a87a3c39 ♻️ (chatView, flowStore): refactor message handling for consistency 2024-06-07 16:10:05 -03:00
anovazzi1
48a429e033 Merge branch 'cz/mergeAll' of personal:langflow-ai/langflow into cz/mergeAll 2024-06-07 15:59:38 -03:00
cristhianzl
5a64bb2678 Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 15:59:23 -03:00
cristhianzl
d804303e94 🐛 (flowStore.ts): fix assignment to correct property in newFlowPool data structure 2024-06-07 15:59:00 -03:00
anovazzi1
3b6af6fa6a Merge branch 'extended_Session' of personal:langflow-ai/langflow into extended_Session 2024-06-07 15:58:56 -03:00
ogabrielluiz
0db23d2756 refactor: Update TransactionModel and TransactionModelResponse fields 2024-06-07 15:57:15 -03:00
ogabrielluiz
880cf81fa3 update projects 2024-06-07 15:57:15 -03:00
ogabrielluiz
5a7263a7cb Allow models to receive Record as well 2024-06-07 15:57:15 -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
ogabrielluiz
1ab17438f9 chore: Update test_endpoints.py to handle custom nodes and dependencies 2024-06-07 15:21:13 -03:00
ogabrielluiz
b8a361c546 refactor: Improve handling of artifacts in vertex base class 2024-06-07 15:21:03 -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
cristhianzl
de69b70688 ♻️ (types.py): reformat ChatOutputResponse instantiation for better readability 2024-06-07 12:16:42 -03:00
cristhianzl
2757ae4069 🐛 (types.py): add missing artifact_type to ChatOutputResponse to ensure correct artifact type is set 2024-06-07 12:16:31 -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
cristhianzl
dc29bb4b3d Merge branch 'cz/mergeAll' of https://github.com/langflow-ai/langflow into cz/mergeAll 2024-06-07 11:24:57 -03:00
cristhianzl
016a7dc688 (folders.py, flow.py): add unique name generation for folders and flows
♻️ (folders.py): refactor folder name generation logic to use helper function

♻️ (flow.py): refactor flow name generation logic to use helper function
2024-06-07 11:24:40 -03:00
cristhianzl
83a1264835 (GenericNode): add emoji validation using emoji-regex library
♻️ (GenericNode): refactor code to improve readability and consistency
2024-06-07 11:24:26 -03:00
ogabrielluiz
a6dfe39882 refactor: add session_id to vertices without it in build_and_cache_graph_from_db 2024-06-07 11:15:53 -03:00
anovazzi1
d309c2bd85 chore: Add onDelete and onDuplicate props to TableComponent 2024-06-07 11:08:57 -03:00
anovazzi1
a38a0d7eeb add fixex to IO modal 2024-06-07 10:51:17 -03:00
anovazzi1
9ae07ec1e8 Merge remote-tracking branch 'origin/cz/mergeAll' into extended_Session 2024-06-07 10:50:43 -03:00
cristhianzl
5e2a754589 (actionsMainPage.spec.ts): add end-to-end tests for downloading, uploading, and duplicating flows and components 2024-06-07 10:38:44 -03:00
cristhianzl
fe371d650b (sideBarFolderButtons): add success alert for folder upload
♻️ (sideBarFolderButtons): remove unnecessary commas and improve code readability

 (hooks): add useDeleteMultipleFlows hook for deleting multiple flows

 (hooks): add useDescriptionModal hook for dynamic modal descriptions

 (hooks): add useFilteredFlows hook for filtering flows

 (hooks): add useDuplicateFlows hook for duplicating flows

 (hooks): add custom hooks for handling export, select all, and option changes

- Add `useExportFlows` for exporting selected flows
- Add `useSelectAll` for handling select all functionality
- Add `useSelectOptionsChange` for handling option changes
- Add `useSelectedFlows` for managing selected flows state

♻️ (index.tsx): refactor to use custom hooks for better code modularity and readability
💡 (index.tsx): add cardTypes memoization to determine the type of cards displayed
2024-06-07 10:38:32 -03:00
cristhianzl
44d6c959ce ♻️ (index.tsx): remove unused handleEditFolder prop and import
♻️ (index.tsx): remove redundant commas and fix formatting issues
♻️ (headerComponent): remove unused ForwardedIconComponent import
2024-06-07 08:48:46 -03:00
cristhianzl
1ecf3d5ddc Merge branch 'dev' into cz/mergeAll 2024-06-07 08:40:31 -03:00
Gabriel Luiz Freitas Almeida
48957cbf6c
fix: 🐛 replaced debounce-promise with pdebounce (#2109)
* fix: 🐛 replaced debounce-promise with pdebounce
2024-06-07 04:35:59 -07:00
Lucas Oliveira
44fbb2fed1 Fixed stroke console error 2024-06-07 08:18:54 -03:00
Lucas Oliveira
57b7fc3203 Fixed button inside of button 2024-06-07 08:17:47 -03:00
Lucas Oliveira
a747bdbc3c Removed key as props from My Collection 2024-06-07 08:17:47 -03:00
Lucas Oliveira
197ac22aea Added error on reject 2024-06-07 08:17:47 -03:00
Lucas Oliveira
360d40a2a5 Fixed parameter that is not being used at Sidebar 2024-06-07 08:17:47 -03:00
ogabrielluiz
991f23461b chore: Remove frontend build artifacts from backend repository 2024-06-07 08:05:28 -03:00
cristhianzl
f5ece1240a merge fix on dev 2024-06-06 22:15:01 -03:00
cristhianzl
815892adf3 formatting files 2024-06-06 21:44:40 -03:00
cristhianzl
02cca793eb merging all branches/feat 2024-06-06 21:43:59 -03:00
Cristhian Zanforlin Lousa
106ce9e64b
Feature Enhancements and Bug Fixes (#2099)
#### Overview:
This PR introduces several new features and fixes to improve the user
experience and functionality of the application. Key updates include
enhanced interactivity, export functionalities, UI improvements, and bug
fixes.

#### New Features:
1. **Play on Hover**:
- Added functionality to play media when hovering over the entire node
for better interactivity.

2. **Export Handler**:
   - Implemented an export handler on the main page.
- `handleExport` function added as a parameter to the header, along with
an export button for easy data export.

3. **Upload Flow**:
- Introduced an "Upload Flow" button on the main page for streamlined
file uploads.

4. **User Menu**:
- Added a user option in the header menu for better user profile
management.

#### Bug Fixes and UI Improvements:
1. **Naming and Position Fixes**:
- Corrected naming issues and positioning of alerts in the export modal
for clarity.

2. **Button Styling**:
- Updated buttons in the components section header to utilize ShadCN
button styles for consistency.

3. **Select All Classes**:
- Resolved issues with the "Select All" functionality for improved batch
operations.

4. **Import Function**:
   - Fixed the import function to ensure reliable data import processes.

5. **Error Naming**:
- Standardized error naming conventions for better error handling and
debugging.

#### Commits:
1. **Added play on hover of entire node** - Enhances interactivity by
enabling play on hover.
2. **Added Export handler on Main Page** - Implements core export
functionality.
3. **Added handleExport as parameter of header and added button to
export** - Integrates export control into the header.
4. **Fixed naming of errors** - Improves error handling by fixing naming
issues.
5. **Fixed buttons not using ShadCN buttons on header of components
section** - Ensures consistent button styling.
6. **Fixed naming and position of alert on Export modal** - Corrects
alert display issues in export modal.
7. **Fixed select all classes** - Resolves issues with the "Select All"
feature.
8. **Added Upload Flow button to main page** - Introduces an upload
button for file handling.
9. **Fixed import function** - Ensures reliable import operations.
10. **Added user on header menu** - Adds user options to the header for
profile management.

These updates collectively enhance the application's functionality, user
interface, and overall user experience.
2024-06-06 21:25:37 -03:00
cristhianzl
2992ba0fb4 Merge branch 'dev' into fix/status_export 2024-06-06 21:09:32 -03:00