-
-
- setField("name", v)}
- placeholder="Evening Sitcoms"
- error={!!errors[`${pfx}.name`]}
- />
-
-
- setContentType(v as "algorithmic" | "manual")}
- >
-
-
-
-
-
+
+
+ setField("start_time", e.target.value + ":00")}
+ className="w-full rounded-md border border-zinc-700 bg-zinc-800 px-3 py-2 text-sm text-zinc-100 focus:border-zinc-500 focus:outline-none"
+ />
+
+
+ setField("duration_mins", v === "" ? 60 : v)}
+ min={1}
+ error={!!errors[`${pfx}.duration_mins`]}
+ />
+
+
-
-
- setField("start_time", e.target.value + ":00")}
- className="w-full rounded-md border border-zinc-700 bg-zinc-800 px-3 py-2 text-sm text-zinc-100 focus:border-zinc-500 focus:outline-none"
- />
-
-
- setField("duration_mins", v === "" ? 60 : v)}
- min={1}
- error={!!errors[`${pfx}.duration_mins`]}
- />
-
-
+ {content.type === "algorithmic" && (
+ <>
+
- {content.type === "algorithmic" && (
- <>
-
-
- {content.strategy === "sequential" && (
-
- )}
- >
- )}
-
- {content.type === "manual" && (
+ {content.strategy === "sequential" && (
)}
+ >
+ )}
- {/* Block-level access control */}
-
-
Block access
-
onChange({ ...block, access_mode: v as AccessMode })}
- >
-
-
-
-
-
- {(block.access_mode === "password_protected") && (
-
onChange({ ...block, access_password: e.target.value })}
- className="w-full rounded-md border border-zinc-700 bg-zinc-800 px-3 py-2 text-sm text-zinc-100 placeholder:text-zinc-600 focus:border-zinc-500 focus:outline-none"
- />
- )}
-
+ {content.type === "manual" && (
+
)}
+
+ {/* Block-level access control */}
+
+
Block access
+
onChange({ ...block, access_mode: v as AccessMode })}
+ >
+
+
+
+
+
+ {(block.access_mode === "password_protected") && (
+
onChange({ ...block, access_password: e.target.value })}
+ className="w-full rounded-md border border-zinc-700 bg-zinc-800 px-3 py-2 text-sm text-zinc-100 placeholder:text-zinc-600 focus:border-zinc-500 focus:outline-none"
+ />
+ )}
+