* Refactor store_message function in chat.py and memory.py
* Refactor store_message function in chat.py and memory.py
* Add StoreMessageComponent to langflow components
* Refactor store_message function in chat.py and memory.py to require session_id, sender, and sender_name
* Refactor StoreMessageComponent to use Optional[str] for sender_name and session_id parameters
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
In our ongoing commitment to enhancing user experience and streamlining
data interaction, we are thrilled to introduce a trio of powerful IO
components: JSON Viewer, DictionaryIO, and InputListIO. These components
are meticulously crafted to empower developers with seamless data
handling capabilities, enabling efficient processing and visualization
of JSON data structures, dictionaries, and input lists.
📝 (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
📝 (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
📝 (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
* 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
* 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
📝 (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
📝 (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