anovazzi1
3d4200fc82
Add logout functionality to login API
2024-01-08 13:50:34 -03:00
anovazzi1
c7435c0c49
Revert "Refactor code and fix formatting issues"
...
This reverts commit 334ec24addf783990850b835d911ac778dfce6a2.
2024-01-08 13:39:32 -03:00
anovazzi1
f8f71fb603
Refactor code and fix formatting issues
2024-01-08 13:39:32 -03:00
anovazzi1
a76263097a
Add cookies for access and refresh tokens
2024-01-08 13:38:58 -03:00
Lucas Oliveira
c3bfcca6e2
Removed manual saving, only autosave now
2024-01-06 15:28:05 -03:00
Lucas Oliveira
4a3035873b
Refactored stars and version refreshing
2024-01-06 15:15:25 -03:00
Lucas Oliveira
f87379c3d7
removed console log of errors
2024-01-06 15:01:22 -03:00
Lucas Oliveira
db99d64139
added function to useCallback
2024-01-06 14:58:42 -03:00
Lucas Oliveira
9ec2fe445d
Fixed nodes cant be dropped when refreshing page
2024-01-06 14:57:42 -03:00
Lucas Oliveira
bacab7dbc1
changed sideBarDraggableComponent to forwardRef
2024-01-06 14:46:49 -03:00
Lucas Oliveira
7d04a98f68
Fixed button inside button on sidebar
2024-01-06 14:39:57 -03:00
Lucas Oliveira
f0f5887452
Fixed message of button inside button at Admin page
2024-01-06 14:31:28 -03:00
Lucas Oliveira
c34810b161
Fixed Confirmation Modal ref
2024-01-06 12:22:30 -03:00
Lucas Oliveira
290fc96d02
Fixed ctrl+z on intComponent
2024-01-06 11:57:44 -03:00
Lucas Oliveira
6abac9782d
Fixed ctrl+z not working inside input
2024-01-06 11:45:33 -03:00
Lucas Oliveira
b4f7285b33
Implemented undoRedo on Zustand
2024-01-06 11:34:36 -03:00
Lucas Oliveira
882f365ff6
Passed the rest of the flowsContext functions to zustand, removed flowsContext
2024-01-06 01:27:54 -03:00
Lucas Oliveira
616a4f0031
added upload and download flows on zustand and utils
2024-01-06 01:00:59 -03:00
Lucas Oliveira
d44648d6c1
added saveFlow function to Zustand state and implemented it on the project
2024-01-06 00:27:36 -03:00
Lucas Oliveira
e3c3b18bdc
Added refresh flows function
2024-01-05 23:48:55 -03:00
Lucas Oliveira
82f180315b
added the implementation of flowsState in all the project
2024-01-05 23:28:03 -03:00
Lucas Oliveira
118e425d68
added flows variable and current flow and state to zustand
2024-01-05 23:05:32 -03:00
Lucas Oliveira
6195acee22
added CurrentFlowState to zustand
2024-01-05 22:19:45 -03:00
Lucas Oliveira
18b2f5e970
if health returns, the fetchError error is removed
2024-01-05 21:18:16 -03:00
Lucas Oliveira
4e29a92657
Removed getHealth from getTypes and made it refresh every 5 seconds
2024-01-05 21:17:01 -03:00
Lucas Oliveira
03d7020185
Implemented types context at Zustand and at the whole project
2024-01-05 21:07:18 -03:00
Lucas Oliveira
7f8f5d3f7b
refactored authentication
2024-01-05 18:52:44 -03:00
Lucas Oliveira
f5ae805db1
Removed unused console.log
2024-01-05 18:15:25 -03:00
Lucas Oliveira
6a6d11447b
Get types done at App.tsx and fixed handle position
2024-01-05 18:13:51 -03:00
anovazzi1
ac448bdd09
code refactor
2024-01-05 17:08:12 -03:00
anovazzi1
b105d60cc5
Refactor node creation logic in PageComponent
2024-01-05 17:04:00 -03:00
Lucas Oliveira
48e62fedea
Removed alertsContext from contexts
2024-01-05 13:16:29 -03:00
Lucas Oliveira
de5e464e99
Removed AlertContext from all files
2024-01-05 13:16:01 -03:00
Lucas Oliveira
cc776b3196
Implemented Zustand Alert and changed all the usages
2024-01-05 13:14:00 -03:00
Lucas Oliveira
df12f33e86
Removed useEffects from flowsContext
2024-01-05 12:41:45 -03:00
Lucas Oliveira
a75d70b49c
Fixed typing and naming of zustand functions
2024-01-05 12:17:52 -03:00
Lucas Oliveira
0dad0eb540
changed useDark to selector instead of destructuring
2024-01-05 11:55:37 -03:00
Lucas Oliveira
503e7766ba
changed useFlow declaration from destructuring to selector to improve performance
2024-01-05 11:49:07 -03:00
cristhianzl
68e5454b11
feat(headerComponent): add support for storeStore in headerComponent to manage store state
...
refactor(headerComponent): refactor useDarkStore calls in headerComponent to improve readability and maintainability
2024-01-05 11:44:00 -03:00
cristhianzl
97d7f330ea
refactor(extraSidebarComponent): remove unused context variable and import to improve code readability and maintainability
2024-01-05 11:41:47 -03:00
cristhianzl
538c7e01e9
refactor(extraSidebarComponent): refactor useContext hooks to destructure FlowsContext and typesContext for better readability
...
refactor(nodeToolbarComponent): refactor useContext hooks to destructure useStoreStore for better readability
2024-01-05 11:41:40 -03:00
cristhianzl
34592f87e8
merge
2024-01-05 11:38:33 -03:00
Lucas Oliveira
3d720f7f79
Fixed flowsContext to work using useFlow zustand, removed unused functions
2024-01-05 11:31:40 -03:00
Lucas Oliveira
75326cad27
Changed every flowsContext to useFlow
2024-01-05 11:20:02 -03:00
Lucas Oliveira
0bc74b5251
Formatting changes
2024-01-05 10:43:31 -03:00
Lucas Oliveira
df8912055d
Implemented Zustand State of flow manager
2024-01-05 10:38:33 -03:00
Lucas Oliveira
17fd965231
Changed way of declaring Zustand functions
2024-01-05 09:47:11 -03:00
anovazzi1
ca7193476d
chore(flowManagerStore.ts): add isPending property to RFState to track pending state
...
chore(tabs/index.ts): keep existing properties and functions in FlowsContextType for future use
2024-01-04 18:51:32 -03:00
anovazzi1
c61c67cc7c
fix(App.tsx): remove unused useContext import and hardReset function call
...
refactor(App.tsx): remove hardReset function call and add comment indicating any reset function
refactor(flowsContext.tsx): remove hardReset function and update comment for tabId property
refactor(flowsContext.tsx): remove hardReset function from useEffect hook
refactor(flowsContext.tsx): remove hardReset function and update comment for hardReset function
refactor(flowManagerStore.ts): add nodeId property and incrementNodeId function
refactor(tabs/index.ts): remove hardReset function from FlowsContextType
2024-01-04 18:29:35 -03:00
anovazzi1
aa44a70a02
feat(flowManagerStore.ts): add paste function to allow pasting copied nodes and edges at a specified position
...
feat(flowManagerStore.ts): add lastCopiedSelection object to store the last copied nodes and edges for pasting
2024-01-04 16:36:46 -03:00