Skip to content

Conversation

@bfollington
Copy link
Contributor

@bfollington bfollington commented Sep 12, 2025

  • Break out Chat recipe
  • Re-use common chatbot.tsx
  • Format pass
  • ct-code-editor backlink support

Summary by cubic

Adds [[backlink]] autocomplete and Cmd/Ctrl+click navigation to ct-code-editor, and centralizes chat into a reusable Chat recipe. Also adds a Note pattern that supports backlinks and simple edit/read tools.

  • New Features

    • ct-code-editor: [[...]] autocomplete from a mentionable Charm list, backlink highlighting, and backlink-click event on Cmd/Ctrl+click.
    • New Note pattern: Markdown editor with backlinks (uses ct-code-editor) and tools editNote/readNote; optional Chat tab.
    • Shared Chat recipe: Unified chat UI with model select, prompt input, tool wiring, and clear/cancel controls; used by Tools and Outliner patterns.
  • Migration

    • Props: chat renamed to messages in patterns; pass tools into Chat({ messages, tools }).
    • ct-code-editor: provide $mentionable={allCharms} for backlink suggestions; handle onbacklink-click to navigate.
    • Outliner and Tools now render Chat via the shared recipe; Outliner adds an expandChat toggle.

@bfollington bfollington force-pushed the feat/2025-09-12-note-backlinks branch from 7fcca02 to 6347b92 Compare September 12, 2025 05:38
@bfollington bfollington force-pushed the feat/2025-09-12-note-backlinks branch from 6347b92 to a30304d Compare September 15, 2025 02:43
@bfollington bfollington merged commit a43df1c into main Sep 15, 2025
7 checks passed
@bfollington bfollington deleted the feat/2025-09-12-note-backlinks branch September 15, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants