Commit graph

9,243 commits

Author SHA1 Message Date
anovazzi1
a02b2e1776 Fix flow duplication and navigation bug in MenuBar component 2024-03-19 18:08:21 -03:00
anovazzi1
633881c652 Add setSuccessData function to handleAddFlow and add duplicate flow functionality 2024-03-18 16:39:24 -03:00
anovazzi1
ced448c7ae
Add tests to shortcuts (#1510)
🔧 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-15 18:09:46 -03:00
cristhianzl
a51dd38561 merge fix 2024-03-15 15:58:47 -03:00
cristhianzl
70c083451e 📝 (index.tsx): add data-testid attributes to the toolbar select items to improve testability
♻️ (toolbarSelectItem/index.tsx): remove unused import and refactor code to include data-testid attribute in the rendered element
📝 (index.ts): add dataTestId property to the toolbarSelectItemProps type to reflect the addition of data-testid attribute in the component
📝 (auto_login.spec.ts): increase timeout for page.waitForTimeout to 16 seconds and test.setTimeout to 140 seconds to accommodate slower test execution
📝 (keyPairListComponent.spec.ts): increase timeout for page.waitForTimeout to 20 seconds to accommodate slower test execution
2024-03-15 15:56:13 -03:00
anovazzi1
97f1e82cb0
Fix toolbar UI - Icons views (#1525)
♻️ (index.tsx): remove unused import of useEffect to improve code
cleanliness and readability
📝 (index.tsx): refactor toolbarSelectItem component to improve code
formatting and readability
2024-03-15 15:45:19 -03:00
cristhianzl
e13c451f66 Merge branch 'zustand/io/migration' into cz/testShortcuts 2024-03-15 15:42:56 -03:00
cristhianzl
62dea63482 📝 (nodeToolbarComponent/index.tsx): update styleObj for Share button to improve code readability and maintainability
📝 (nodeToolbarComponent/index.tsx): update styleObj for Docs button to improve code readability and maintainability
📝 (nodeToolbarComponent/index.tsx): update className for Command icon to improve code readability and maintainability
📝 (toolbarSelectItem/index.tsx): update className for Command icon to improve code readability and maintainability
2024-03-15 15:41:40 -03:00
anovazzi1
9c59f0a94a
Fix cURL on Api Modal (#1524)
📝 (utils.ts): add support for retrieving output IDs from flow data to
include in the curl code
📝 (utils.ts): update getCurlCode function to include the arrayOfOutputs
in the curl code
2024-03-15 15:11:49 -03:00
anovazzi1
7dc34c9bc6 Update run-tests.sh to include environment file in backend startup 2024-03-15 15:07:44 -03:00
cristhianzl
85b5f80bba ♻️ (index.tsx): remove unused import of useEffect to improve code cleanliness and readability
📝 (index.tsx): refactor toolbarSelectItem component to improve code formatting and readability
2024-03-14 18:44:19 -03:00
cristhianzl
01ea9222b8 📝 (utils.ts): add support for retrieving output IDs from flow data to include in the curl code
📝 (utils.ts): update getCurlCode function to include the arrayOfOutputs in the curl code
2024-03-14 18:25:16 -03:00
anovazzi1
17302a825e Refactor IOOutputView component to use readOnly Textarea 2024-03-13 14:40:42 -03:00
cristhianzl
34f5a1300a merge fix 2024-03-13 11:12:42 -03:00
anovazzi1
b89439becb Fix event listener memory leak in RenameLabel component 2024-03-12 20:37:58 -03:00
anovazzi1
87a2c28e22
Title: Bugfix: Resolve Login Loop for Incorrect Username or Password (#1514)
This pull request addresses a critical bug where the login process
enters into a loop when users provide incorrect credentials,
specifically when the username or password is invalid. Prior to this
fix, the system would repeatedly prompt users to re-enter their
credentials without providing any indication of the error, leading to
frustration and confusion among users.
2024-03-12 19:04:45 -03:00
igorrCarvalho
141339d9d3 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-12 16:30:14 -03:00
igorrCarvalho
1ce4193a99 Feat: Create ToolbarSelectItem to avoid duplicated code 2024-03-12 16:30:05 -03:00
cristhianzl
e775df7eef return acces_token to original value 2024-03-12 16:26:28 -03:00
cristhianzl
ff21ecc213 fix problem of retries on login page 2024-03-12 16:26:09 -03:00
cristhianzl
fa04f70b32 bugfix: login on loop when username or password is incorrect 2024-03-11 19:26:16 -03:00
Gabriel Luiz Freitas Almeida
df12199462 Fix input value handling in run_graph function 2024-03-11 19:24:52 -03:00
cristhianzl
92aa159f39 add configuration to run all tests 2024-03-11 19:07:43 -03:00
Gabriel Luiz Freitas Almeida
0bd4517372 Add RunOutputs class to schema.py 2024-03-11 18:21:31 -03:00
anovazzi1
b3ed843140 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-11 18:18:51 -03:00
anovazzi1
d575e653df Refactor DialogContent component styles 2024-03-11 18:18:48 -03:00
Gabriel Luiz Freitas Almeida
4d45f47698 Fix vertex iteration bug and add component metadata 2024-03-11 18:09:33 -03:00
Gabriel Luiz Freitas Almeida
4916f7f050 Refactor App component and update test_helper_components.py 2024-03-11 18:00:53 -03:00
Gabriel Luiz Freitas Almeida
c80ee236c9 Fix components value handling in InputValueRequest 2024-03-11 18:00:52 -03:00
anovazzi1
3628944782 Merge branch 'zustand/io/migration' of personal:logspace-ai/langflow into zustand/io/migration 2024-03-11 17:59:20 -03:00
anovazzi1
52df90c110 Fix and updateNodeOnScreen 2024-03-11 17:59:18 -03:00
igorrCarvalho
0484a193b1 Merge branch 'zustand/io/migration' of github.com:logspace-ai/langflow into zustand/io/migration 2024-03-11 17:34:14 -03:00
igorrCarvalho
6a763993c1 Refactor: Make error alert display above modals 2024-03-11 17:32:57 -03:00
Gabriel Luiz Freitas Almeida
bcab53818e Refactor API endpoints and schemas 2024-03-11 16:51:08 -03:00
Gabriel Luiz Freitas Almeida
230982161e Makes all vertices be considered for output retrieval 2024-03-11 16:41:25 -03:00
anovazzi1
603dba8a4a Refactor code to handle optional properties in GenericNode 2024-03-11 15:59:01 -03:00
Gabriel Luiz Freitas Almeida
fde57a3463 Add model_config to CustomComponentRequest schema 2024-03-11 15:17:00 -03:00
Gabriel Luiz Freitas Almeida
ef4b9f96e5 Refactor code for improved readability and maintainability 2024-03-11 14:27:23 -03:00
Gabriel Luiz Freitas Almeida
9802322ae9 Make update_build_config use always the latest version 2024-03-11 14:27:15 -03:00
igorrCarvalho
8c4ba096b1 Fix: Command icon in the wrong position 2024-03-10 22:37:21 -03:00
Gabriel Luiz Freitas Almeida
d8bd04edef Add lodash cloneDeep and useUpdateNodeInternals to GenericNode component, and updateNodeCode to CodeTabsComponent and CodeAreaModal components 2024-03-10 01:09:01 -03:00
Gabriel Luiz Freitas Almeida
cfbbddd95c Add native categories to constants.ts and update nodeToolbarComponent 2024-03-10 01:08:39 -03:00
Gabriel Luiz Freitas Almeida
d4313a05ce Refactor test_helper_components.py 2024-03-09 23:39:43 -03:00
Gabriel Luiz Freitas Almeida
4106118a84 Add UpdateRecordComponent to helpers package 2024-03-09 23:39:33 -03:00
Gabriel Luiz Freitas Almeida
ece2ce5bd7 Add helper component tests 2024-03-09 23:39:09 -03:00
Gabriel Luiz Freitas Almeida
67bccdc753
Refactor cache service and fix async issues (#1512) 2024-03-09 22:55:56 -03:00
Gabriel Luiz Freitas Almeida
23fe37326b Update alert messages for ChatOutput and Component in flow 2024-03-09 22:24:15 -03:00
Gabriel Luiz Freitas Almeida
1b0322d1e2 Remove commented out code in MenuBar component 2024-03-09 22:22:13 -03:00
Gabriel Luiz Freitas Almeida
2d4afc02ec Remove unused imports and variables in MenuBar component 2024-03-09 22:21:58 -03:00
Gabriel Luiz Freitas Almeida
1f62ff3280 Refactor menuBar and headerComponent to use "nodes" instead of "n" 2024-03-09 22:21:26 -03:00