Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

feat: quick react via message editor #132

Merged
7w1 merged 3 commits into7w1:devfrom
mini-bomba:feat/quick-react
Mar 5, 2026
Merged

feat: quick react via message editor #132
7w1 merged 3 commits into7w1:devfrom
mini-bomba:feat/quick-react

Conversation

@mini-bomba
Copy link

@mini-bomba mini-bomba commented Mar 5, 2026

Description

typing +: in the message editor will bring up the emoticon autocomplete prompt, where choosing an emoticon will clear the editor and react with that emoticon under the latest message

reactions.webm

this pr also splits the autocomplete prefixes in two: ones that can be used anywhere in the message, and those that only work at the beginning

also i set a default type param on one of the autocomplete query functions because who wants to keep typing out that type everywhere all the time

also there was some minor code deduplication and a fix to the autocomplete query system

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
    • as much as i can do myself - i'm very much new to writing matrix clients, i might've done something terribly stupid
  • I have commented my code, particularly in hard-to-understand areas
    • do self-descriptive variable names and one new comment count?
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

typing `+:` in the message editor will bring up the emoticon
autocomplete prompt, where choosing an emoticon will clear the editor
and react with that emoticon under the latest message

this commit also splits the autocomplete prefixes in two: ones that can
be used anywhere in the message, and those that only work at the
beginning

also i set a default type param on one of the autocomplete query
functions because who wants to keep typing out that type everywhere all
the time
@7w1
Copy link
Owner

7w1 commented Mar 5, 2026

super cool!

@7w1 7w1 merged commit 302bfc7 into 7w1:dev Mar 5, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants