AO3: [Wrangling] View and Post Comments from the Bin

Loads a preview of top-level comments (such as translations) and lets you comment on the tag

Δημιουργός
escctrl
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
1
Βαθμολογίες
0 0 0
Έκδοση
2.0
Δημιουργήθηκε την
12/04/2025
Ενημερώθηκε την
18/05/2025
Μέγεθος
20 KB
Άδεια
MIT
Εφαρμόζεται σε

💖 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 give you a textbox to submit a new comment to that tag, and allows you to edit your own comments from within the dialog.

You can check all tags on the page for comments at once with the "Load All Comments" button.

example of the script dialog opened to a tag with one previous comment. marked in yellow are the 'Comments' buttons on each tag. marked in blue are the Comment Formatting buttons within the dialog.

🪴 How to use it

Go into your bins:

  1. Click on a tag's "Comments" button in the "Manage" column.
  2. 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).
  3. The dialog has a "Open Comment Page" link at the bottom, so you can still get to the actual Comments page. It opens in a new tab.
  4. The dialog lists the first 20 previous top-level comments, and who they were posted by. It does not show any replies.
  5. The textbox underneath lets you post a new top-level comment to the tag.

If one of the existing comments was posted by you, you'll see an Edit button next to your name. Clicking it will load the comment text into the textbox and you can update it.

You can also choose to check all tags on the page for comments at once:

  1. Click the "Load All Comments" button in the header of the "Manage" column.
  2. 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).
  3. Especially when using icons, you can immediately tell which tags are lacking comments.

Compatibility with other scripts

If you have a script installed that adds a "Comments" button in the Bin (for example Action Buttons Everywhere, or any of the scripts by dusty or Rhine) this script co-opts the button. Instead of opening the Comments page directly, the button will now open the dialog.

You should 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).

🐞 Known limitations

You can only see top-level comments—not whether they have replies, and you can't reply to them from within 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

  • v2 - adds the Comment button as fallback if no other script added one
  • v1
    • view top level comments
    • post new comment to tag
    • edit your comments on a 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.