MCPcopy Create free account
hub / github.com/Roy3838/Observer / PipDebugPanel

Function PipDebugPanel

app/src/components/debug/PipDebugPanel.tsx:71–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69};
70
71const PipDebugPanel: React.FC = () => {
72 const [open, setOpen] = useState(true);
73 if (!open) {
74 return (
75 <button onClick={() => setOpen(true)} className="fixed bottom-3 right-3 z-[10000] px-3 py-1.5 rounded-full bg-gray-900 text-white text-xs shadow-lg">
76 PiP debug
77 </button>
78 );
79 }
80 return (
81 <div className="fixed bottom-3 left-3 right-3 z-[10000] rounded-xl bg-white shadow-2xl ring-1 ring-gray-200 p-3">
82 <div className="flex items-center justify-between mb-2">
83 <span className="text-xs font-semibold text-gray-900">PiP debug</span>
84 <button onClick={() => setOpen(false)} className="p-1 text-gray-400 hover:text-gray-700"><X className="w-4 h-4" /></button>
85 </div>
86 <div className="flex gap-3">
87 <Column mode="canvas" label="Canvas only" />
88 <Column mode="video" label="Video + overlay" />
89 </div>
90 </div>
91 );
92};
93
94export default PipDebugPanel;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected