Commit graph

6,595 commits

Author SHA1 Message Date
Gabriel Luiz Freitas Almeida
d0060fb8b4 Fix Redis port mapping 2023-11-28 14:34:25 -03:00
Gabriel Luiz Freitas Almeida
8d4c4a5a47 Update poetry version to 1.7.1 2023-11-28 14:34:02 -03:00
Lucas Oliveira
2fec0ffea0 Fixed bug of uploading 2023-11-28 14:21:40 -03:00
Lucas Oliveira
d56093fa80 Added placeholder 2023-11-28 14:19:30 -03:00
Gabriel Luiz Freitas Almeida
5b4d0c62c8 Merge branch 'better_graph' into feature/store 2023-11-27 22:59:41 -03:00
igorrCarvalho
5889a295d3 Refactor: Change Saved Components name to Saved 2023-11-27 22:32:13 -03:00
Gabriel Luiz Freitas Almeida
5ad879bd9b Fix inconsistencies in test cases 2023-11-27 21:51:31 -03:00
Gabriel Luiz Freitas Almeida
3ac18c8256 Fix import statement in validate.py 2023-11-27 21:51:21 -03:00
Gabriel Luiz Freitas Almeida
2c79494d8b Fix get_root_node function to use vertices instead
of nodes
2023-11-27 21:51:16 -03:00
Gabriel Luiz Freitas Almeida
5c90a9013c Fix user_id attribute in list_flows method 2023-11-27 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
e9871976ef Fix user_id immutability issue 2023-11-27 21:51:06 -03:00
Gabriel Luiz Freitas Almeida
73e0cdba16 Refactor API endpoints and reload custom component 2023-11-27 21:51:01 -03:00
Gabriel Luiz Freitas Almeida
c8d8449029 Refactor API imports and variable names 2023-11-27 21:50:55 -03:00
Gabriel Luiz Freitas Almeida
1facfefb19 🐛 fix(types.py): pass graph parameter to Vertex constructors to fix missing graph reference
 feat(types.py): add support for passing graph parameter to Vertex constructors to ensure proper graph reference
2023-11-27 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
3d20c8dc38 refactor: removes most of the circular dependencies in the Graph 2023-11-27 21:50:38 -03:00
igorrCarvalho
fa627eea03 Fix: bug on disabled share when there is no api key 2023-11-27 21:28:33 -03:00
anovazzi1
31f89283b4 fix(extraSidebarComponent): add validApiKey to the dependency array of ModalMemo to update the disabled state of the Share button based on validApiKey value
fix(extraSidebarComponent): update the disabled state of the Share button to also consider validApiKey value
fix(nodeToolbarComponent): add validApiKey to the dependency array of ModalMemo to update the disabled state of the Share SelectItem based on validApiKey value
fix(nodeToolbarComponent): update the disabled state of the Share SelectItem to also consider validApiKey value
fix(applies.css): remove unnecessary whitespace in the class definition of extra-side-bar-buttons
2023-11-27 18:43:57 -03:00
Gabriel Luiz Freitas Almeida
81279853a0 Refactor Graph class to use __getstate__ and
__setstate__ methods
2023-11-27 18:30:21 -03:00
anovazzi1
6877fdbdc7 fix(StorePage): disable "Created By Me" and "Liked By Me" options in the select dropdown when hasApiKey is false to prevent unauthorized access to certain features 2023-11-27 17:50:02 -03:00
anovazzi1
821380f1a0 fix(EditNodeModal): remove unnecessary "overflow-hidden" class from modal box when nodeLength is not greater than limitScrollFieldsModal to prevent unnecessary scrolling 2023-11-27 17:25:46 -03:00
Gabriel Luiz Freitas Almeida
c0ca8bbd04 Remove unnecessary code in test_setup_superuser.py 2023-11-27 17:15:44 -03:00
Gabriel Luiz Freitas Almeida
86ea5fe825 Refactor API key module 2023-11-27 17:15:43 -03:00
anovazzi1
f0652176c3 fix(dropdownComponent): fix dropdown width issue when not using apiModal by adding w-full class to options container 2023-11-27 17:13:52 -03:00
Gabriel Luiz Freitas Almeida
3e7195978a Fix refresh field in TemplateFieldCreator 2023-11-27 16:59:24 -03:00
cristhianzl
ea5ddc0ed5 fix(components): fix dropdown component id attribute to include index for uniqueness
fix(components): fix dict component id attribute to include index for uniqueness
fix(components): fix code area component id attribute to include id for uniqueness
fix(modals): fix edit node modal dict component id attribute to include id for uniqueness
fix(modals): fix dict area modal save button data-testid attribute for testing
fix(pages): fix node toolbar component class name for more options button
fix(types): add id property to dropdown component type
fix(types): add id property to dict component type
feat(tests): add end-to-end test for dropdown component
feat(tests): add end-to-end test for dict component
feat(tests): add end-to-end test for node toolbar component
feat(tests): add end-to-end test for nested component
feat(tests): add input component test
feat(tests): add toggle component test
2023-11-27 16:29:43 -03:00
cristhianzl
77665da9c7 fix(keyPairListComponent.spec.ts): fix incorrect key and value in test case to ensure accurate testing 2023-11-27 09:38:14 -03:00
Gabriel Luiz Freitas Almeida
9772fee9b8 Update pyproject.toml with new dependency 2023-11-27 08:43:52 -03:00
Gabriel Luiz Freitas Almeida
f9d496c382 Refactor logger configuration 2023-11-24 17:07:41 -03:00
Gabriel Luiz Freitas Almeida
a16725b6c7 Fix custom component index function 2023-11-24 16:21:17 -03:00
Gabriel Luiz Freitas Almeida
90ee49225b Refactor build_field_config function to update
specific field in build_config
2023-11-24 16:21:02 -03:00
cristhianzl
d35ce3d48b fix(SanitizedHTMLWrapper): add data-testid attribute to the div element for testing purposes
fix(genericIconComponent): add data-testid attribute to the TargetIcon component for testing purposes

