fix: remove debug panel close button to keep it always visible

The close button would hide the debug panel with display: none,
making it impossible to see debug messages without reloading.

Also includes HTTP POST workaround changes for terminal command
execution that bypass the WebSocket send issue.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-19 20:26:27 +00:00
Unverified
parent 815f7095fd
commit 9f35b68ea2
3 changed files with 94 additions and 28 deletions

View File

@@ -225,11 +225,10 @@
</div>
</div>
<!-- Debug Panel -->
<!-- Debug Panel - Always visible for debugging -->
<div id="terminal-debug-panel" style="margin: 20px; padding: 15px; background: #1a1a1a; border: 1px solid #ff6b6b; border-radius: 8px; font-family: monospace; font-size: 12px; color: #e0e0e0;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<div style="margin-bottom: 10px;">
<h3 style="margin: 0; color: #ff6b6b;">🐛 Terminal Debug Panel</h3>
<button onclick="document.getElementById('terminal-debug-panel').style.display = 'none'" style="background: #ff6b6b; border: none; color: white; padding: 4px 12px; border-radius: 4px; cursor: pointer;">Close</button>
</div>
<div id="terminal-debug-content" style="max-height: 300px; overflow-y: auto;">
<div style="color: #888;">Waiting for terminal activity...</div>