-
Notifications
You must be signed in to change notification settings - Fork 37
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
User flair in macros #680
User flair in macros #680
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good to me, though I haven't done any local testing yet. I only see one thing that needs to be addressed.
It looks like a lot of this logic could also be reused to enable a similar post flair feature - though that would also require additional logic to not act on comments. We do something similar already for modmail-specific actions, but I think that should probably be its own PR rather than making it a part of this one. @creesch if you think that's a good feature to add I can make an issue for it.
Co-authored-by: Erin <[email protected]>
Looks good to me as well, but I also haven't verified functionality locally. @eritbh I was thinking the same thing about also having it for posts. But doesn't have to be in this PR so an issue to track it seems like a good idea. |
#682 created |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My local test did find one more thing...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good on my machine! Thanks for the PR~
Lovely! Thanks for checking. |
* Mod Macro add-on: flair user * Mod Macro add-on: flair user * Update extension/data/modules/macros.js Co-authored-by: Erin <[email protected]> * Mod Macro add-on: flair user, non-modmail action Co-authored-by: Erin <[email protected]>
This pull request adds mod macro option for assigning a user an existing user flair.