mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 05:07:23 +01:00
Gaps reported while moving evig onto chatkit. Claude-Session: https://claude.ai/code/session_019MDtmtoej4Vu1mYafzzcLc Co-authored-by: Claude <noreply@anthropic.com>
41 lines
2.4 KiB
Markdown
41 lines
2.4 KiB
Markdown
# Roadmap — gaps that keep a typing place out of chatkit
|
|
|
|
Each line is a place in a fleet app where a person types words and cannot yet
|
|
use `Composer` or `DictationField`, with what chatkit needs to take it over.
|
|
Fix it here; the app then swaps its own copy for the package.
|
|
|
|
- **@-mentions in a box.** OrangeCat's timeline composer is its own
|
|
`contentEditable` so a person can mention someone with `@`. Plan: a
|
|
`mentions` option on the shared box (`TypingBox`) — a source of people
|
|
(`search(query) => Promise<Mention[]>`), a listbox under the caret with
|
|
arrow keys and Enter, the mention kept as a token in the text sent
|
|
(`@[Name](id)`), and the microphone still appending around it. Then
|
|
OrangeCat's timeline composer becomes `Composer`.
|
|
- **"Speak to fill this form" bar.** One microphone that fills several fields
|
|
at once from what was said: copied in kivvi, evig and surf-your-life,
|
|
rebuilt in orangecat, loki and skif. Plan: one bar in `@bitbaum/ai-forms`
|
|
(it owns the field schema and the model call) built on chatkit's
|
|
`useDictation` and voice bar, so the take, the retry and the words look the
|
|
same as in every box; the apps then drop their copies.
|
|
- **Compact one-line field for a table cell.** A row in a table needs a field
|
|
no taller than the row, with the microphone inside it. Plan: a `compact`
|
|
shape of `DictationField` (`multiline={false}`, 32px box, the microphone as
|
|
the only tool, the voice bar shown over the row) that keeps 16px text.
|
|
|
|
- **`Messenger` offers Reply only when the app keeps replies.** Reported by
|
|
evig: its messages table does not store which message a reply answers, so
|
|
the quoted line is lost on reload. Plan: Reply appears only with a
|
|
`transport.reply` (or a `supportsReply` flag), like Forward, Pin and Mute.
|
|
- **`CommentThread`: `maxLength`, a stance, editing.** Reported by evig, whose
|
|
decisions thread keeps its own component for these. Plan: `maxLength` on the
|
|
box (the field's counter and clip), an optional `stances` list shown as a
|
|
choice next to the box and a tag on each comment, and `transport.edit` for
|
|
a person's own comments.
|
|
- **`Messenger` in German.** About 200 labels are English only, so every
|
|
German-speaking app translates them itself. Plan: ship a `de` label pack
|
|
beside the defaults (`MESSENGER_LABELS_DE`), the same way for `Composer`
|
|
and `DictationField`.
|
|
|
|
Done: uncontrolled fields for native forms and server actions, and
|
|
react-hook-form's `register()` / `Controller` (0.45).
|