Skip to content

Admin tools to hide projects with a reason and to shadow ban - #133

Merged
Mistium merged 2 commits into
developfrom
project-moderation
Oct 11, 2026
Merged

Mistium merged 2 commits into
developfrom
project-moderation

Conversation

@Mistium

@Mistium Mistium commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

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.

Owner view of a hidden project
The creator's view of a hidden project, with the reason.

Owner view on mobile
The same on mobile.

Notifications
Hidden and restored notifications.

Admin menu
Admin moderation items in the project menu, and the admin-only notice on a shadow banned project.

Hide dialog
Hiding asks for the reason the creator will see.

Admin projects
The Projects list with hide, restore and shadow ban actions and status badges.

Bans page
The Bans page lists shadow banned creators and projects.

User moderation tab
The Shadow ban panel in a user's Moderation tab.

Explore as another user
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:deploy and validate-deploy.

Preview: https://project-moderation.scratch-gui.pages.dev/project/p1791145770325031000f3eZpw (the admin actions start working once MistWarp/api#45 is deployed)

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.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Deploying scratch-gui with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5c59679
Status:⚡️  Build in progress...

View logs

@Mistium
Mistium merged commit 60faf38 into develop Oct 11, 2026
3 of 4 checks passed
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant