lekt8
a096e872f5
Let orphaned documents be reopened from the library ( #1602 ) ( #1761 )
...
After an AI-written document is closed, its session_id is nulled (the detach
behaviour from #1238 ). Both Open controls in the Documents library — the card's
expanded Open button and the card dropdown's Open item — gated on
`doc.session_id`: they wired `libraryOpenInSession` (which early-returns with no
session) and DISABLED the control otherwise, so the user's own document showed a
grayed-out Open button and couldn't be reopened.
The module already has `libraryOpenDocument`, which explicitly handles the
orphaned case ("just open in editor without switching session" -> _loadDocument
by id). Route the no-session path there instead of disabling.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-03 13:28:31 +09:00
..
2026-06-02 23:14:52 +09:00
2026-06-03 00:30:03 +09:00
2026-06-01 14:23:22 -04:00
2026-06-02 11:12:54 +09:00
2026-06-03 13:22:46 +09:00
2026-06-02 22:41:27 +09:00
2026-06-01 14:26:10 +09:00
2026-06-03 08:57:47 +09:00
2026-06-01 22:04:00 +02:00
2026-06-02 20:36:54 +09:00
2026-06-02 12:42:15 +09:00
2026-06-02 23:14:52 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 04:20:48 +09:00
2026-06-03 04:07:31 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 12:15:47 +09:00
2026-06-02 22:42:07 +09:00
2026-06-03 13:28:19 +09:00
2026-06-03 03:48:25 +09:00
2026-06-03 13:23:35 +09:00
2026-06-03 13:23:35 +09:00
2026-06-03 02:08:09 +09:00
2026-06-02 22:42:07 +09:00
2026-06-03 13:28:31 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 11:42:20 +09:00
2026-06-03 08:12:47 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 14:23:22 -04:00
2026-06-03 04:12:23 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 13:23:14 +09:00
2026-06-02 23:31:09 +09:00
2026-06-02 11:12:54 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 13:25:26 +09:00
2026-06-01 22:32:17 +09:00
2026-06-02 22:42:07 +09:00
2026-06-02 22:42:07 +09:00
2026-06-02 13:14:22 +09:00
2026-06-02 06:26:32 +09:00
2026-06-01 14:26:10 +09:00
2026-06-03 13:23:21 +09:00
2026-06-02 07:00:40 +09:00
2026-06-02 11:29:29 +09:00
2026-06-02 11:12:54 +09:00
2026-06-03 04:09:28 +09:00
2026-06-01 14:26:10 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-01 16:53:46 +02:00
2026-06-02 23:52:22 +09:00
2026-06-02 20:57:57 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 09:36:03 +09:00
2026-06-02 09:36:03 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-03 08:57:47 +09:00
2026-06-03 00:30:03 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 23:43:53 +09:00
2026-05-31 23:58:26 +09:00
2026-06-02 22:42:07 +09:00
2026-06-01 19:49:23 +02:00