feat: reduce bot noise. Use reactions instead of confirm messages#40
Merged
Conversation
…lies When the bot picks up an upload, a URL, or a scan/voice batch page, it now reacts 👀 on the source message the moment work starts, instead of posting a separate "Received photo, analyzing..." / "Reading ..." / "Page N received." reply. The eyes stay put as a scrollback marker; the filing reply (or an error) is the real closure. Less timeline noise per capture, attached to the message it's about.
The bot's answer to a processed item (filing, capture, error) now posts as a thread reply under the message it came from, instead of a top-level reply that crowds the channel. The upload, the 👀, and the result collapse into one threaded unit; the main timeline stays quiet. If the filed message already lives in a thread, the answer joins that thread rather than starting a nested one (Matrix forbids those). New framework helpers MicroBot.get_thread_root / check_in_thread read the source event's own relation to decide. Threading is on by default and lives on MicroBot (_answer + _reply_in_thread), so every bot gets the quiet-timeline behavior and a per-room placement seam for later.
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.
No description provided.