Commit graph

9,182 commits

Author SHA1 Message Date
cristhianzl
ea8b5faad2 check SO before add keyboard command 2024-03-09 09:30:32 -03:00
cristhianzl
2d6a1d193f 🔧 fix(NewFlowCard2): add missing data-testid attribute to the NewFlowCardComponent to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the save button to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the edit button to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the duplicate button to improve testability
🔧 fix(codeAreaModalComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(dropdownComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(floatComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(flowPage.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(group.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(inputComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(intComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup

🐛 fix(keyPairListComponent.spec.ts): update key pair IDs and values to match test expectations
 feat(keyPairListComponent.spec.ts): add support for dynamic key pair creation and deletion
🔀 merge(langflowShortcuts.spec.ts): add end-to-end tests for langflow shortcuts
🔀 merge(nestedComponent.spec.ts): add end-to-end tests for nested components
🔀 merge(promptModalComponent.spec.ts): add end-to-end tests for prompt modal component
🔀 merge(saveComponents.spec.ts): add end-to-end tests for save components

 test(toggleComponent.spec.ts): add test case to simulate clicking on "blank-flow" element and waiting for 2 seconds
🐛 fix(toggleComponent.spec.ts): fix typo in test case, change "locator" to "waitForSelector" for better readability
2024-03-08 18:05:19 -03:00
Gabriel Luiz Freitas Almeida
f00eddd114 Add dspy package and its dependencies 2024-03-08 17:08:21 -03:00
Gabriel Luiz Freitas Almeida
7243fdc674 Remove unused PythonFunction node from customs.py 2024-03-08 17:08:20 -03:00
Gabriel Luiz Freitas Almeida
dced59cef8 Refactor file parsing in FileComponent 2024-03-08 17:08:19 -03:00
Gabriel Luiz Freitas Almeida
ecdc0be825 Refactor directory_component.build() and add tests for loading projects and mdx files 2024-03-08 17:08:19 -03:00
Gabriel Luiz Freitas Almeida
865bc02c94 Refactor file parsing and loading in DirectoryComponent 2024-03-08 17:08:18 -03:00
Gabriel Luiz Freitas Almeida
1c66bc9988 Refactor Record class to add model_validator for data validation 2024-03-08 17:08:18 -03:00
Gabriel Luiz Freitas Almeida
56731ad08c Add tests for directory component and multithreading 2024-03-08 17:08:17 -03:00
anovazzi1
3db4f3e469 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-08 16:44:11 -03:00
anovazzi1
381038377a move new flow card 2024-03-08 16:44:08 -03:00
Gabriel Luiz Freitas Almeida
e30130cdb9 Refactor TextToRecordComponent build method 2024-03-08 16:14:19 -03:00
Gabriel Luiz Freitas Almeida
ada0c2288b Remove disabled prop from Input component 2024-03-08 16:13:33 -03:00
Gabriel Luiz Freitas Almeida
bac1933a57 Add UpdateRecordComponent to helpers 2024-03-08 16:07:46 -03:00
Gabriel Luiz Freitas Almeida
6348da2de3 Refactor template formatting in records_to_text function 2024-03-08 16:05:59 -03:00
Gabriel Luiz Freitas Almeida
0c153e659f Update APIRequest and ExtractDataFromRecord components 2024-03-08 16:05:53 -03:00
anovazzi1
f53a08ba7a Update app-div style in App.tsx 2024-03-08 15:16:27 -03:00
anovazzi1
6b3ff2cd8c Update token expiration settings 2024-03-08 15:05:13 -03:00
Rodrigo Nader
b538d1bb39 Add custom components for message history and text to record conversion 2024-03-08 14:50:28 -03:00
Gabriel Luiz Freitas Almeida
b2c3b3b6d2 Add first api tests 2024-03-08 14:29:17 -03:00
Gabriel Luiz Freitas Almeida
97d448926c Fix all erros to run tests correctly 2024-03-08 13:43:34 -03:00
Gabriel Luiz Freitas Almeida
1363f387e9 Refactor tests and add new test file for data components 2024-03-08 13:43:33 -03:00
anovazzi1
b23d879760 Add expiration time for access and refresh token cookies 2024-03-08 13:01:14 -03:00
Gabriel Luiz Freitas Almeida
7b53178d6f Refactor ChatVertex to handle artifacts and unescape message 2024-03-08 12:17:44 -03:00
Gabriel Luiz Freitas Almeida
bb6a2ceb58 Refactor PromptComponent and add import statement for PromptComponent 2024-03-08 11:58:56 -03:00
Gabriel Luiz Freitas Almeida
0e5e259bae fix yaml dump not outputing unicode 2024-03-08 11:58:41 -03:00
Gabriel Luiz Freitas Almeida
f2cbc0c2f1 Add respx library for mocking HTTP requests 2024-03-08 11:37:52 -03:00
Gabriel Luiz Freitas Almeida
39434eadc4 Formatting 2024-03-08 11:36:32 -03:00
Gabriel Luiz Freitas Almeida
fd7da8720f Set up __init__ for all components 2024-03-08 11:35:55 -03:00
Gabriel Luiz Freitas Almeida
1f76ad728f Add defaultdict import and handle empty custom_fields 2024-03-08 11:24:23 -03:00
Gabriel Luiz Freitas Almeida
c7ad808c9e Refactor test_loading.py to use Graph instead of Chain 2024-03-08 10:23:55 -03:00
Gabriel Luiz Freitas Almeida
7ec33d3fe0 Add test for tweak with no node id 2024-03-08 10:23:48 -03:00
Gabriel Luiz Freitas Almeida
af5933524a Remove unused test files 2024-03-08 10:23:43 -03:00
Gabriel Luiz Freitas Almeida
d777df3dbf Refactor text splitter components to use unescape_string utility 2024-03-08 10:20:41 -03:00
Gabriel Luiz Freitas Almeida
b8639977ae Add unescape_string function and use it to unescape values in Vertex class 2024-03-08 10:20:24 -03:00
Gabriel Luiz Freitas Almeida
f6e5ddf928 only set Chat Input params if there is data to add 2024-03-08 10:11:51 -03:00
Gabriel Luiz Freitas Almeida
103dda198a Refactor code and update dependencies 2024-03-08 08:46:25 -03:00
Cristhian Zanforlin Lousa
553624c1be
Add New Icons to New Components (#1509)
add new icons to new components
2024-03-08 07:59:32 -03:00
Gabriel Luiz Freitas Almeida
50320a1a65 Change log level from info to debug in create_new_project function 2024-03-08 07:47:07 -03:00
Gabriel Luiz Freitas Almeida
2130152b14 Add ignore rule for chroma files 2024-03-07 22:02:49 -03:00
Gabriel Luiz Freitas Almeida
a6b7b9d5a8 Fix import errors and type annotations 2024-03-07 21:45:59 -03:00
anovazzi1
45d4610812 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-07 20:48:35 -03:00
anovazzi1
b26973a7c4 Add disabled attribute to Input and button components 2024-03-07 20:48:32 -03:00
igorrCarvalho
dcc78c2134 Refactor: Adjust window size for textInput and textOutput text area 2024-03-07 20:47:39 -03:00
anovazzi1
191afcb940 Fix bug in login functionality 2024-03-07 20:21:25 -03:00
anovazzi1
eb32a9f5d6
Feat: Implement Multiple Shortcuts for Enhanced User Experience (#1489)
This pull request introduces a set of multiple keyboard shortcuts to
enhance the usability and efficiency of the application. These are some
of the shortcuts that have been implemented:

Ctrl + E: Open edit node modal
Ctrl + Q: Minimize/expand node
Ctrl + U: Ungroup
Ctrl + Shift + S: Share component
Ctrl + Shift + D: Open component docs
Ctrl + S: Save component

These shortcuts provide users with quick access to commonly used
features, enabling smoother navigation and faster interaction within the
application.
2024-03-07 20:13:42 -03:00
Gabriel Luiz Freitas Almeida
69145f35ca Refactor code and update dependencies 2024-03-07 19:54:14 -03:00
igorrCarvalho
fd3942b2ed Fix: node with more than 1 handle can minimize when leave flow with it selected 2024-03-07 19:52:10 -03:00
anovazzi1
b1df45dd91 Merge branch 'zustand/io/migration' into codeShortcut 2024-03-07 19:41:11 -03:00
igorrCarvalho
ceb34e4ce6 Merge branch 'codeShortcut' of github.com:logspace-ai/langflow into codeShortcut 2024-03-07 19:17:50 -03:00