Save workspace changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React from 'react'
|
||||
import { motion, useReducedMotion } from 'framer-motion'
|
||||
import ArchiveScreenshotPicker from '../ArchiveScreenshotPicker'
|
||||
import WorldSubmissionSelector from '../../worlds/WorldSubmissionSelector'
|
||||
|
||||
function stripHtml(value) {
|
||||
return String(value || '')
|
||||
@@ -51,6 +52,7 @@ export default function Step3Publish({
|
||||
fileMetadata,
|
||||
// Metadata
|
||||
metadata,
|
||||
eligibleWorlds = [],
|
||||
// Readiness
|
||||
canPublish,
|
||||
uploadReady,
|
||||
@@ -67,6 +69,8 @@ export default function Step3Publish({
|
||||
// Category tree (for label lookup)
|
||||
allRootCategoryOptions = [],
|
||||
filteredCategoryTree = [],
|
||||
onToggleWorldSubmission,
|
||||
onChangeWorldSubmissionNote,
|
||||
}) {
|
||||
const prefersReducedMotion = useReducedMotion()
|
||||
const quickTransition = prefersReducedMotion ? { duration: 0 } : { duration: 0.2, ease: 'easeOut' }
|
||||
@@ -219,6 +223,14 @@ export default function Step3Publish({
|
||||
</div>
|
||||
|
||||
{/* ── Visibility selector ────────────────────────────────────────── */}
|
||||
<WorldSubmissionSelector
|
||||
title="Add to Worlds"
|
||||
description="Attach this artwork to active worlds for creator participation. These placements stay separate from editorial curated relations."
|
||||
options={eligibleWorlds}
|
||||
onToggle={onToggleWorldSubmission}
|
||||
onNoteChange={onChangeWorldSubmissionNote}
|
||||
/>
|
||||
|
||||
<section className="rounded-2xl border border-white/10 bg-white/[0.03] p-5">
|
||||
<p className="mb-3 text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-500">Visibility</p>
|
||||
<div className="grid gap-2 sm:grid-cols-3">
|
||||
|
||||
Reference in New Issue
Block a user