Gabriel Luiz Freitas Almeida
57cba4233a
Fixed format errors ( #903 )
2023-09-14 01:29:26 +00:00
Cristhian Zanforlin Lousa
e1bb4b4a24
🐛 fix(genericModal/index.tsx): close modal when template has no varia… ( #911 )
...
…bles to prevent user confusion
2023-09-13 22:26:38 -03:00
Cristhian Zanforlin Lousa
887bfb8ee7
🐛 fix(genericModal/index.tsx): close modal when template has no variables to prevent user confusion
2023-09-13 21:42:26 -03:00
Gabriel Luiz Freitas Almeida
c6be7cdecd
Merge remote-tracking branch 'origin/main' into dev
2023-09-13 21:32:51 -03:00
igorrCarvalho
21009761f0
Refactor: adjust icon size when node are minimized
2023-09-13 18:23:52 -03:00
igorrCarvalho
b1f874ca03
Fix: Minimize working after add a new handle with promptTemplate
2023-09-13 18:17:01 -03:00
anovazzi1
95767c6594
fix(formModal): import processFlow function from reactflowUtils to fix compilation error
...
refactor(formModal): replace the usage of processFLow function with processFlow function to correctly process the flow object
2023-09-13 17:57:00 -03:00
anovazzi1
6d04f49443
fix(reactflowUtils.ts): fix nullability issues and improve variable names for better readability
...
refactor(reactflowUtils.ts): update targetHandle and sourceHandle to use JSON stringified values for better compatibility
2023-09-13 17:50:51 -03:00
igorrCarvalho
c70de1e881
Refactor: Minimize only works with 1 handle node and change minimized node UI
2023-09-13 17:23:35 -03:00
anovazzi1
8e03d95df5
feat(GenericNode): add support for Proxy field in GenericNode component to enable customization of Proxy component for each template field
2023-09-13 17:21:51 -03:00
anovazzi1
07f5342aa8
migrate old edges id format to new edges id fromat on ungroup node
2023-09-13 17:04:07 -03:00
anovazzi1
a7b9cf2cc9
update position on node
2023-09-13 16:17:59 -03:00
anovazzi1
04f2941a7d
fix(GenericNode): import XYPosition from reactflow to fix type error
...
feat(GenericNode): add position prop to GenericNode component to pass the position of the node
fix(nodeToolbarComponent): import updateFlowPosition from reactflowUtils to fix reference error
feat(nodeToolbarComponent): add position prop to NodeToolbarComponent to pass the position of the node
fix(components): import XYPosition from reactflow to fix type error
feat(components): add position prop to nodeToolbarPropsType to pass the position of the node
feat(reactflowUtils): add expandGroupNode function to expand a group node and update the flow
2023-09-13 10:53:43 -03:00
anovazzi1
7de65ed709
feat(nodeToolbarComponent): add "Ungroup" button to the node toolbar when the node is a group
...
fix(styleUtils.ts): import the "Ungroup" icon from lucide-react to use it in the node toolbar component
2023-09-12 22:13:06 -03:00
anovazzi1
f33acd4685
fix(EditNodeModal): fix incorrect property name in template rendering logic
...
The property name `display_name` was incorrectly used instead of `name` in the template rendering logic. This has been fixed to correctly display the name of the template parameter.
2023-09-12 21:28:01 -03:00
anovazzi1
9d510e3e4b
fix output string of custom component and truncate long Ids on display name
2023-09-12 21:00:42 -03:00
igorrCarvalho
602c12282d
Refactor: Change how minimize displays on screen
2023-09-12 20:19:05 -03:00
anovazzi1
e4471886e4
feat(types/api): add 'dynamic' and 'proxy' properties to TemplateVariableType to support dynamic and proxy fields in templates
...
feat(utils/reactflowUtils): add 'toTitleCase' function to convert strings to title case
refactor(utils/reactflowUtils): update function names and comments
refactor(utils/reactflowUtils): update 'updateGroupNodeTemplate' function to handle 'dynamic' property
refactor(utils/reactflowUtils): update 'mergeNodeTemplates' function to handle 'display_name' and 'dynamic' properties
refactor(utils/reactflowUtils): update 'isHandleConnected' function to handle 'proxy' property
refactor(utils/reactflowUtils): update 'generateNodeFromFlow' function to set 'type' as 'genericNode' instead of 'groupNode'
2023-09-12 18:15:32 -03:00
anovazzi1
42f7821002
fix(parameterComponent/index.tsx): remove unnecessary ts-ignore comments
...
fix(reactflowUtils.ts): add input_types variable to prevent error when checking for advanced types
2023-09-12 17:17:36 -03:00
Cristhian Zanforlin Lousa
8121dc0a8b
🔨 refactor(dialog.tsx): remove unused IconComponent import and replace it with Cross2Icon from @radix-ui/react-icons
...
🎨 style(dialog.tsx): update DialogContent className to improve positioning and animation effects
2023-09-12 16:56:53 -03:00
anovazzi1
492ca19fff
text update
2023-09-12 16:35:04 -03:00
anovazzi1
90c864fafc
refactor(parameterComponent): update text displayed based on the value of the 'left' prop for better clarity and consistency
2023-09-12 16:35:04 -03:00
igorrCarvalho
cd28ae2c59
Refactor: Add header to node tooltips
2023-09-12 16:35:04 -03:00
igorrCarvalho
c03b11ab70
Refactor: Remove description space whem node does not have a space
2023-09-12 16:35:04 -03:00
igorrCarvalho
e38b904af2
Refactor: Remove blank space when node has no description
2023-09-12 16:35:04 -03:00
igorrCarvalho
0c3c7276f1
Feat: Add function to handle minimize
2023-09-12 14:55:02 -03:00
igorrCarvalho
a0c7712b70
Merge branch 'nodesImprovements' into minimizeNode
2023-09-12 14:28:54 -03:00
igorrCarvalho
b06cb9507f
Feat: Add minimize icon and conditional render
2023-09-12 14:25:04 -03:00
Guangya Liu
48586fc3e6
Fix format errors
2023-09-12 11:17:11 -04:00
anovazzi1
249cf833fa
fix(AdminPage/index.tsx): fix asynchronous handling of updateUser function to properly reset filter and set success data after user update
...
fix(styleUtils.ts): fix import statement for GradientSparkles component to use curly braces for named import
2023-09-11 18:46:50 -03:00
anovazzi1
732c140fb7
Merge remote-tracking branch 'origin/dev' into feature/profilePage
2023-09-11 18:36:11 -03:00
anovazzi1
22a7f37efb
fix(GradientSparkles/index.tsx): remove unnecessary import of Infinity component from lucide-react
...
fix(GradientSparkles/index.tsx): replace usage of imported Infinity component with inline SVG code to avoid crashing the UI
2023-09-11 18:33:04 -03:00
Lucas Oliveira
64bb977045
Fixed isActive and isSuperuser not changing when creating user
2023-09-11 18:09:22 -03:00
Lucas Oliveira
d09df8a497
Formatting Fixes
2023-09-11 16:07:40 -03:00
Lucas Oliveira
f8ab2f12be
Merge branch 'dev' into feature/profilePage
2023-09-11 16:07:17 -03:00
Lucas Oliveira
77e9e79332
Fix on api button
2023-09-11 16:06:27 -03:00
Lucas Oliveira
268906fe49
Minor bug fixes to clean console
2023-09-11 16:05:25 -03:00
igorrCarvalho
c18536d1ff
Refactor: Add header to node tooltips
2023-09-11 15:50:18 -03:00
Gabriel Luiz Freitas Almeida
6a477d2dd8
Fix lint error ( #886 )
2023-09-11 17:27:04 +00:00
Gabriel Luiz Freitas Almeida
327cb0771f
🐛 fix(inputListComponent): handle conversion from string to array for value prop to ensure smooth operation and prevent potential errors
2023-09-11 14:23:35 -03:00
Cristhian Zanforlin Lousa
4c0874ee83
🐛 fix(intComponent): fix comparison bug in onInput event handler to correctly compare input value with min value
2023-09-11 09:22:21 -03:00
Cristhian Zanforlin Lousa
a2eadbedb1
🐛 fix(api.tsx): add conditional check before calling login function to prevent errors when response data is missing access_token or refresh_token
2023-09-11 09:10:44 -03:00
Cristhian Zanforlin Lousa
b832e0844e
🐛 fix(API/index.ts): add condition to check if token exists before making the request to renew access token to prevent errors
2023-09-11 09:08:32 -03:00
anovazzi1
772bfbf1d3
fix(reactflowUtils.ts): fix null pointer error when accessing nested properties in connectedInputNodesOnHandle function
2023-09-10 23:57:22 -03:00
anovazzi1
5933c2cefc
fix(PageComponent/index.tsx): fix typo in import statement for scapeJSONParse function
...
feat(PageComponent/index.tsx): add functionality to generate a new flow and node from a selection and update the nodes and edges accordingly
feat(PageComponent/index.tsx): add validation for selection and display error message if selection is invalid
2023-09-10 23:37:13 -03:00
anovazzi1
7bdaa1bca6
copy package-lock from dev to avoid dependencie erro
2023-09-10 21:23:18 -03:00
anovazzi1
b72558db7c
added coma
2023-09-10 19:54:39 -03:00
anovazzi1
db4bb0c822
Merge remote-tracking branch 'origin/dev' into newGroupNode
2023-09-10 19:54:28 -03:00
anovazzi1
e22f3acf8c
fix(DisclosureComponent): remove commented out code and fix missing icon bug
...
feat(PageComponent): add selection menu component and onClick event handler for debugging purposes
2023-09-08 17:48:44 -03:00
igorrCarvalho
c21583e13b
Refactor: Remove description space whem node does not have a space
2023-09-08 17:42:57 -03:00