Commit graph

11,619 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
e3edc54d64 Refactor get_id_from_search_string function to convert UUID to string in service.py 2024-05-02 12:56:57 -03:00
cristhianzl
1df3fe7ad6 📝 (StringListInput.py): update parameter name from "param" to "input_value" to improve clarity and consistency
📝 (StringListOutput.py): update parameter name from "param" to "input_value" to improve clarity and consistency
📝 (index.tsx): add InputListComponent to handle StringListInput and StringListOutput components in IOFieldView
📝 (index.tsx): update InputListComponent props to include value, onChange, disabled, and playgroundDisabled
📝 (index.tsx): update IOFieldView to render InputListComponent for StringListInput and StringListOutput components
2024-05-02 11:39:41 -03:00
cristhianzl
aa3ea07c6a merge playground 2024-05-02 10:39:46 -03:00
Lucas Oliveira
0cee24dfbe Added error handling to allow ID to be searchable 2024-05-02 14:53:50 +02:00
Rodrigo Nader
08797ee592 Refactor TextOperatorComponent in TextOperator.py to improve code readability and maintainability 2024-05-01 22:37:26 -03:00
Mendon Kissling
7116f1c853 bold 2024-05-01 15:31:54 -04:00
Mendon Kissling
9228c1cfa0 relative-link 2024-05-01 15:24:11 -04:00
Mendon Kissling
0b71fabfd1 admonition-import 2024-05-01 15:22:05 -04:00
Mendon Kissling
206e4da1d5 hf-spaces-and-lightning-admonition 2024-05-01 15:21:15 -04:00
Mendon Kissling
069c9868d6 cleanup 2024-05-01 15:12:58 -04:00
Mendon Kissling
ae64bc4a2e huggingface-spaces 2024-05-01 14:30:49 -04:00
Mendon Kissling
fcacd86578 rodrigos-feedback 2024-05-01 13:15:48 -04:00
dependabot[bot]
48c740623d
Bump actions/upload-artifact from 2 to 4 (#1812)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:50 -03:00
dependabot[bot]
36c92e133f
Bump actions/download-artifact from 2 to 4 (#1811)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:40 -03:00
dependabot[bot]
0f37569c87
Bump actions/setup-node from 3 to 4 (#1810)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:29 -03:00
dependabot[bot]
46a5b882f8
Bump peaceiris/actions-gh-pages from 3 to 4 (#1813)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 12:34:05 -03:00
Gabriel Luiz Freitas Almeida
0dc5cff33e Add id search from search string 2024-05-01 11:41:51 -03:00
Gabriel Luiz Freitas Almeida
f9f1d9ba14 Bump version to 1.0.0a30 in pyproject.toml 2024-05-01 11:34:33 -03:00
igorrCarvalho
76f3b82412 Feat: User can customize all shortcuts 2024-05-01 01:38:28 -03:00
igorrCarvalho
c146a0c828 Fix merge 2024-05-01 01:22:02 -03:00
Lucas Oliveira
ee6faf5a90 Fixed gradient selector not appearing with autologin on 2024-05-01 05:17:49 +02:00
Lucas Oliveira
a551308297 Added playground button on Store card 2024-05-01 05:12:26 +02:00
igorrCarvalho
c37c78214f Merge feature/ui_table into shortcuts_settings 2024-04-30 22:15:28 -03:00
cristhianzl
595de1eae8 Merge branch 'feature/ui_table' of https://github.com/langflow-ai/langflow into feature/ui_table 2024-04-30 22:01:33 -03:00
cristhianzl
4726341ec8 📝 (inputGlobalComponent/index.tsx): remove unnecessary console.log statement 2024-04-30 22:01:29 -03:00
Lucas Oliveira
fe8fc5bd32 Fixed bug of clicking on IO Modal 2024-05-01 02:04:54 +02:00
igorrCarvalho
86fe906626 Feat: User can change the node shortcuts 2024-04-30 20:54:48 -03:00
anovazzi1
c63b949a44 update playground icon 2024-04-30 20:19:01 -03:00
igorrCarvalho
edb2ff4034 Fix: resolve merge conflicts 2024-04-30 20:00:54 -03:00
igorrCarvalho
bc3d32b9ed Merge node-shortcuts-refactor into shortcuts_settings 2024-04-30 19:58:48 -03:00
igorrCarvalho
604e579bed Feat: User can edit his keys combination for each shortcut 2024-04-30 19:56:35 -03:00
anovazzi1
38d1e37023 Refactor component styles and icons 2024-04-30 19:14:49 -03:00
anovazzi1
2295754942 Refactor component styles and icons 2024-04-30 19:10:19 -03:00
anovazzi1
341b2cb778 Update component names in ShortcutsPage 2024-04-30 18:45:20 -03:00
anovazzi1
b054b4e427 🐛 (inputGlobalComponent/index.tsx): Fix condition to include disabled check in if statement 2024-04-30 18:42:47 -03:00
anovazzi1
093384fcb7 Update component names and shortcuts in ShortcutsPage 2024-04-30 18:37:12 -03:00
Sam Arbid
5d0b6aa65c
Docs: Correct Formatting and Syntax (#1803)
docs: fix typo
2024-04-30 18:36:03 -03:00
cristhianzl
b8b978431d 📝 (inputComponent/index.tsx): improve code readability by formatting if statement
📝 (inputComponent/index.tsx): improve code readability by formatting if statement
📝 (inputGlobalComponent/index.tsx): add delay before resetting input value and setting db flag to improve user experience
📝 (inputGlobalComponent/index.tsx): add delay before resetting input value and setting db flag to improve user experience
📝 (inputGlobalComponent/index.tsx): add console.log for debugging purposes
📝 (inputGlobalComponent/index.tsx): improve code readability by formatting if statement
2024-04-30 17:56:12 -03:00
igorrCarvalho
0cad2e1978 Merge feature/ui_table into feature/ui_table 2024-04-30 17:11:06 -03:00
igorrCarvalho
2fa7df09dc Refactor: make global variables search input case insensitive 2024-04-30 17:09:03 -03:00
Cristhian Zanforlin Lousa
e65ae37175
add handle error on requests - global variables (#1808)
📝 (index.tsx): Remove unused import and update dependencies in
InputGlobalComponent
📝 (index.tsx): Add async/await to handleDelete function in
InputGlobalComponent
📝 (index.tsx): Add try/catch block to registerGlobalVariable function in
API controller
📝 (index.tsx): Add try/catch block to deleteGlobalVariable function in
API controller
📝 (index.tsx): Add try/catch block to updateGlobalVariable function in
API controller
📝 (index.tsx): Remove unused import and add deleteGlobalVariable import
in GlobalVariablesPage
📝 (index.tsx): Add setErrorData and getVariableId hooks to
GlobalVariablesPage
📝 (index.tsx): Add async/await to removeVariables function in
GlobalVariablesPage
📝 (globalVariables.ts): Remove unused import in globalVariables store
📝 (globalVariables.ts): Remove async/await from removeGlobalVariable
function in globalVariables store
2024-04-30 16:34:38 -03:00
Gabriel Luiz Freitas Almeida
95813de618
Fixes State management and first implementation of vertex inactivation (#1805)
* Refactor RoutingVertex class in types.py to include a new step in the steps list

* Refactor Graph class to update run_manager.run_predecessors when activating vertices

* Refactor ShouldRunNextComponent class in ShouldRunNext.py to improve error handling and readability

* Refactor error handling in get_lifespan function in main.py and fix mismatch between models and database in DatabaseService class in service.py

* Fix vertex inactivation

* Fix inactivation of vertices and update buildUtils

* Refactor ShouldRunNextComponent class to improve error handling and readability

* Refactor langflow.graph.vertex.types imports in base.py

* Fix nullable constraint in langflow migration script

* Fix condition check in ShouldRunNextComponent class

* Refactor build_graph_maps function in base.py to accept optional parameters for edges and vertices

* Apply grayscale effect to ring-muted-foreground in applies.css

* Apply grayscale effect to ring-muted-foreground in applies.css
2024-04-30 16:33:53 -03:00
Lucas Oliveira
ee6aa0c6dd
Fixed glitches that don't affect usability (#1800)
* Fixed bug of main page showing Empty page before showing components

* Added timeout to generic icon lazy loading

* Create an abort signal for the program to not fetch twice at the beginning

* Removed global variables functionality at tweaks
2024-04-30 16:33:30 -03:00
anovazzi1
21342d0d0b Merge branch 'feature/ui_table' of personal:logspace-ai/langflow into feature/ui_table 2024-04-30 15:47:56 -03:00
anovazzi1
e82d8f4826 Update InputGlobalComponent to handle unavaliableFields in useGlobalVariablesStore 2024-04-30 15:47:52 -03:00
Gabriel Luiz Freitas Almeida
4bbba570fe Fix validation for empty variable name and value in create_variable function 2024-04-30 15:18:36 -03:00
cristhianzl
edc0d79c28 (inputGlobalComponent/index.tsx): add useEffect hook to handle unavailable fields in the input component
🐛 (inputGlobalComponent/index.tsx): fix typo in the variable name 'unavailableFields'
2024-04-30 15:12:40 -03:00
anovazzi1
6261c71e01 Update InputGlobalComponent to handle unavaliableFields in useGlobalVariablesStore 2024-04-30 15:11:26 -03:00
cristhianzl
2326ae9a0f 📝 (1f4d6df60295_add_default_fields_column.py): remove unused variable table_names to improve code readability
📝 (1f4d6df60295_add_default_fields_column.py): remove unused variable `table_names` to improve code readability
 (c153816fd85f_set_name_and_value_to_not_nullable.py): add migration to set `name` and `value` columns in the `variable` table to be not nullable
📝 (AzureOpenAIModel.py): remove unused import `BaseLanguageModel` from `langchain.llms.base`
📝 (ChatLiteLLMModel.py): remove unused import `BaseLanguageModel` from `langflow.field_typing`
📝 (schema.py): remove unused import `BaseMessage` from `langchain_core.messages`
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required and remove `Optional` type
♻️ (model.py): change `name` and `value` fields in `VariableBase` model to be required

📝 (App.tsx): Remove unused import statement
♻️ (App.tsx): Refactor code to use destructuring assignment for imported functions
♻️ (App.tsx): Refactor code to use arrow function syntax for event handlers
♻️ (App.tsx): Refactor code to use template literals for console log message
📝 (addNewVariableButton.tsx): Remove unused import statement
♻️ (addNewVariableButton.tsx): Refactor code to use destructuring assignment for imported functions
♻️ (addNewVariableButton.tsx): Refactor code to use arrow function syntax for event handlers
♻️ (addNewVariableButton.tsx): Refactor code to use template literals for console log message
♻️ (dropdownComponent/index.tsx): Refactor code to use destructuring assignment for useRef
♻️ (dropdownComponent/index.tsx): Refactor code to use ternary operator for PopoverContentDropdown
♻️ (dropdownComponent/index.tsx): Refactor code to use template literals for style property
♻️ (index.ts): Refactor code to use destructuring assignment for imported functions
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters
♻️ (index.ts): Refactor code to use template literals for URL
♻️ (index.ts): Refactor code to use destructuring assignment for function parameters

📝 (index.tsx): update CardDescription in ShortcutsPage to improve code readability and remove unnecessary line break
📝 (routes.tsx): remove unused import of ProfileSettingsPage in routes.tsx
♻️ (flowsManagerStore.ts): refactor useFlowsManagerStore to improve code readability and maintainability by extracting common code into a separate function
♻️ (globalVariables.ts): refactor useGlobalVariablesStore to improve code readability and maintainability by removing unused code and using object instead of Set for unavaliableFields
♻️ (typesStore.ts): refactor useTypesStore to improve code readability and maintainability by removing unused imports and formatting code
♻️ (globalVariables/index.ts): refactor GlobalVariablesStore to use object instead of Set for unavaliableFields
♻️ (reactflowUtils.ts): refactor extractFieldsFromComponenents to improve code readability and maintainability by using object instead of Set for fields

 (utils.ts): add new function getUnavailableFields to retrieve unavailable fields from variables object
📝 (utils.ts): add comments to explain the purpose of the upperCaseWords and checkUpperWords functions
2024-04-30 15:10:04 -03:00
anovazzi1
ec490a78a8 update UnavaliableFields structure 2024-04-30 14:56:51 -03:00