Repository navigation
Commit 5e52943
perf(web): check composer undo ownership once per draft document
Ownership is evaluated on every keydown. Cache the serialized-draft check
by the immutable editor document so held arrow keys on a reopened draft do
not reserialize it each time.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 970d591 commit 5e52943
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | | - | |
1513 | | - | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
1514 | 1521 | | |
1515 | 1522 | | |
1516 | 1523 | | |
| |||
0 commit comments