Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent showing notification errors for dev for known emoji reaction types #2704

Conversation

shuuji3
Copy link
Member

@shuuji3 shuuji3 commented Mar 19, 2024

mitigates #2701 #2043

The current error message seems to be for development and does not provide a good UX for normal users, especially those who receive reaction emojis frequently.

So instead of showing error messages, this change will only output warning messages to the console for the known two emoji reaction types: pleroma:emoji_reaction, reaction. (Other unknown notification types will keep showing the same error messages.)

Elk could support the Emoji reaction notification in some form in the future. (Note: currently, masto.js does not provide these non-Mastodon notification type information / related to neet/masto.js#939)

Copy link

stackblitz bot commented Mar 19, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

netlify bot commented Mar 19, 2024

Deploy Preview for elk-docs canceled.

Name Link
🔨 Latest commit ab410a0
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/65f9a55c52deb700080c7235

Copy link

netlify bot commented Mar 19, 2024

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit ab410a0
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/65f9a55c8247070008a33f61
😎 Deploy Preview https://deploy-preview-2704--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shuuji3 shuuji3 force-pushed the shuuji3/fix/prevent-debug-error-log-for-wellknown-reactions-types branch from 063a280 to ab410a0 Compare March 19, 2024 14:46
@patak-dev patak-dev added this pull request to the merge queue Mar 19, 2024
Merged via the queue into main with commit e9ab0cd Mar 19, 2024
15 checks passed
@patak-dev patak-dev deleted the shuuji3/fix/prevent-debug-error-log-for-wellknown-reactions-types branch March 19, 2024 15: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