-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Improve display of statuses in admin panel #30813
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
Improve display of statuses in admin panel #30813
Conversation
I do note that currently the account status page does allow viewing private or follower-only posts, however, you must know the status ID, which would require database access most likely. We should probably add some sort of audited roadblock for private or follower-only statuses, which logs that the moderator has viewed that non-public status. So you try visiting a post that is private or follower-only, and you get a message that says "Hey, this is a private or followers-only post, if you want to view this, then this will be recorded in the audit log: [continue] [back]" |
f4fbf94
to
ec212c9
Compare
I'm currently expecting I'm not sure I should edit all the translations and just add |
8183186
to
f09a1ca
Compare
All in all, I think these changes make total sense.
Does not the
I think you should. As you point out, this should not lead to any visible changes. |
@oneiros I think maybe I've been tripped up by i do think we probably want some audit logging that does allow access to DMs and followers-only posts (sure, an admin can see it in the database, so I don't think this changes scope necessarily), but rather gives admins the ability to see just metadata about non-public content on their server, with an audit log (and maybe a notification to the user) of this access. But that's likely to be a later feature proposal. |
@oneiros it does not in English & flags as localisation changed, so should raise to i18n volunteers to review? I suspect they may format it differently based on their locale |
I really like the idea but agree that it should be out of scope for this PR.
This is exactly what I would expect. But I have to admit I am not yet fully familiar with the whole i18n process. |
This pull request has merge conflicts that must be resolved before it can be merged. |
f09a1ca
to
139de55
Compare
This pull request has resolved merge conflicts and is ready for review. |
Have finally rebased this pull request. In viewing a single status: When viewing the full statuses for an account: When Here's it in the report details page's reported statuses table: Note: for the report details page, I have other changes to improve that in the work I've done in #31444 |
4b9acd7
to
a1e6da0
Compare
This comment was marked as off-topic.
This comment was marked as off-topic.
a1e6da0
to
8153665
Compare
I did actually just do a test to see how much work it'd be to create a reusable partial for status display based on either the statuses/show or reports/_status partials, and it's pretty simple to take those and make them work on any status we want to display in the moderation UI / Appeals UI (though appeals definitely needs a redesign if we're to display proper statuses there) |
8153665
to
4357244
Compare
I don't understand what you mean, that's the definition of out-of-band hashtags, isn't it? Quickly skimming through the code, I don't see any place where we deal with them, which is an issue, but not a new one. |
@ClearlyClaire yes, existing issues, and something I forgot about when writing this PR, same with generating the in reply to links: there were cases where the status said it was a reply but I didn't have that post so had to fallback on not showing the in reply to banner. I think we'll want a follow up issue for out-of-band hashtags for moderation UI. Also for creating a reusable partial to share across many features |
I'd mentioned in discord that it'd be really useful to be able to link directly to statuses in the admin panel, and @ClearlyClaire said that there is, but it was "broken"
This is my attempt to fix it.
In the account statuses list, I've changed the date to link to the admin statuses page and added a "view publicly" link.
In the account statuses show page, I've made some fairly significant edits:
Old screenshots - see newer ones below