Repository navigation
React to a bot's messages on the phone - #56
Merged
Merged
Conversation
… message, the chip under it
…ge, the chip under it
…d when the computer takes none or is forgotten
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
React to a bot's messages from the phone, as desktop does: long-press a bot message, pick an emoji, and a chip appears under the message. Second slice of message actions (#55).
What changes
toggleddoes. A pick closes the selection.bots.chat.react {botId, messageId, emoji|null}onmousse.botrpc. The reaction comes back live as the message'sreactionfield on the bot stream, so a change made on desktop shows on the phone, and a change made on the phone shows on desktop.net.infolistsbots.chat.react≥ 1. A computer without it shows no reaction controls.idem bots.chat.react:<id>, and that ID is never sent again.core/src/bot_reactions.rs): parsing, the capability gate, the toggle, and the outbox. There are 10 tests, each with a must-fail control.QuickReactions,ReactionGridandReactionChipsare in both UI libraries.<computer>/bot/<id>/actions/react.message-reactionsandmessage-reaction-chips.Protocol note
bots.chat.reacttakes noclientRequestId. It sets a value, so theidemheader plus never resending a request ID is what keeps the write to one send.Checks