Commit graph

2,712 commits

Author SHA1 Message Date
Lucas Oliveira
a632fc6bdb Added loading screen on reactflow 2023-12-04 15:32:35 -03:00
Lucas Oliveira
64ca2649fe Fixed group button with transparent background 2023-12-04 15:06:48 -03:00
Lucas Oliveira
395c0fe55a Fixed placeholder message 2023-12-04 15:00:09 -03:00
Lucas Oliveira
f964420a5e Added icons on sidebar 2023-12-04 14:52:31 -03:00
Lucas Oliveira
cc5a913cfd Updated to be on pair with store 2023-12-04 14:43:06 -03:00
anovazzi1
faea687871 feat(GenericNode): add priorityFields constant to improve sorting logic in GenericNode component
The `GenericNode` component in `index.tsx` has been updated to include an import statement for the `priorityFields` constant from `constants.ts`. This constant is a `Set` containing the field names "code" and "template".

In the `sort` function of the `GenericNode` component, the logic has been modified to check if a field name is present in the `priorityFields` set. If so, it gives higher priority to that field during sorting. This change improves the sorting logic in the component.

The `constants.ts` file has also been updated to include the `priorityFields` constant.
2023-12-04 14:28:07 -03:00
anovazzi1
a368991d39 fix(GenericNode): change icon name from "Ungroup" to "group_components" to match the corresponding icon component
fix(GradientSparkles): add new icon component "GradientUngroup" to render the "Ungroup" icon with gradient stroke
fix(ComponentsComponent): add TODO comment to create a placeholder for when there are no components created yet
fix(styleUtils): import and use the new "GradientUngroup" icon component for the "group_components" icon in nodeIconsLucide
2023-12-01 18:18:18 -03:00
anovazzi1
7d2e67ec77 refactor(flowsContext.tsx): remove file name from components before creating data URI
The `removeFileNameFromComponents` function is added to remove the file name from the components in the `clonedFlow` object before creating the data URI. This ensures that the file name is not included in the exported flow data.

refactor(genericModal/index.tsx): fix formatting of genericModalPropsType

The formatting of the `genericModalPropsType` interface is fixed to improve readability and maintain consistency with the codebase.
2023-12-01 17:23:46 -03:00
cristhianzl
c8c899d1ad fix(parameterComponent): import cloneDeep from lodash to fix missing import error
feat(parameterComponent): add support for process.env.PORT environment variable to be able to run app on a configurable port
fix(PageComponent): add conditional logic to fit the view based on the number of nodes in the flow
2023-12-01 16:44:37 -03:00
cristhianzl
7bfce4cd1d feat(StorePage): add resetPagination function to reset page index and page size when changing tabs 2023-11-30 17:38:54 -03:00
Lucas Oliveira
b8f8ec9c90 Fixed disabled not disabling text input 2023-11-30 17:33:47 -03:00
anovazzi1
67e520cfd6 fix(shareModal): import removeFileNameFromComponents function to fix compilation error
feat(shareModal): add logic to remove file names from flows before sharing to improve privacy and security
feat(reactflowUtils): add removeFileNameFromComponents function to recursively remove file names from flow components
2023-11-30 16:43:28 -03:00
anovazzi1
ab56d48002 fix(inputFileComponent): handle case when fileTypes prop is undefined to prevent error when checking file type
The checkFileType function in the InputFileComponent component now handles the case when the fileTypes prop is undefined. This prevents an error from occurring when checking the file type of the selected file.
2023-11-30 16:17:35 -03:00
anovazzi1
d26b6e36b2 fix(inputFileComponent): handle case when fileTypes is undefined to prevent error when joining the array 2023-11-30 16:16:17 -03:00
anovazzi1
ed47a20c3d fix(inputComponent): remove unnecessary console.log statement
fix(tagsSelectorComponent): reformat code for better readability
fix(styleUtils): remove unused import for GradientGroup from GradientSparkles icons
2023-11-30 15:15:44 -03:00
anovazzi1
14cd1b30fd fix(storeContext.tsx): set initial value of hasStore to false instead of true to fix incorrect initial state
fix(shareModal/index.tsx): import has function from lodash to fix missing import error
fix(shareModal/index.tsx): add hasStore to the list of dependencies in useEffect to fix missing dependency warning
fix(extraSidebarComponent/index.tsx): add hasStore to the list of dependencies in useEffect to fix missing dependency warning
fix(extraSidebarComponent/index.tsx): disable share button if hasStore is false to prevent sharing without a store
fix(extraSidebarComponent/index.tsx): disable share button in ShareModal if hasStore is false to prevent sharing without a store
fix(extraSidebarComponent/index.tsx): disable share button in ShareModal if hasStore is false to prevent sharing without a store
fix(nodeToolbarComponent/index.tsx): add hasStore to the list of dependencies to fix missing dependency warning
fix(nodeToolbarComponent/index.tsx): disable share option in SelectItem if hasStore is false to prevent sharing without a store
2023-11-30 14:58:02 -03:00
igorrCarvalho
2d21535e2a Refactor: Change node description pencil editor color 2023-11-29 22:03:20 -03:00
igorrCarvalho
ba85fd1f7f Fix: Make vectorStore tag stop braking button box 2023-11-29 21:51:42 -03:00
igorrCarvalho
d9cc89860c Fix: Header with wrong colors 2023-11-29 20:45:39 -03:00
anovazzi1
2916502c71 fix(tagsSelectorComponent): remove unnecessary conditional class assignment for fade-container
fix(applies.css): update fade-container::before and fade-container::after background gradient to match the new design
2023-11-29 19:10:38 -03:00
Lucas Oliveira
4911c7196c Fixed glitch on my components, testing needed 2023-11-29 18:50:53 -03:00
Lucas Oliveira
1fd2931e4c Fix delete not deleting when searching for something 2023-11-29 18:45:31 -03:00
Lucas Oliveira
6b691dc47d Fixed context menu on sidebar 2023-11-29 18:35:54 -03:00
anovazzi1
030c19808e chore(genericModal/index.tsx): add comments to indicate that the validatePrompt function needs review
fix(genericModal/index.tsx): fix condition for checking if inputVariables is empty or null
refactor(genericModal/index.tsx): remove unnecessary code and reorganize code logic in the validatePrompt function
2023-11-29 18:00:57 -03:00
Lucas Oliveira
a0c5887d9a Fixed custom component only updating when dragging it 2023-11-29 18:00:24 -03:00
anovazzi1
a2d278b52d refactor(PageComponent): remove unnecessary code that sets the viewport in the useEffect hook
The code was removed because it was not being used and was unnecessary for the functionality of the PageComponent.
2023-11-29 17:44:34 -03:00
Lucas Oliveira
cfdb3f5220 Fixed not updated flow being sent to store 2023-11-29 17:40:19 -03:00
Lucas Oliveira
4ec6ee8fd5 Fixed str handles being able to connect to everything 2023-11-29 17:01:36 -03:00
Lucas Oliveira
bd243d9f80 Fix flows being called unnecessarily 2023-11-29 16:55:22 -03:00
anovazzi1
93ec12beb7 fix(promptComponent): remove unused useEffect hook that was causing unnecessary API calls and re-rendering 2023-11-29 16:47:38 -03:00
Lucas Oliveira
47885cd5f0 Removed unused console.log and fixed takeSnapshot logic 2023-11-29 16:42:45 -03:00
Lucas Oliveira
61504d8702 Fixed delete not updating node internal 2023-11-29 14:47:29 -03:00
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