Commit graph

6,888 commits

Author SHA1 Message Date
anovazzi1
d11719b66a
update an existing flow/component in the Store is now possible (#1189)
feat(API): add updateFlowStore function to update an existing flow in
the Store

feat(shareModal): add functionality to update a shared component or flow
2023-12-08 16:52:20 -03:00
anovazzi1
75e7f7ab46 Merge branch 'dev' into update_component 2023-12-08 16:49:05 -03:00
anovazzi1
b88968f859 feat(API): add updateFlowStore function to update an existing flow in the Store
feat(shareModal): add functionality to update a shared component or flow
2023-12-08 16:28:51 -03:00
cristhianzl
80c6f7cec6 fix(shareModal/index.tsx): fix conditional rendering of button text to display loader when loadingNames is true
feat(shareModal/index.tsx): add loader animation to button when loadingNames is true to provide visual feedback to the user
2023-12-08 16:05:14 -03:00
cristhianzl
79d7d4ad4b fix(shareModal/index.tsx): make handleShareComponent function asynchronous to ensure proper flow saving before saving flow store 2023-12-08 15:51:42 -03:00
cristhianzl
907c2d7606 Merge branch 'dev' of github.com:logspace-ai/langflow into dev 2023-12-08 15:49:42 -03:00
cristhianzl
3976bbe619 fix(shareModal/index.tsx): fix typo in variable name 'unavaliableNames' to 'unavailableNames' for better readability
feat(shareModal/index.tsx): add loading state for getting names from API to provide better user experience
2023-12-08 15:49:34 -03:00
anovazzi1
944722713d
Update component (#1188)
add endpoint to update component
2023-12-08 15:38:02 -03:00
cristhianzl
e511fa1bae refactor(EditFlowSettingsComponent): remove unused code for displaying "Name already in use" message
The code for displaying the "Name already in use" message in the EditFlowSettingsComponent has been removed as it is no longer needed.
2023-12-08 15:25:05 -03:00
cristhianzl
eaa4954059 fix(ui/tooltip.tsx): update tooltip class name to improve styling and animation
feat(modals/shareModal/index.tsx): add ConfirmationModal component for updating components and show confirmation dialog before updating
fix(types/components/index.ts): make index property optional in ConfirmationModalType
2023-12-08 15:18:59 -03:00
Gabriel Luiz Freitas Almeida
f45dfda656 Refactor store service imports 2023-12-07 18:28:08 -03:00
Gabriel Luiz Freitas Almeida
07d678042c Fix variable naming in
update_components_with_user_data function
2023-12-07 18:22:36 -03:00
Gabriel Luiz Freitas Almeida
3b13c78b5e Fix variable naming convention in StoreService 2023-12-07 18:22:16 -03:00
Gabriel Luiz Freitas Almeida
7caa4a6084 Add check_langflow_version function to validate
Langflow version
2023-12-07 18:21:56 -03:00
Gabriel Luiz Freitas Almeida
62697ac3a6 Refactor store API endpoints 2023-12-07 18:21:30 -03:00
Gabriel Luiz Freitas Almeida
67374445de Update shared component API endpoint 2023-12-07 18:19:11 -03:00
Gabriel Luiz Freitas Almeida
0d22a3864f Formatting 2023-12-07 17:29:29 -03:00
Gabriel Luiz Freitas Almeida
531be1e7ae Fix file path value retrieval in
get_file_path_value function
2023-12-07 17:28:54 -03:00
Cristhian Zanforlin Lousa
861de3ce4b
Feature/store (#1186) 2023-12-07 15:44:43 -03:00
cristhianzl
3584fab652 Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-12-07 15:42:34 -03:00
cristhianzl
9a92a291ca fix(parameterComponent): add data-testid attribute to textarea and input elements for easier testing
fix(GenericNode): add data-testid attribute to div element for easier testing
fix(textAreaComponent): add data-testid attribute to div element for easier testing
fix(EditNodeModal): add data-testid attribute to textarea element for easier testing
fix(genericModal): add data-testid attribute to span element for easier testing
fix(flowPage.spec): comment out unnecessary code
fix(keyPairListComponent.spec): add click event to div element for easier testing
fix(nestedComponent.spec): comment out unnecessary code
fix(promptModalComponent.spec): comment out unnecessary code
fix(inputComponent.spec): add click event to div element for easier testing
fix(toggleComponent.spec): add click event to div element for easier testing
2023-12-07 15:42:26 -03:00
Gabriel Luiz Freitas Almeida
6fb475353a
Update version to 0.6.0rc1 (#1185) 2023-12-07 15:32:15 -03:00
Gabriel Luiz Freitas Almeida
a32917a9dc Update version to 0.6.0rc1 2023-12-07 15:30:36 -03:00
anovazzi1
dba61a761d
Full integration with the new feature Store (#1180)
Full integration with the new feature Store
2023-12-07 15:28:22 -03:00
Gabriel Luiz Freitas Almeida
77aea4d1a9 Refactor code formatting and add version display
option
2023-12-07 14:55:51 -03:00
anovazzi1
441247d63b fix(extraSidebarComponent): update useEffect dependency array to include 'data' variable to ensure proper re-rendering when 'data' changes 2023-12-07 11:08:33 -03:00
Gabriel Luiz Freitas Almeida
8be28c947f Import typing module and update default imports 2023-12-07 10:51:22 -03:00
Gabriel Luiz Freitas Almeida
5914381e84 Fix plugin loading issue 2023-12-07 09:59:29 -03:00
cristhianzl
09bd8cb009 Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-12-06 20:07:05 -03:00
cristhianzl
08522720dc fix(keypairListComponent): add data-testid attribute to input elements for better testability
fix(codeAreaModalComponent.spec): remove unnecessary click action
fix(floatComponent.spec): remove unnecessary click action
fix(intComponent.spec): remove unnecessary click action
fix(keyPairListComponent.spec): remove unnecessary click action
fix(promptModalComponent.spec): remove unnecessary comments and unused code
2023-12-06 20:06:47 -03:00
Gabriel Luiz Freitas Almeida
15ad1226ea Add asynccontextmanager to lifespan function 2023-12-06 20:00:36 -03:00
Gabriel Luiz Freitas Almeida
fc44c3e195 Refactor plugin loading logic 2023-12-06 19:04:11 -03:00
Gabriel Luiz Freitas Almeida
0d8c1bc6df Fix Langfuse import and update LangfuseInstance 2023-12-06 19:04:05 -03:00
Lucas Oliveira
7e71bec7e4 Fixed minimize not working 2023-12-06 18:23:06 -03:00
Gabriel Luiz Freitas Almeida
ab89001a44 Fix WebSocket close reason truncation 2023-12-06 14:43:09 -03:00
Gabriel Luiz Freitas Almeida
a65e3383de Refactor import statements and update
cache_service usage
2023-12-06 14:43:02 -03:00
Gabriel Luiz Freitas Almeida
fc61d6ffb8 Update utils.py with file path safety check 2023-12-06 12:01:19 -03:00
Gabriel Luiz Freitas Almeida
cfe817506b Fix import error in LangfusePlugin 2023-12-06 11:25:12 -03:00
Gabriel Luiz Freitas Almeida
d10261b665 Add CallbackPlugin to BasePlugin hierarchy 2023-12-06 11:22:12 -03:00
Gabriel Luiz Freitas Almeida
26f84aa885 Refactor langfuse plugin and add get_callback
method
2023-12-06 11:05:23 -03:00
Gabriel Luiz Freitas Almeida
f2389023ae Add get_callback method to BasePlugin 2023-12-06 11:05:16 -03:00
Gabriel Luiz Freitas Almeida
667e7c42ff Refactor callback handling in base.py 2023-12-06 11:05:11 -03:00
Gabriel Luiz Freitas Almeida
3dfcaee755 Add get_callbacks method to PluginService 2023-12-06 11:05:00 -03:00
Gabriel Luiz Freitas Almeida
5eaebc4089 Refactor service dependencies and imports 2023-12-06 10:44:23 -03:00
Gabriel Luiz Freitas Almeida
5bbb343681 Refactor PluginService to use type hints for
plugins
2023-12-06 10:44:06 -03:00
Gabriel Luiz Freitas Almeida
d3599eb15b Fix import formatting in API files 2023-12-06 10:43:53 -03:00
Gabriel Luiz Freitas Almeida
419674ee55 Refactor langflow/processing/base.py 2023-12-06 10:06:17 -03:00
Gabriel Luiz Freitas Almeida
f66786f974 Fix import order in ServiceManager 2023-12-06 10:03:42 -03:00
Gabriel Luiz Freitas Almeida
21bc67f02d Merge branch 'feature/store' into plugin_service 2023-12-06 10:03:21 -03:00
Lucas Oliveira
f6320d6ef0 formatting 2023-12-05 19:48:44 -03:00