-
Notifications
You must be signed in to change notification settings - Fork 48
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
New Features: Quick Flags; Mass Labeler #827
base: master
Are you sure you want to change the base?
New Features: Quick Flags; Mass Labeler #827
Conversation
Co-authored-by: April Sylph <[email protected]>
I was going to update this to use the mass post editor endpoint (https://www.tumblr.com/changes/715595761003429888/tuesday-april-25th-2023) to perform the edits in batches of 100, but the page actually uses a legacy SVC endpoint at the moment, which we can't realistically make use of. Edit: It was fixed not to use internal blog IDs, but it currently overwrites label categories rather than adding to them. This makes it difficult to use in a bulk scenario, as multiple posts which begin with different categories cannot be edited correctly in the same API request. |
The mass post editor continues to overwrite rather than add, unlike what its UI suggests. Using its endpoint correctly would therefore require sorting posts by their current labels, which I actually am happy to code. This is, on the one hand, a lot of coding effort (sure) and testing/maintenance effort (problematic) for a feature that I would be surprised if many people used. On the other hand, I think this existing is good for the completeness of the ecosystem; if we really want to encourage people to community label their content comprehensively, better tools to do that seem like good messaging. |
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.
I think this needs to be split into two features. "Quick Flags" should be the feature with the control buttons on individual posts, while the mass labeller should be, er, probably yeah that. "Mass Labeller".
👍 I feel like if I ever have a baby I'll need to message you for naming suggestions. |
I guess this selector should be a util, huh. or actually the whole editable-posts-get-buttons thing should be exported from control_buttons.js
could instead be top level await, but that would make scripts silently fail to load on any error which I vehemently hate
Co-Authored-By: April Sylph <[email protected]>
Co-Authored-By: April Sylph <[email protected]>
continuation of #771
skip attempts to edit legacy posts (https://discord.com/channels/104051306309644288/327155782934200320/1074380420361224272)no longer neededDescription
This creates a script to quickly toggle the mature content
communitylabels on youroriginal postsposts and reblogs.It implements a Quick Tags-style dropdown that lets the user label an individual post and a bulk-edit sidebar option and modal form to easily retroactively flag every post with certain tags or the user's entire blog.
Testing steps