psychedelicious f65c8092cb fix(ui): fix issue with node editor state not restoring correctly on mount
If `reactflow` initializes before the node templates are parsed, edges may not be rendered and the viewport may get reset.

- Add `isReady` state to `NodesState`. This is false when we are loading or parsing node templates and true when that is finished.
- Conditionally render `reactflow` based on `isReady`.
- Add `viewport` to `NodesState` & handlers to keep it synced. This allows `reactflow` to mount and unmount freely and not lose viewport.
2023-08-16 09:54:38 +10:00
..
2023-08-01 07:59:01 -04:00
2023-08-14 22:59:26 -04:00
2023-08-16 09:54:38 +10:00
2023-07-28 09:46:44 -04:00
2023-07-13 20:31:10 +00:00
2023-05-11 11:55:51 +10:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-03-03 00:02:15 -05:00
2023-08-16 09:54:38 +10:00
2023-08-01 08:54:03 +10:00