fix(promptComponent): add data-testid attribute to the span element for testing purposes

fix(textAreaComponent): add data-testid attribute to the IconComponent component for testing purposes

fix(genericModal): add data-testid attribute to the Textarea component and the input element for testing purposes

fix(types/components): add id property to IconComponentProps type

test(flowPage.spec): update click actions to use getByTestId method for testing purposes

test(intComponent.spec): update fill action to set a different value for testing purposes

test(promptModalComponent.spec): update click and fill actions to use getByTestId method for testing purposes
2023-11-24 16:03:33 -03:00
Gabriel Luiz Freitas Almeida
2e12e5369a Add import statement for time module 2023-11-24 15:13:56 -03:00
Gabriel Luiz Freitas Almeida
cbe9d30ae2 Refactor CredentialService to include a new method
for listing credentials
2023-11-24 15:12:55 -03:00
Gabriel Luiz Freitas Almeida
ef257c3f96 Add list_key_names property to CustomComponent 2023-11-24 15:12:25 -03:00
Gabriel Luiz Freitas Almeida
b9a526b72e Add foreign key constraint to Credential table 2023-11-24 15:11:52 -03:00
Gabriel Luiz Freitas Almeida
ca9b6be8cb Fix logger import duplication 2023-11-24 14:36:28 -03:00
igorrCarvalho
04a69bbf74 Refactor: Add showModalAdvanced to useEffect dependencies to prevent EditNodeModal not updating bug 2023-11-24 13:25:48 -03:00
Gabriel Luiz Freitas Almeida
b3ea99ece3 Refactor user model imports 2023-11-24 12:52:33 -03:00
Gabriel Luiz Freitas Almeida
42bd345162 Merge branch 'dynamic_field' into feature/store 2023-11-24 12:51:41 -03:00
Gabriel Luiz Freitas Almeida
3cbb58e6e1 Add check for existing credential name in
create_credential
2023-11-24 12:47:12 -03:00
Gabriel Luiz Freitas Almeida
d61df94849 Add CredentialServiceFactory to utils.py 2023-11-24 12:47:11 -03:00
Gabriel Luiz Freitas Almeida
280b72adab Refactor frontend_node/base.py 2023-11-24 12:47:11 -03:00
Gabriel Luiz Freitas Almeida
eabafd4bab Refactor Credential model and update provider
field
2023-11-24 12:47:10 -03:00
Gabriel Luiz Freitas Almeida
2cc2fa3500 Update AcceptedProviders enum to CredentialType
enum
2023-11-24 12:47:10 -03:00
Gabriel Luiz Freitas Almeida
53a1aa57bc Fix user_id attribute modification in Component
class
2023-11-24 12:47:09 -03:00
Gabriel Luiz Freitas Almeida
26bc28b0e1 Reorder imports and fix import statements in
LLMChain.py
2023-11-24 12:47:09 -03:00
anovazzi1
5c3d064ad1 code format 2023-11-24 12:45:00 -03:00
anovazzi1
2438a8c658 fix(GenericNode/index.tsx): fix initial state of inputName to be false instead of true for better user experience
refactor(GenericNode/index.tsx): refactor tooltip div structure to improve readability and add pencil icon if node has flow
refactor(GenericNode/index.tsx): refactor color logic to use typesContext instead of accessing types directly
refactor(GenericNode/index.tsx): refactor output type title logic to use ternary operator for better readability
refactor(GenericNode/index.tsx): refactor validation status params rendering to use ternary operator for better readability
refactor(GenericNode/index.tsx): refactor generic node description rendering to use ternary operator for better readability
refactor(GenericNode/index.tsx): refactor template field rendering to use ternary operator for better readability
refactor(PageComponent/index.tsx): remove unnecessary empty line
2023-11-24 12:45:00 -03:00
Gabriel Luiz Freitas Almeida
2c6962b86d Fix user_id modification and add warning 2023-11-24 11:21:24 -03:00
Gabriel Luiz Freitas Almeida
c53775ddf9 Fix user_id modification in Component class 2023-11-24 11:19:25 -03:00