Skip to content

feat: add already reacted emojis to top of picker list (attempt #2)#64

Merged
chojs23 merged 2 commits into
chojs23:mainfrom
nexxai:existing-reaction-shortcuts
May 15, 2026
Merged

feat: add already reacted emojis to top of picker list (attempt #2)#64
chojs23 merged 2 commits into
chojs23:mainfrom
nexxai:existing-reaction-shortcuts

Conversation

@nexxai
Copy link
Copy Markdown
Contributor

@nexxai nexxai commented May 13, 2026

Note: this second attempt was easier to accomplish than trying to deal with the merge conflicts in #58 after the refactoring of the reaction picker. The functionality is otherwise the same.

Problem

When a message has had a reaction, statistically it is likely that another person may want to react similarly. Currently, you need to know the name of the reaction (may be difficult for server-specific custom reactions/emojis).

Proposed solution

When opening the picker, we find the reactions that have already been used and put them at the top of the list, using new keyboard shortcuts (I've chosen to use qwertyuiop as the list, but I'm open to alternative suggestions if this doesn't align with the direction of the project) to avoid overwriting the original 1..9 ones.

Screenshot

Screenshot 2026-05-12 at 11 38 33 PM

nexxai added 2 commits May 13, 2026 16:56
…23#2)

Note: this second attempt was easier to accomplish than trying to deal
with the merge conflicts in chojs23#58 after the refactoring of the reaction
picker. The functionality is otherwise the same.

## Problem

When a message has had a reaction, statistically it is likely that
another person may want to react similarly.  Currently, you need to know
the name of the reaction (may be difficult for server-specific custom
reactions/emojis).

## Proposed solution

When opening the picker, we find the reactions that have already been
used and put them at the top of the list, using new keyboard shortcuts
(I've chosen to use `qwertyuiop` as the list, but I'm open to
alternative suggestions if this doesn't align with the direction of the
project) to avoid overwriting the original `1..9` ones.

### Screenshot

<img width="911" height="339" alt="Screenshot 2026-05-12 at 11 38 33 PM"
src="https://github.com/user-attachments/assets/5969687f-c0df-4d75-9ef7-4b7d93be1422"
/>
@nexxai
Copy link
Copy Markdown
Contributor Author

nexxai commented May 14, 2026

@chojs23 Conflicts are resolved; this should be ready to go now

@chojs23
Copy link
Copy Markdown
Owner

chojs23 commented May 15, 2026

@nexxai Thanks!

@chojs23 chojs23 merged commit 172368e into chojs23:main May 15, 2026
2 checks passed
@nexxai nexxai deleted the existing-reaction-shortcuts branch May 15, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants