Lucas Oliveira
82ef6bc72a
Fixed state handling of Prompt Component, undo working
2023-12-09 00:33:51 -03:00
Lucas Oliveira
fb3c1df882
added is_component field to allow store component overwrite
2023-12-08 23:28:25 -03:00
Lucas Oliveira
47ba7bbc6a
Change onMove to set tabs state
2023-12-08 23:23:41 -03:00
cristhianzl
2ecadca58f
fix(components): fix loading screen logic and add delay to improve user experience
...
The loading screen was not working correctly due to incorrect logic. The variable `loadingScreen` was not being properly set to `false` when the data was loaded. This has been fixed by changing the condition in the JSX code from `isLoading` to `loadingScreen`.
Additionally, a delay of 600 milliseconds has been added to the loading screen using the `useEffect` hook. This delay gives the user a better visual experience by showing the loading screen for a short period of time before displaying the data.
These changes improve the user experience by providing a more accurate loading screen and a smoother transition when loading data.
2023-12-08 19:59:29 -03:00
cristhianzl
c6eb90c00c
fix(GenericNode/index.tsx): import alertContext from correct file path to fix compilation error
...
feat(alertContext.tsx): add modalContextOpen state and setModalContextOpen function to manage modal context open state
fix(genericModal/index.tsx): add useEffect to update modalContextOpen state when modalOpen prop changes
feat(typesContext/index.ts): add modalContextOpen state and setModalContextOpen function to typesContext
2023-12-08 19:45:25 -03:00
Lucas Oliveira
8e4c701ff3
Save Flow - update name and description for actual flow too
2023-12-08 19:19:54 -03:00
Lucas Oliveira
6bb94faeb4
Merge branch 'bug/minimize_handle' into dev
2023-12-08 19:14:06 -03:00
Lucas Oliveira
d6ea72cbea
Fixed Flows state not being updated always
2023-12-08 19:10:32 -03:00
cristhianzl
6470a46008
refactor(flowsContext.tsx): remove unnecessary console.log statement
...
The console.log statement was removed as it was not providing any useful information and was cluttering the code.
2023-12-08 18:25:24 -03:00
cristhianzl
37f434426f
feat(API): add updateFlowStore function to update an existing flow in the Store
...
fix(shareModal): fix handleShareComponent function to update a component instead of sharing it
2023-12-08 18:18:02 -03:00
cristhianzl
1f81f1a057
fix(flowsContext.tsx): remove unnecessary console.log statement
...
fix(shareModal/index.tsx): remove unused state variable and update saveFlow function call to use flow variable instead of finding flow by id
2023-12-08 18:17:06 -03:00
Lucas Oliveira
154d77b579
Removed unused console log
2023-12-08 17:11:02 -03:00
Lucas Oliveira
02f68b63a0
Added check when is_component equals null
2023-12-08 17:09:43 -03:00
Lucas Oliveira
5b2ad174f3
Merge remote-tracking branch 'origin/dev' into bug/minimize_handle
2023-12-08 17:01:57 -03:00
Lucas Oliveira
f83a8568a0
Removed minimize transition to fix handle position
2023-12-08 16:57:56 -03:00
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
Lucas Oliveira
d3e6a27d88
Fixed name of component and flow not being the same
2023-12-08 16:43:07 -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