Repository navigation
Admin tools to hide projects with a reason and to shadow ban - #133
Merged
Merged
Conversation
Admins can hide a project from its page menu, the Projects list, a report or a user's dossier. They must give a reason, which the creator sees on the project and in a notification, and the creator can't share it again until an admin restores it. Admins can also shadow ban a project or a whole creator. The Bans page lists every shadow ban, a user's Moderation tab has a shadow ban panel, and the project page tells admins when a project or its creator is shadow banned. Creators are never shown any of this.
mc20000-01
pushed a commit
to mc20000-01/scratch-gui
that referenced
this pull request
Nov 7, 2026
Admin tools to hide projects with a reason and to shadow ban
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Admin UI for hiding projects with a reason and for shadow bans. It needs MistWarp/api#45.
Hiding. Admins can hide a project from the project page's
…menu, the Projects list, a report (which replaces Unshare), or a user's Projects tab. A reason is required. The creator sees it in a notice on the project and in a notification. While the project is hidden, its visibility menu is disabled and My Stuff labels it Hidden by a moderator. Restore brings it back.Shadow bans. Admins can shadow ban a project from its
…menu or the Projects list, and a creator from the new Shadow ban panel in a user's Moderation tab or from Bans › Shadow ban a user…. The Bans page now lists every shadow ban, each with a Lift shadow ban button. Admins get badges in the Projects and Users lists, a Shadow banned filter, and notices on the project page. Creators are never shown any of this.The creator's view of a hidden project, with the reason.
The same on mobile.
Hidden and restored notifications.
Admin moderation items in the project menu, and the admin-only notice on a shadow banned project.
Hiding asks for the reason the creator will see.
The Projects list with hide, restore and shadow ban actions and status badges.
The Bans page lists shadow banned creators and projects.
The Shadow ban panel in a user's Moderation tab.
Explore for another user while the creator is shadow banned: none of their projects appear.
Testing
Screenshots come from the dev server running against a local build of MistWarp/api#45. Before pushing I ran every step in node.js.yml locally: lint, the editor and community i18n checks, check:community-css, deps:check,
test:unit:ci(2447 passed),build:deployandvalidate-deploy.Preview: https://project-moderation.scratch-gui.pages.dev/project/p1791145770325031000f3eZpw (the admin actions start working once MistWarp/api#45 is deployed)