Skip to content

Commit 5af84c0

Browse files
committed
Remove debugz
1 parent 9a01e4d commit 5af84c0

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

src/pages/RemoteProduct.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -252,16 +252,6 @@ export function RemoteProduct() {
252252
/>
253253
)}
254254

255-
{/* DEBUG — remove after mobile investigation */}
256-
<div style={{
257-
background: '#ff0', color: '#000', fontSize: '13px', padding: '8px 12px',
258-
fontFamily: 'monospace', fontWeight: 'bold', flexShrink: 0, zIndex: 99999,
259-
}}>
260-
showForm={String(shouldShowForm)} | entries={entries.length} | activeId={activeId?.slice(0, 8) ?? 'null'}
261-
{activeEntry ? ` | host=${activeEntry.host} proto=${activeEntry.protocol}` : ' | NO activeEntry'}
262-
{` | showForm=${String(showForm)}`}
263-
</div>
264-
265255
<div className="remote-product-body">
266256
{showSidebar && (
267257
<ChatSidebar

src/pages/RemoteSession.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,24 +115,9 @@ export function RemoteSession({ host, password, protocol, onStatusChange, onBrid
115115
};
116116
}, [connect]);
117117

118-
// Debug overlay — remove after debugging mobile blank page
119-
const debugBanner = (
120-
<div style={{
121-
position: 'fixed', bottom: 0, left: 0, right: 0, zIndex: 99999,
122-
background: '#1a1a2e', color: '#0f0', fontSize: '11px', padding: '6px 10px',
123-
fontFamily: 'monospace', borderTop: '1px solid #333', maxHeight: '30vh', overflow: 'auto',
124-
}}>
125-
<div>status: <b>{state.status}</b></div>
126-
<div>host: {host} | protocol: {protocol ?? 'auto'}</div>
127-
{state.status === 'error' && <div style={{ color: '#f44' }}>error: {state.message}</div>}
128-
<div>bridge connected: {String(bridgeRef.current?.isConnected() ?? false)}</div>
129-
</div>
130-
);
131-
132118
const content = state.status === 'connected' ? (
133119
<div className="remote-session">
134120
<WebviewApp />
135-
{debugBanner}
136121
</div>
137122
) : state.status === 'error' ? (
138123
<div className="remote-session-status">
@@ -143,15 +128,13 @@ export function RemoteSession({ host, password, protocol, onStatusChange, onBrid
143128
<button className="remote-session-retry" onClick={connect}>
144129
Retry
145130
</button>
146-
{debugBanner}
147131
</div>
148132
) : (
149133
<div className="remote-session-status">
150134
<div className="remote-session-connecting">
151135
<div className="remote-session-spinner" />
152136
<span>Connecting to {host}</span>
153137
</div>
154-
{debugBanner}
155138
</div>
156139
);
157140

0 commit comments

Comments
 (0)