Commit graph

11,009 commits

Author SHA1 Message Date
Lucas Oliveira
f69aa2d70f Changed folders 2024-06-07 12:04:28 -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
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
italojohnny
a7c1af8c4f Fix encoding load file 2024-06-06 20:03:10 -03:00
ogabrielluiz
c2b2e9a286 🔧 (build_and_push.Dockerfile): Add support for building and pushing frontend code in a separate node builder stage to improve build process efficiency
🔧 (build_and_push.Dockerfile): Update pip install command to force reinstall dependencies to ensure consistency
🐛 (code_parser.py): Change logger.exception to logger.debug to prevent logging full exception stack trace
🐛 (directory_reader.py): Change logger.error to logger.debug and log error message separately to improve error handling and logging clarity
2024-06-06 19:45:18 -03:00
Lucas Oliveira
c6a5070e4b removed border from tables on Settings 2024-06-06 19:37:28 -03:00
anovazzi1
a79172bbec filter using flow Id 2024-06-06 19:04:26 -03:00
Lucas Oliveira
ee46ab1d71 Fixed line clamp on alerts 2024-06-06 19:00:10 -03:00
anovazzi1
8063fd9a97 Refactor IOModal to improve session management and functionality 2024-06-06 18:59:52 -03:00
ogabrielluiz
c3a0e3d598 chore: Upgrade langflow-base package version from 0.0.58 to 0.0.59 2024-06-06 18:57:40 -03:00
Lucas Oliveira
18d7891464 Added error catching on folder upload 2024-06-06 18:54:02 -03:00
anovazzi1
6fcf99aed9 workin session managment in playground, need to add tooltips 2024-06-06 18:54:00 -03:00
ogabrielluiz
0f88ae1eb0 chore: Remove imports from dunder init 2024-06-06 18:53:55 -03:00
Lucas Oliveira
2fc3541f33 Fixed function to upload flows on Folder upload button 2024-06-06 18:47:09 -03:00
Lucas Oliveira
49f977911e Added logic to upload flows and folders at the same place 2024-06-06 18:47:09 -03:00
ogabrielluiz
311393a411 chore: Restart HuggingFace Spaces and update import paths for GenericNode and getFieldTitle 2024-06-06 18:40:07 -03:00
cristhianzl
c3db738a13 Merge branch 'fix/status_export' of https://github.com/langflow-ai/langflow into fix/status_export 2024-06-06 18:38:02 -03:00
cristhianzl
c81a386cf1 Merge branch 'dev' into fix/status_export 2024-06-06 18:37:29 -03:00
ogabrielluiz
bb02397a60 ⬆️ (pyproject.toml): upgrade package version from 1.0.0a46 to 1.0.0a47 2024-06-06 18:34:03 -03:00
ogabrielluiz
28b38b324b Add CustomNodes folder 2024-06-06 18:23:56 -03:00
ogabrielluiz
0f82fdc77b Remove folder 2024-06-06 18:23:38 -03:00
ogabrielluiz
e994b1b649 rename folder 2024-06-06 18:02:29 -03:00
ogabrielluiz
cfd4f2a732 chore: Update import paths for GenericNode and getFieldTitle 2024-06-06 17:55:52 -03:00
Lucas Oliveira
2558786851 Fixed padding from Messages page 2024-06-06 17:49:53 -03:00
Lucas Oliveira
c8ce77bbf0 Fixed padding from Settings page outlet 2024-06-06 17:49:20 -03:00
Lucas Oliveira
71728cd004 Fixed Messages icon 2024-06-06 17:46:38 -03:00
Lucas Oliveira
e1846167df Removed Upload Flows from page 2024-06-06 17:42:53 -03:00
cristhianzl
7d943b8755 merge fix 2024-06-06 17:40:03 -03:00
ogabrielluiz
52d501d1d8 chore: Update import paths for GenericNode and getFieldTitle 2024-06-06 17:37:59 -03:00
ogabrielluiz
878c5a7686 chore: Update langchain-cohere dependency to version 0.1.5 2024-06-06 17:30:28 -03:00