feat(workshop): add the pre-publication review queue
New themes are submitted for review instead of appearing live, so the workshop now surfaces pending and rejected badges on the creator's own cards and adds a Review queue to the moderation panel with approve and reject actions. Publishing reports that the theme is awaiting review, and approval/rejection notifications are labelled.
This commit is contained in:
1 parent
0025313c4d
commit
809fca6f29
4 files changed
+247
-5
No files matched your search
@@ -3404,6 +3404,7 @@
|
||||
if (!savedFolder) return;
|
||||
}
|
||||
|
||||
const firstPublish = !definition.workshopId;
|
||||
publishing = true;
|
||||
publishProgress = 5;
|
||||
publishStatusMessage = 'Packaging theme archive...';
|
||||
@@ -3452,8 +3453,10 @@
|
||||
}
|
||||
|
||||
sileo.success({
|
||||
title: 'Published to Workshop!',
|
||||
description: `"${definition.name}" is now live in the Community Themes Workshop.`,
|
||||
title: firstPublish ? 'Submitted for review' : 'Workshop update submitted',
|
||||
description: firstPublish
|
||||
? `"${definition.name}" will be listed once a moderator approves it.`
|
||||
: `"${definition.name}" was updated in the Community Workshop.`,
|
||||
});
|
||||
|
||||
publishModalOpen = false;
|
||||
|
||||
Reference in new issue
Block a user