Merge: remove Capture nav, add Playout warning
This commit is contained in:
commit
cf928d1a46
2 changed files with 16 additions and 2 deletions
|
|
@ -1147,6 +1147,21 @@ function Playout() {
|
|||
</div>
|
||||
|
||||
<div className="page-body po-page">
|
||||
<div style={{
|
||||
background: '#fef3c7',
|
||||
borderLeft: '4px solid #f59e0b',
|
||||
color: '#78350f',
|
||||
padding: '10px 16px',
|
||||
fontWeight: 600,
|
||||
fontSize: 14,
|
||||
borderRadius: 4,
|
||||
marginBottom: 12,
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: 8,
|
||||
}}>
|
||||
⚠ Playout is in testing — not for production use.
|
||||
</div>
|
||||
{err && <div className="alert error">{err}</div>}
|
||||
|
||||
{channels === null && <div className="muted">Loading channels…</div>}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ const NAV_SECTIONS = [
|
|||
{
|
||||
label: "Operations",
|
||||
items: [
|
||||
{ id: "capture", label: "Capture", icon: "capture" },
|
||||
{ id: "playout", label: "Playout", icon: "signal" },
|
||||
{ id: "jobs", label: "Jobs", icon: "jobs" },
|
||||
],
|
||||
|
|
@ -150,7 +149,7 @@ function Sidebar({ active, onNavigate, me, collapsed, onToggle }) {
|
|||
};
|
||||
|
||||
React.useEffect(() => {
|
||||
const ingestChildren = ["upload", "youtube", "recorders", "schedule", "capture", "monitors"];
|
||||
const ingestChildren = ["upload", "youtube", "recorders", "schedule", "monitors"];
|
||||
if (ingestChildren.includes(active)) {
|
||||
setOpenGroups(prev => prev.has("ingest") ? prev : new Set([...prev, "ingest"]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue