* Refactor import paths for `get_patched_openai_client` in astra_assistants components
* Enhance error logging with file information in directory_reader.py
* Refactor MetaphorToolkit to use new input/output structure and update imports
* Enhance error message with code snippet preview in class validation function
* update import statements and refactoring input handling in JSON files.
* [autofix.ci] apply automated fixes
* Remove unused import of 'Tool' from Metaphor.py
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Add 'type', 'description', and 'default' fields to Table schema and enhance formatter validation
* Add type-based mapping to formatter validator in table schema
* Add default value support for new table rows in TableNodeComponent
* Add optional 'description' and 'default' fields to ColumnField interface
* Add default value inference for table columns in utils.ts
- Initialize 'default' property for table columns to null.
- Infer default value from the first row of data if available.
- Adjust column formatter determination based on sample value.
* Add default table input validation and update formatter logic in Column model
* Add unit tests for Column class in table schema module
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
📝 (model.py): Add field serializers to truncate long strings in outputs, data, and artifacts fields for better data handling and readability.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* update
Autogenerated code for alembic update
run alembic revision --autogenerate
* updated script
run alembic revision --autogenerate -m
* Update e4aaf16201c2_update_description_columns_type_errors.py
updated the reviews and checks if the table exists or not.
* update
Autogenerated code for alembic update
run alembic revision --autogenerate
* updated script
run alembic revision --autogenerate -m
* Update e4aaf16201c2_update_description_columns_type_errors.py
updated the reviews and checks if the table exists or not.
* replace revision
* Delete e4aaf16201c2_update_description_columns_type_errors.py
* Update 5ace73a7f223_new_remove_table_upgrade_op.py
making relevant change to remove vertex_build related upgrades and downgrades.
---------
Co-authored-by: Jordan Frazier <jordan.frazier@datastax.com>
* fix: refactoring Merge Data component to properly mesrge different Data objects
* fix: refactoring Merge Data component to properly mesrge different Data objects
* fix: refactoring MergeData active component
* refactor: update dynamic parameter in ParameterRenderComponent to false
* refactor: update CodeAreaComponent to use CodeAreaModal for node toolbar
* feat: Add EmptyParameterComponent to render empty parameters
* refactor: Add types for parameter render component
Add typescript types for the parameter render component to improve code readability and maintainability.
* feat: Add EmptyParameterComponent to render empty parameters
* refactor: Update RefreshParameterComponent to use InputProps
Update the RefreshParameterComponent to use the InputProps interface for better code readability and maintainability.
* refactor: Update InputProps in parameterRenderComponent/types.ts
Update the InputProps interface in parameterRenderComponent/types.ts to remove the Partial<OptionalInputProps> and simplify the composition of input props. This improves code readability and maintainability.
* refactor: Update InputProps in parameterRenderComponent/types.ts
* refactor: Update parameterRenderComponent/types.ts to use handleOnNewValue instead of onChange
Update the parameterRenderComponent/types.ts file to import the handleOnNewValueType from "@/CustomNodes/hooks/use-handle-new-value" and replace the onChange function with handleOnNewValue in the BaseInputProps interface. This change improves code readability and maintainability.
* update folder structure
* refactor: Update TableModal to support disabled state
Update the TableModal component to include a disabled prop, allowing the modal to be disabled when necessary. This improves the flexibility and usability of the component.
* refactor: Update parameterRenderComponent/types.ts to include TableComponentType
Update the parameterRenderComponent/types.ts file to include the TableComponentType interface, which defines the structure for a table component. This change improves code organization and maintainability.
* refactor: Update parameterRenderComponent to use TableNodeComponent from the correct folder
* refactor: Update codeAreaComponent imports and props in parameterRenderComponent
Update the imports and props in the parameterRenderComponent file to reflect the changes made in the codeAreaComponent file. This refactor improves code organization and maintainability.
* refactor: Update parameterRenderComponent/types.ts to include CodeAreaComponentType
Update the parameterRenderComponent/types.ts file to include the CodeAreaComponentType interface, which defines the structure for a code area component. This change improves code organization and maintainability.
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
Remove the unused import of CodeAreaComponent in the nodeToolbarComponent file to improve code cleanliness and maintainability.
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
* refactor: Remove unused import of CodeAreaComponent in nodeToolbarComponent
* refactor: Remove unused import of CodeAreaComponent in codeAreaComponent/index.tsx
* refactor: Remove unused import of CodeAreaComponent in parameterRenderComponent/index.tsx
* refactor: Update floatComponent imports and props in parameterRenderComponent
Update the imports and props in the parameterRenderComponent file to reflect the changes made in the floatComponent file. This refactor improves code organization and maintainability.
* refactor: Update floatComponent imports and props in parameterRenderComponent
* update int component path
* update int component type
* update toogle location
* refactor: Update ToggleComponentType in components/index.ts
Remove the ToggleComponentType interface from the components/index.ts file. This change is part of a refactoring effort to remove unused code and improve code organization.
* refactor: Update ToggleComponentType in components/index.ts
Remove unused ToggleComponentType interface from components/index.ts
* refactor: Update ToggleShadComponent to handle new value changes
Refactor the ToggleShadComponent to handle new value changes by passing the updated value to the handleOnNewValue function. This improves the functionality and maintainability of the component.
* refactor: Move InputFileComponent to parameterRenderComponent/components folder
Move the InputFileComponent file from the src/frontend/src/components folder to the src/frontend/src/components/parameterRenderComponent/components folder. This change improves code organization and maintainability.
* refactor: Add FileComponentType interface to parameterRenderComponent/types.ts
Add the FileComponentType interface to the parameterRenderComponent/types.ts file. This interface defines the fileTypes property for the FileComponentType, allowing for better type checking and documentation. This change improves code organization and maintainability.
* refactor: Update InputFileComponent props in parameterRenderComponent
Update the props of the InputFileComponent in the parameterRenderComponent file to match the changes made in the index.tsx file. This refactor improves code organization and maintainability.
* refactor: Move PromptAreaComponent to parameterRenderComponent/components folder
* update types prompt field
* refactor: Update PromptAreaComponent to handle new value changes
Refactor the PromptAreaComponent to handle new value changes by passing the updated value to the handleOnNewValue function. This improves the functionality and maintainability of the component.
* refactor: Move LinkComponent to parameterRenderComponent/components folder
* refactor: Add LinkComponentType interface to parameterRenderComponent/types.ts
Add the LinkComponentType interface to the parameterRenderComponent/types.ts file. This interface defines the icon and text properties for the LinkComponentType, allowing for better type checking and documentation. This change improves code organization and maintainability.
* refactor: Update LinkComponent to use InputProps in parameterRenderComponent
Update the LinkComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move KeypairListComponent to parameterRenderComponent/components folder
* refactor: Add KeyPairListComponentType interface to parameterRenderComponent/types.ts
* refactor: Update KeypairListComponent to use InputProps in parameterRenderComponent
Refactor the KeypairListComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move DictComponent to parameterRenderComponent/components folder
* refactor: Update KeyPairListComponentType interface in parameterRenderComponent/types.ts
* refactor: Update KeypairListComponent to use InputProps in parameterRenderComponent
* refactor: Move InputListComponent to parameterRenderComponent/components folder
Move the InputListComponent to the parameterRenderComponent/components folder for better code organization and maintainability.
* refactor: Add StrRenderComponentType interface to parameterRenderComponent/types.ts
* refactor: Move InputListComponent to parameterRenderComponent/components folder
* refactor: Move InputListComponent to parameterRenderComponent/components folder
* refactor: Move InputListComponent to parameterRenderComponent/components folder
Move the InputListComponent to the parameterRenderComponent/components folder for better code organization and maintainability.
* refactor: Update InputListComponent to use InputProps in parameterRenderComponent
Refactor the InputListComponent in parameterRenderComponent to use the InputProps interface for better type checking and consistency. This refactor improves code organization and maintainability.
* refactor: Move IOFieldView to IOModal/components folder
Move the IOFieldView component to the IOModal/components folder for better code organization and maintainability.
* refactor: Move DropdownComponent to parameterRenderComponent/components folder
* refactor: Add DropDownComponentType interface to parameterRenderComponent/types.ts
* refactor: Update DropdownComponent import in StrRenderComponent
Update the import statement for DropdownComponent in StrRenderComponent to reflect its new location in the parameterRenderComponent/components folder. This refactor improves code organization and maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Update StrRenderComponent to use TextAreaComponent from correct location
Update the import statement for TextAreaComponent in StrRenderComponent to reflect its new location in the parameterRenderComponent/components folder. This refactor improves code organization and maintainability.
* remove unused imports
* refactor: Add TextAreaComponentType interface to parameterRenderComponent/types.ts
* refactor: Update TextAreaComponent to use handleOnNewValue instead of onChange
Refactor the TextAreaComponent in parameterRenderComponent to use the handleOnNewValue function instead of the onChange function for better code consistency. This change aligns with the recent updates to the component's props and improves maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Move inputGlobalComponent to parameterRenderComponent/components folder
Move the inputGlobalComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move inputGlobalComponent to parameterRenderComponent/components folder
* refactor: Update InputGlobalComponent to use handleOnNewValue instead of onChange
Refactor the InputGlobalComponent in parameterRenderComponent to use the handleOnNewValue function instead of the onChange function for better code consistency. This change aligns with the recent updates to the component's props and improves maintainability.
* refactor: Update StrRenderComponent to use baseInputProps
Refactor the StrRenderComponent in parameterRenderComponent to use the baseInputProps object instead of individual props for better code organization and maintainability.
* refactor: Move multiselectComponent to parameterRenderComponent/components folder
Move the multiselectComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
Move the MultiselectComponent to the parameterRenderComponent/components folder to improve code organization and maintainability.
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
* refactor: Move MultiselectComponent to parameterRenderComponent/components folder
* refactor: Remove unused code in StrRenderComponent
* refactor: Remove unused code in StrRenderComponent
* refactor: Remove unused code in StrRenderComponent
* [autofix.ci] apply automated fixes
* ✨ (tableInputComponent.spec.ts): add ua-parser-js library to parse user agent information for better control handling based on OS
🔧 (tableInputComponent.spec.ts): update key press event to use the correct control key based on the user's operating system for textarea selection.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* fix: Update the columns that need to change their type to text
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Remove Poetry references from pyproject.toml and update project metadata
* Remove '--no-update' flag from 'uv lock' commands in Makefile
* Add script metadata with Python version and dependencies
* Remove Poetry references and integrate UV setup in CI workflow
* Remove Poetry setup and installation from integration tests workflow
* Remove Poetry references and update workflow to use custom setup action
* Remove references to Poetry from configuration files
* added a color change in cursor to help user find the cursor in the canvas page
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
* Add 'tags' column to 'flow' table and update models
- Added migration script to include 'tags' column in 'flow' table.
- Updated `Flow` model to include `tags` field.
- Introduced `Tags` enum in `schema.py` for predefined tag values.
* Update `tags` column to use JSON type in Flow model
* Add conditional checks for 'tags' column in Alembic migration script
* Make 'tags' field nullable in Flow model
* Add default value for 'tags' field in Flow model
* Update default values for 'tags' field in Flow model