💖 What it does
When you click the "Comments" button, instead of opening the Comments page, this script will pop up a little dialog displaying the first 20 Top Level Comments. It'll also give you a textbox to submit a new comment to that tag.
You can also choose to check all tags on the page for comments at once with the "Load All Comments" button.
🪴 How to use it
Prerequisites
You have to have a script installed that adds a "Comments" button in the Bin, for example Action Buttons Everywhere. But any of the other scripts by dusty or Rhine should also work.
You should also disable or delete the 'Comment on tags without leaving the bins' and 'Check for Comments from bins' scripts, because they do the same thing.
If you have the latest version of the Comment Formatting and Preview script installed, you'll get the formatting buttons above the textbox (marked blue in the above screenshot).
Now you're ready
Go into your bins:
- Click on a tag's "Comments" button in the "Manage" column.
- The top level comments are downloaded in the background and a dialog opens.
- The tooltip on each tag's "Comments" button will show how many comment threads this tag has.
- If your button is using an icon, the icon changes if there are no comments (outlined instead of filled).
- The dialog has a "Open Comment Page" link at the top, so you can still get to the actual Comments page. It opens in a new tab.
- The dialog lists the first 20 previous top-level comments, and who they were posted by. It does not show any replies.
- The textbox underneath lets you post a new top-level comment to the tag.
You can also choose to check all tags on the page for comments at once:
- Click the "Load All Comments" button in the header of the "Manage" column.
- This silently caches all the tags' top-level comments, but doesn't show them yet.
- The tooltip on each tag's "Comments" button will show how many comment threads this tag has.
- If your button is using an icon, the icon changes if there are no comments (outlined instead of filled).
- Especially when using icons, you can immediately tell which tags are lacking comments.
🐞 Known limitations
You can only see top-level comments—not if they have replies, and you can't reply to them from within this dialog. You also cannot edit them from this dialog.
If you use text on the buttons, they don't change to say "0 Comments". That's to avoid the button's size suddenly changing and the column width jumping around. You still get the tooltip, though.
A note on rate limits vs. memory usage: Each tag's comments are cached in your browser, and it's only emptied when you close the tab.
- If you're working through a bin in the same tab, any tag that was checked once won't create any further pageloads, to reduce the chance that you'll be rate limited.
- But the comments cache also builds up a lot of data, and it's inherited when you open up a second tab from the first. So I highly recommend to occasionally close your wrangling tabs!
🏛️ History
- v1
- view top level comments
- post new comment to tag
- support for Comment Formatting script
🏅 Credit
This script was inspired by the Comment on tags without leaving the bins and Check for Comments from bins scripts. It expands on those ideas, but doesn't share any code in common.