mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 20:29:07 +01:00
main
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ae88db6c0b |
fix(messenger): the Agent mark only under an agent; a message is never drawn as nothing (0.38.0) (#103)
* fix(styles): starters are one column at every width (0.31.3) The empty chat's starters wrapped into a row of pills. A row of choices is never wrapping pills (fleet AGENTS.md, "One shape per kind"; OrangeCat UX audit 2026-11-12, auth-firstrun#5). .ck-starters-list is now a column and each .ck-starter a full-width, left-aligned, 44px row. Checked in test/styles.test.js and test/browser-app.mjs at 390px and 1440px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(messenger): a message's actions by keyboard; alone with an agent every message is for it, and its answer reads it - The actions button of a message was display:none until hovered, so Tab never reached it and Edit and Delete had no way in without a mouse. It is hidden by opacity now, takes focus, is 44px, and stays on the screen on a phone. Long press and right click are unchanged. - soleAgent(): one person and one agent. There the empty conversation says the agent answers every message, Ask <agent> is not offered, and a message starts the wait for a named agent without naming it. - receiptOf(): where only agents could read a message, it is read once an agent's own read mark is past it. A conversation with only an agent stayed at Sent for ever. - An awaited agent is not also shown typing. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * chore(release): 0.35.0 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * test(app): a 44px control measured mid-slide is not a small target Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(messenger): the Agent mark only under an agent; a message is never drawn as nothing (0.37.0) Found on OrangeCat (owner's phone, 2026-11-15), a conversation with a person and the Cat: - The top bar drew "Agent · Cat is in this conversation" under the person's name, so it read as "Penguin is an agent". The mark is now drawn only where the title is an agent; with people here the line reads "@penguin · Cat is here". `agentHere` is now "{name} is here" (the old wording was cut off at 390px). - A message with no words, card or files was an empty row with a time and a tick. It now says "This message could not be shown." (`labels.emptyMessage`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * test: drop tests duplicated by the branch merge Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
ca1a15844b |
fix(messenger): a message's actions by keyboard; alone with an agent every message is for it (0.36.0) (#101)
* fix(styles): starters are one column at every width (0.31.3) The empty chat's starters wrapped into a row of pills. A row of choices is never wrapping pills (fleet AGENTS.md, "One shape per kind"; OrangeCat UX audit 2026-11-12, auth-firstrun#5). .ck-starters-list is now a column and each .ck-starter a full-width, left-aligned, 44px row. Checked in test/styles.test.js and test/browser-app.mjs at 390px and 1440px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * fix(messenger): a message's actions by keyboard; alone with an agent every message is for it, and its answer reads it - The actions button of a message was display:none until hovered, so Tab never reached it and Edit and Delete had no way in without a mouse. It is hidden by opacity now, takes focus, is 44px, and stays on the screen on a phone. Long press and right click are unchanged. - soleAgent(): one person and one agent. There the empty conversation says the agent answers every message, Ask <agent> is not offered, and a message starts the wait for a named agent without naming it. - receiptOf(): where only agents could read a message, it is read once an agent's own read mark is past it. A conversation with only an agent stayed at Sent for ever. - An awaited agent is not also shown typing. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * chore(release): 0.35.0 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn * test(app): a 44px control measured mid-slide is not a small target Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmvT2nQyPBK4EfWf3Rn --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
5930ec6425 |
Messenger: export MessengerComposerAction (0.31.2) (#92)
* feat(messenger): replies, reactions, and things of value in a conversation (0.31.0) Reply to any message (the answer carries one line of the original, which leads back to it); emoji reactions, one per person, shown at once; cards for value in a thread (a payment request, money sent, a gift), written by the app for this reader and drawn in one shape; the app's own actions in the box's "+", with one "how much?" sheet for those that need an amount. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * feat(messenger): an action's amount sheet takes the app's note length Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * feat(messenger): an action's amount sheet takes the app's note length Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * chore(release): 0.31.1 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * fix(messenger): export MessengerComposerAction Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * fix(messenger): export MessengerComposerAction (0.31.2) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|
|
e690b2254a |
Messenger: people talking to people, and to the agents among them (0.29.0) (#82)
* Messenger: people talking to people, and to the agents among them (0.26.0) OrangeCat's direct messages were built in the app, so what was wrong with them could not be fixed for the next product: an agent's answer in a conversation between two people looked like the other person's, nothing said an agent was taking part, top bar and a two-row box took half a phone, and nothing could be attached. This is the messenger as a package. @bitbaum/chatkit/messenger: Messenger (the whole screen) and its parts useMessenger, ConversationList, MessageThread, MessageAttachments. The app implements MessengerTransport; the package has no database, websocket or storage. styles/messenger.css is the embedded sheet plus the Messenger's section, without ChatApp. - An agent is told from a person by the shape of its face, an Agent mark with whom it answered for, and an outlined bubble; the top bar says it is in the conversation; naming it shows that it is thinking, and says so if it never answers. - Files: Camera, Photos, Videos, Files, checked against the attachment policy before an upload starts, photos shrunk in the browser, progress and Try again per file, a full-screen viewer, a film drawn as its still. - The thread: runs, day lines, a New line, ticks from readState, a failed message kept with Try again, earlier messages loaded above with the reader's place kept, one bubble per message however often it arrives. - Composer: layout="inline", attachmentsAlone, attach.take, attach.accept, a "videos" source, files dropped onto the box. Defaults unchanged. The state is one pure function (messengerReducer), tested in Node. test/browser-messenger.mjs drives demo/messenger.html at 390px, 320px dark and 1280px. It found two defects before any product did: a read mark that cleared the badge without telling the server, and a page of history that pulled the reader to the end of the thread. threadkit 0.1.2 (attachment policy, mention matcher, readState) is merged and tagged but not on npm, so those rules are carried word for word in src/thread-rules.ts with threadkit's own tests; the file says when it goes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * test(messenger): wait for the opened conversation before reading its thread Side by side, the conversation that was open can still be on screen with a "New" line of its own, so the check read the old thread on a slow runner. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 --------- Co-authored-by: Claude <noreply@anthropic.com> |