Conversation
|
🚅 Deployed to the rivet-pr-4627 environment in rivet-frontend
|
PR Review: chore: actors mockupThis is a draft UI prototype for the actors dashboard — the review below is scoped to the mockup's goals, not production-readiness. OverviewA clean, self-contained prototype. The ReactFlow canvas, sliding popovers, and animation approach all look reasonable for a mockup. A few technical issues worth flagging even at this stage. Bugs / Issues
The function reads from const [nodes, setNodes] = useState<Node<ActorNodeData>[]>(() => {
const saved = loadCanvasState();
if (saved?.nodes?.length) return saved.nodes;
return makeDefaultNodes();
});
const [edges, setEdges] = useState<Edge[]>(() => {
const saved = loadCanvasState(); // second read — redundant
return saved?.edges ?? [];
});Real actors overwrite saved positions every reload The
The component manages the active tab via both React state and the
After the right panel slides out, Minor
Suggestions for the Real Implementation
|

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: