Blomios 348bccae34 fix(frontend): stop PermissionEditor draft resync from clobbering in-flight edits (#79)
The draft-resync useEffect fired on every new `draft` object (initial load,
refresh, another save), even when its content matched `local`. If it flushed
after the user started editing, it silently discarded the edit — flaky in
tests where a passive effect can settle after a synchronous fireEvent
sequence, and a real risk in production if a fetch lands mid-edit. Now it
only resyncs when `local` still matches the last-adopted draft.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 14:49:22 +02:00
2026-06-06 01:27:01 +02:00
2026-06-06 01:27:01 +02:00
2026-06-04 09:41:13 +02:00

The file is empty.
Description
No description provided
Readme 254 MiB
Languages
Rust 80.5%
TypeScript 19.4%