epistemic-technology_co-int.../src
Mike Thicke 2b1e079355 Fix MarkdownView freezing streamed text at the first chunk
The original signature destructured props in the function args:

    export const MarkdownView = ({ markdown, sourcePath }) => …

Solid only delivers reactive updates through `props.*`; destructuring
strips the getter, so the closed-over `markdown` was whatever string
arrived in the first text-delta event. createEffect read the local
const, tracked no signals, ran once, and never re-rendered when the
text-part grew. The full message appeared only after the chat note
was closed and reopened — at that point a fresh MarkdownView mounted
with the complete text from the sidecar.

Worked under the old single-blob renderer because ChatInterface
rebuilt the {role, content} message array on every store touch, so
For tore down and remounted the BotMessage tree for each chunk. The
Phase 5 parts-aware renderer reuses the same component instance and
relies on per-prop reactivity, so the freeze surfaced.

Switch to `Component<MarkdownViewProps>` form, read `props.markdown`
inside the createEffect, and let the effect re-fire on every change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 17:01:30 -04:00
..
agent Phase 5: per-session settings header (max steps, approval mode) 2026-06-02 16:26:38 -04:00
chat Phase 5: per-session settings header (max steps, approval mode) 2026-06-02 16:26:38 -04:00
commands Fix lint issues from community plugin review 2026-05-12 16:10:25 -04:00
components Fix MarkdownView freezing streamed text at the first chunk 2026-06-02 17:01:30 -04:00
input Phase 4: auto-expose tools as /<tool-name> 2026-05-31 17:35:51 -04:00
services Phase 5: per-session settings header (max steps, approval mode) 2026-06-02 16:26:38 -04:00
session Phase 5: per-session settings header (max steps, approval mode) 2026-06-02 16:26:38 -04:00
utils Phase 5: diff card for edit_note (pre-write preview + result) 2026-06-02 16:11:27 -04:00
ChatView.tsx ChatView is now a thin adapter over the session store (#37) 2026-05-25 11:17:00 -04:00
CoiChatApp.tsx ChatView is now a thin adapter over the session store (#37) 2026-05-25 11:17:00 -04:00
CoIntelligencePlugin.tsx Phase 5: in-chat ApprovalPrompt, retire the Obsidian Modal 2026-06-02 11:26:27 -04:00
obsidian.d.ts Include tags in model context 2025-05-20 17:45:33 -04:00
settings.ts search_web: add Tavily as an alternative provider 2026-05-27 12:38:05 -04:00
styles.css Phase 5: per-session settings header (max steps, approval mode) 2026-06-02 16:26:38 -04:00
types-extended.ts Fix TypeScript errors and tighten eslint config 2026-05-15 15:45:12 -04:00
types.ts Cross-reference notes to sessions via coi-session-id (#34) 2026-05-25 11:04:48 -04:00
vite-env.d.ts Improve conformity to Obsidian plugin norms 2025-07-22 23:36:39 -04:00