reddit-moderator-toolbox
reddit-moderator-toolbox copied to clipboard
Moderator toolbox for reddit extension development.
So here's a large PR that is partially a rewrite of the removal reasons module and partially a proof of concept of the removal reasons. It's quite some spaghetti, so...
Right now, `getThingInfo` uses a lot of DOM calls to get its information. We can speed this process up significantly by using getters around those calls instead of computing *all*...
For most popups (e.g. modbutton) logic for positioning the popup works by setting its position to the location of the button that triggered it. When the button is near the...
[from discord](https://discord.com/channels/535490452066009090/535490561478492161/795812226761359360) Rather than trying to highlight *all* instances of the match text, first try to highlight case-sensitive instances of the match text surrounded by word breaks. If there are...
[Custom elements is a living standard](https://caniuse.com/#feat=custom-elementsv1) and all our targeted browsers support it. Would it make sense for us to utilize custom elements for part of our UI? Particularly, I...
rel #218, surprised we didn't think to add this then.
I have a moderation bot that imports text from mod macros so it can use the same exact text for some of its actions (it uses text from about 15...
Please allow mod macros to send PMs to a username specified in the mod macro itself (e.g., a shared moderation account or moderation bot used by the subreddit). This would...
This image should be self-explanatory: https://imgur.com/a/KSaNm5U. This seems to consistently (or at least often) happen when first opening an archived conversation. Reloading the conversation will generally fix this.
Instead of using stuff like ``, ``, `` inside removal reason bodies to get custom text input, we should have tokens that are replaced with the appropriate elements without having...