Skip to content

feat: reaction viewer#46

Open
m-doescode wants to merge 6 commits intoupryzing:mainfrom
m-doescode:feature/reaction-viewer
Open

feat: reaction viewer#46
m-doescode wants to merge 6 commits intoupryzing:mainfrom
m-doescode:feature/reaction-viewer

Conversation

@m-doescode
Copy link
Copy Markdown

As requested in #45 (review), originally as part of #45

Adds a reaction viewer, displaying which users reacted with which emojis by long-pressing a reaction under a message.

Please make sure to check the following tasks before opening and submitting a PR

Copy link
Copy Markdown
Member

@Rexogamer Rexogamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see also my recent ping on the Clerotri server

@m-doescode m-doescode force-pushed the feature/reaction-viewer branch from 06017b8 to 182c4a4 Compare April 4, 2025 10:54
},
openViewReactions: (m: Message | null, e: string | null) => {
console.log(
`[FUNCTIONS] Tried to run uninitialised function openViewReaction (args: ${m}, ${e})`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tiny typo:

Suggested change
`[FUNCTIONS] Tried to run uninitialised function openViewReaction (args: ${m}, ${e})`
`[FUNCTIONS] Tried to run uninitialised function openViewReactions (args: ${m}, ${e})`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

friendly reminder :3


const sheetRef = useRef<BottomSheetCore>(null);

setFunction('openViewReactions', async (m: Message | null, emoji: string) => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused async - also the types here don't quite match the Generic.tsx placeholder

Suggested change
setFunction('openViewReactions', async (m: Message | null, emoji: string) => {
setFunction('openViewReactions', (m: Message | null, emoji: string | null) => {

@Rexogamer
Copy link
Copy Markdown
Member

do you still want to work on this?

@m-doescode
Copy link
Copy Markdown
Author

Yes! Sorry, I was waiting on your feedback. It's been a while but I remember you mentioned wanting to write your own emoji picker?

Unfortunately I don't think I'll be able to work on it this week, but I'll set a reminder for next week.

@Rexogamer
Copy link
Copy Markdown
Member

no worries! I haven't made a decision there, but the viewer should be addable without picking functionality so that's not a blocker here

@m-doescode
Copy link
Copy Markdown
Author

oh, then i think its been ready for a while... I guess I should've probably let you know haha

If so, I'll take a look tomorrow and see if i can rebase it.

Thanks for your patience!

@m-doescode m-doescode force-pushed the feature/reaction-viewer branch from afaf0a3 to 9033d7c Compare June 20, 2025 23:37
@m-doescode m-doescode force-pushed the feature/reaction-viewer branch from 9033d7c to 78b3dae Compare June 20, 2025 23:41
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are these changes needed?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert this

},
openViewReactions: (m: Message | null, e: string | null) => {
console.log(
`[FUNCTIONS] Tried to run uninitialised function openViewReaction (args: ${m}, ${e})`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

friendly reminder :3

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