Commit graph

2,680 commits

Author SHA1 Message Date
Lucas Oliveira
596ea19e5c Fixed undo not working on node 2023-11-29 14:12:32 -03:00
Lucas Oliveira
5e3bdfbb24 fixed parameterComponent with the new state management 2023-11-29 14:04:16 -03:00
Lucas Oliveira
ab57b14c52 Fixed className not appearing 2023-11-29 14:02:41 -03:00
Lucas Oliveira
9ed9a9dd49 Fixed icon not colorful on nodes 2023-11-29 14:01:26 -03:00
Lucas Oliveira
7638ee9547 Fixed updated component not being saved 2023-11-29 13:48:33 -03:00
Lucas Oliveira
0857d1f665 Fixed not being able to copy notifications text 2023-11-29 13:44:16 -03:00
Gabriel Luiz Freitas Almeida
7700a72506 Remove backward compatibility code for suffixes in
InputFileComponent
2023-11-29 12:48:03 -03:00
anovazzi1
0f9827564e refactor(parameterComponent): remove unused 'suffixes' prop from ParameterComponent
refactor(codeTabsComponent): remove unused 'suffixes' prop from CodeTabsComponent
refactor(inputFileComponent): remove unused 'suffixes' prop from InputFileComponent
refactor(editNodeModal): remove unused 'suffixes' prop from EditNodeModal
refactor(types): remove unused 'suffixes' prop from FileComponentType
2023-11-29 10:12:40 -03:00
Gabriel Luiz Freitas Almeida
9735fa2abe Fix backward compatibility issue with suffixes in
InputFileComponent
2023-11-29 10:12:24 -03:00
cristhianzl
20a99ed418 chore(tagsSelectorComponent): add useContext hook to import statement to use darkContext
chore(tagsSelectorComponent): add darkContext to useContext hook to access dark mode state
chore(tagsSelectorComponent): add className conditionally based on dark mode state to fade-container div
chore(shareModal): change initial state of checked variable to false
chore(shareModal): add saveFlow function to useContext hook to access saveFlow function from FlowsContext
chore(shareModal): add saveFlow function call to saveFlowStore function call to save flow data to store
chore(shareModal): add saveFlow function call to addFlow function call to add flow to FlowsContext
chore(shareModal): set checked variable to false when sharePublic state changes
chore(shareModal): disable save with my API keys checkbox when sharePublic is true
chore(shareModal): add warning message about deselecting save with my API keys checkbox
chore(components): add resetFilter function to reset filter state variables and set allData to original flows data
chore(components): call resetFilter function when flow is deleted to reset filter state variables and set allData to original flows data
chore(applies.css): rearrange classes in community-page-arrangement to match order of properties
chore(applies.css): add fade-container-dark class to handle dark mode for fade-container div
chore(applies.css): add linear gradient background color for fade-container-dark class to handle dark mode
2023-11-29 10:04:10 -03:00
Gabriel Luiz Freitas Almeida
44b0ca9a15 Fix formatting issues and add missing semicolons 2023-11-28 23:08:26 -03:00
Gabriel Luiz Freitas Almeida
343f3992f8 Add template parameter to postCustomComponent
function
2023-11-28 23:00:06 -03:00
Lucas Oliveira
b7e70d3511 Fixed nodes being minimized by default 2023-11-28 20:40:35 -03:00
Lucas Oliveira
857fa403a1 Added takeSnapshot on ungroup and show and hide node 2023-11-28 20:36:47 -03:00
Lucas Oliveira
733e6945c6 Fixed unnecessary updates 2023-11-28 20:31:27 -03:00
Lucas Oliveira
082ea5282f Merge branch 'feature/store' into bug/undo-copy 2023-11-28 19:51:53 -03:00
Lucas Oliveira
db18d98325 Fixed confirmation modal 2023-11-28 19:45:55 -03:00
igorrCarvalho
1f18b20c90 Feat: Add new CustomComponent icon and gradient to Group icon 2023-11-28 19:41:29 -03:00
Lucas Oliveira
55dc19d1ab Fixed flows not being able to upload 2023-11-28 19:22:31 -03:00
igorrCarvalho
a59399bac6 Refactor: Change group Icon 2023-11-28 19:03:57 -03:00
igorrCarvalho
11a89b4793 Refactor: make group animation better 2023-11-28 19:00:54 -03:00
igorrCarvalho
96fc1550fc Refactor: make Custom appear as second section on sideBar 2023-11-28 18:48:34 -03:00
igorrCarvalho
a9c5ada45f Refactor: make not selected header button brighter 2023-11-28 18:33:51 -03:00
igorrCarvalho
9b41432c96 Refactor: Make Store Icon on sideBar icon with same animated gradient like CustomComponents icon 2023-11-28 17:05:04 -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
Lucas Oliveira
ee3209b579 Fixed filter edge and added debug consoles 2023-11-28 11:05:19 -03:00
Lucas Oliveira
7ee1ad03f4 Merge remote-tracking branch 'origin/feature/store' into bug/undo-copy 2023-11-28 10:59:04 -03:00
igorrCarvalho
5889a295d3 Refactor: Change Saved Components name to Saved 2023-11-27 22:32:13 -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
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
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
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
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
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
42bd345162 Merge branch 'dynamic_field' into feature/store 2023-11-24 12:51:41 -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
cristhianzl
4f1d0b4683 fix(keypairListComponent): update input ids to include "editNode" prefix when editNode prop is true
fix(genericModal): add data-testid to save button for easier testing
fix(sideBarDraggableComponent): add data-testid to div element for easier testing
fix(nodeToolbarComponent): add empty fragment as ConfirmationModal.Trigger to fix warning
fix(types): add editNodeModal property to KeyPairListComponentType
fix(codeAreaModalComponent.spec): update locator for Python Function Tool
fix(floatComponent.spec): update locator for Python Function Tool
fix(intComponent.spec): update locator for GET Request Tool
fix(keyPairListComponent.spec): update locator for CSV Loader Tool
fix(promptModalComponent.spec): update locator for Prompt Template Tool
2023-11-24 11:06:57 -03:00
igorrCarvalho
7e4dd16881 Feat: Add option to replace saved component or create a new one using confirmation modal 2023-11-23 22:06:07 -03:00
anovazzi1
037f7f5b1b refactor for field types 2023-11-23 21:33:30 -03:00
cristhianzl
9e653f2bdc Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store 2023-11-23 18:41:25 -03:00
anovazzi1
8e47e7c9d7 fix(PageComponent): change position calculation to use screenToFlowPosition instead of project to fix incorrect node creation position 2023-11-23 18:41:13 -03:00
anovazzi1
0e078efee0 fix(shareModal): add support for disabled prop to prevent opening the modal when disabled
fix(extraSidebarComponent): pass disabled prop to ShareModal based on hasApiKey value to disable sharing when no API key is available
2023-11-23 18:28:07 -03:00
anovazzi1
bd74a16e47 fix(extraSidebarComponent): change variable name from hasApiKey to hasApiKey for consistency
fix(nodeToolbarComponent): add condition to show Share option only if `hasApiKey` is true
2023-11-23 17:39:28 -03:00
anovazzi1
61ad880990 fix(shareModal/index.tsx): add conditional check for hasApiKey before calling handleGetTags and handleGetNames to prevent unnecessary API calls when there is no API key available 2023-11-23 17:22:43 -03:00
anovazzi1
b60fd7f04d fix(sideBarDraggableComponent): fix indentation and closing tag placement for IconComponent in SidebarDraggableComponent 2023-11-23 16:55:15 -03:00
anovazzi1
9db5f90acf fix(extraSidebarComponent): sort the keys in dataFilter object with a custom sorting function to prioritize "saved_components" key 2023-11-23 16:38:54 -03:00