Files
Charis Lam d841928ad6 fix(studio): re-process pending diff request once the editor mounts
The diff-apply effect early-returns when the Monaco editor model isn't ready,
but it only depended on diffRequest.pending, so a request issued before the
editor mounted was dropped despite the comment claiming otherwise.

Track an editorMountCount that bumps on every onMount (including the keyed
remount on snippet switch) and add it to the effect deps, so a pending request
is re-applied once the editor is ready. The one-shot consumeDiffRequest drain
stays in the same effect.
2026-06-26 13:38:57 -04:00
..
2026-06-26 15:47:52 +02:00