Browse Source

fix: clear pending undo debounce timer on loadWorkflow and clearWorkflow

If a debounced data-edit snapshot was pending when loading or clearing
a workflow, it could fire after undoManager.clear() and push stale
state into the new workflow's undo history. Now both paths cancel the
pending timer and snapshot before clearing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
handoff-20260429-1057
shrimbly 3 months ago
parent
commit
52cedab745
  1. 18
      src/components/quickstart/QuickstartInitialView.tsx

18
src/components/quickstart/QuickstartInitialView.tsx

@ -32,15 +32,6 @@ export function QuickstartInitialView({
</p> </p>
<div className="flex flex-col gap-2.5 mt-auto"> <div className="flex flex-col gap-2.5 mt-auto">
<a
href="https://nodebananapro.com"
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-2 text-sm text-neutral-400 hover:text-neutral-200 transition-colors"
>
<img src="/banana_icon.png" alt="" className="w-4 h-4" />
Node Banana Pro Waitlist
</a>
<a <a
href="https://node-banana-docs.vercel.app/" href="https://node-banana-docs.vercel.app/"
target="_blank" target="_blank"
@ -92,6 +83,15 @@ export function QuickstartInitialView({
</svg> </svg>
Willie Willie
</a> </a>
<a
href="https://nodebananapro.com"
target="_blank"
rel="noopener noreferrer"
className="flex items-center gap-2 text-sm text-neutral-400 hover:text-neutral-200 transition-colors"
>
<img src="/banana_icon.png" alt="" className="w-4 h-4" />
Node Banana Pro Waitlist
</a>
</div> </div>
</div> </div>

Loading…
Cancel
Save