mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 07:29:42 +02:00
feat: add close buttons for Ralph tracker and Monitor panels
- Add close button (×) to Ralph Wiggum tracker panel - Add close button (×) to Monitor panel - Add "Show Monitor Panel" toggle in app settings (default: on) - closeRalphTracker() disables tracker and hides panel - closeMonitor() hides panel and saves setting Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -100,6 +100,7 @@
|
||||
</div>
|
||||
<div class="ralph-controls">
|
||||
<button class="btn-icon-sm" onclick="event.stopPropagation(); app.toggleRalphDetach()" title="Detach/Attach panel" id="ralphDetachBtn">⧉</button>
|
||||
<button class="btn-icon-sm" onclick="event.stopPropagation(); app.closeRalphTracker()" title="Close tracker">×</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -229,6 +230,7 @@
|
||||
<button class="btn-icon-sm" onclick="app.reconcileScreens()" title="Refresh screens">↻</button>
|
||||
<button class="btn-icon-sm" onclick="app.toggleMonitorDetach()" title="Detach panel" id="monitorDetachBtn">⧉</button>
|
||||
<button class="btn-icon-sm" onclick="app.toggleMonitorPanel()" title="Toggle panel" id="monitorToggleBtn">▲</button>
|
||||
<button class="btn-icon-sm" onclick="app.closeMonitor()" title="Close monitor">×</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="monitor-resize-handle" id="monitorResizeHandle"></div>
|
||||
@@ -469,6 +471,14 @@
|
||||
</label>
|
||||
<span class="form-hint">Show total token count in header</span>
|
||||
</div>
|
||||
<div class="form-row form-row-switch">
|
||||
<label>Show Monitor Panel</label>
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="appSettingsShowMonitor" checked>
|
||||
<span class="slider"></span>
|
||||
</label>
|
||||
<span class="form-hint">Show Monitor panel at bottom right</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="settings-section">
|
||||
<div class="settings-section-title">General</div>
|
||||
|
||||
Reference in New Issue
Block a user