Files
outline/app/components
Tom MoorandClaude fcfcb4fd93 fix: Comments sidebar opens on document load when draft comment exists (#12897)
When a document containing an unsent draft comment mark is loaded, the
initial collaborative sync applies the content in a transaction after the
editor has mounted. The comment mark diffing treated these marks as newly
created and focused them, which in turn opened the comments sidebar.

Thread the transaction origin through the editor onChange callback and
skip focusing comment marks that arrive via remote or sync transactions,
so only locally created comment marks focus and open the sidebar.


Claude-Session: https://claude.ai/code/session_01LBdKAtGgEJ6RcgrcrXNPQc

Co-authored-by: Claude <noreply@anthropic.com>
2026-07-08 04:56:06 -04:00
..
2026-06-02 22:11:24 -04:00
2025-12-23 11:53:41 -05:00
2023-02-25 12:03:05 -08:00
2024-11-02 10:58:03 -07:00
2025-03-15 15:06:12 -07:00
2026-04-18 15:12:57 -04:00
2023-09-23 14:31:55 -04:00
2026-06-29 17:11:02 -04:00