Commit Graph

2 Commits

Author SHA1 Message Date
QQ f5da78063a fix: hide the official ChatView tab without removing its ledger row
Splicing the live conversation.view row made the official disposer early-return, leaking conversation.chat.flow and the Chat store when ui-chat tore down while shadowed. Keep the row (and its official lifecycle) and clear only the View id the tab projection reads; restore it on teardown. A View subscription re-hides a ChatView that ui-chat re-registers.

Tests: real SlotCore cases for shadow/hide, official teardown + re-registration while hidden, repeat retire/restore, and subscriber notifications. Wiring test now guards against reintroducing splice().
2026-11-27 18:43:24 +08:00
QQ 3262d20b6f feat: render the reader inside the chat view (no separate 阅读 tab)
- Restore the reader view sources removed in 1.0.4 (components, styles, markdown/katex renderer, official slot mirrors, text-transform service, motion, timeline, deliverables, MCP cards, settings).

- Register the reader on conversation.view with id chat and priority -10, shadowing the official ChatView; retire/restore the official ledger row so the header keeps one 对话 tab (chat-view-seat.ts).

- Drop the forced View switch; entry.tsx stays unused. Host reveal/metrics routes remain removed.

- Restore pure reader unit tests; add chat-view-seat (including real SlotCore) and wiring tests. Docs/README/CHANGELOG for 1.1.0.
2026-11-27 18:33:54 +08:00