ulysses/static
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
..
fonts Odysseus v1.0 2026-05-31 23:58:26 +09:00
js Let orphaned documents be reopened from the library (#1602) (#1761) 2026-06-03 13:28:31 +09:00
lib Odysseus v1.0 2026-05-31 23:58:26 +09:00
app.js fix(ui): add missing Escape key handlers for email-lib-modal, model-picker-menu, and sort dropdowns (#1487) 2026-06-03 08:14:27 +09:00
index.html Models: add Z.AI coding endpoint and GLM vision detection 2026-06-02 20:59:17 +09:00
landing.html feat: Add mobile hamburger navigation menu and toggle functionality 2026-06-01 15:57:01 +04:00
login.html Improve accessibility across core flows (#86) 2026-06-01 22:04:00 +02:00
manifest.json Odysseus v1.0 2026-05-31 23:58:26 +09:00
style.css fix(ui): stop welcome-screen tip from clipping on narrow phones (#1612) 2026-06-03 08:37:23 +09:00
sw.js Odysseus v1.0 2026-05-31 23:58:26 +09:00