mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 08:29:42 +02:00
refactor: UI cleanup - move respawn controls, remove mode label, fix dir width
- Move respawn controls from toolbar to session options modal - Remove unnecessary Mode label from session options (visible in tab) - Increase directory input width from 200px to 350px - Add RTL direction to directory display to show end of long paths - Add respawn status indicator with stop/configure buttons in modal Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+10
-11
@@ -85,13 +85,6 @@
|
||||
</button>
|
||||
<input type="text" id="dirInput" class="toolbar-input hidden" placeholder="Working directory..." onblur="app.hideDirInput()">
|
||||
</div>
|
||||
|
||||
<!-- Respawn Settings -->
|
||||
<div class="toolbar-group">
|
||||
<button class="btn-toolbar" onclick="app.toggleRespawnPanel()" id="respawnToggleBtn" title="Respawn settings">
|
||||
Respawn
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="toolbar-right">
|
||||
@@ -257,14 +250,20 @@
|
||||
<label>Session Name</label>
|
||||
<input type="text" id="sessionNameInput" placeholder="Enter session name...">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label>Mode</label>
|
||||
<div class="session-mode-display" id="sessionModeDisplay">Claude</div>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label>Directory</label>
|
||||
<div class="session-dir-display" id="sessionDirDisplay">/path/to/dir</div>
|
||||
</div>
|
||||
<div class="form-row session-respawn-section" id="sessionRespawnSection">
|
||||
<label>Respawn Controller</label>
|
||||
<div class="session-respawn-status" id="sessionRespawnStatus">
|
||||
<span class="respawn-status-text">Not active</span>
|
||||
</div>
|
||||
<div class="session-respawn-actions">
|
||||
<button class="btn-toolbar btn-sm" onclick="app.toggleRespawnPanel(); app.closeSessionOptions();" id="sessionConfigRespawnBtn">Configure Respawn</button>
|
||||
<button class="btn-toolbar btn-sm btn-danger" onclick="app.stopRespawnFromOptions()" id="sessionStopRespawnBtn" style="display: none;">Stop Respawn</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<button class="btn-toolbar" onclick="app.closeSessionOptions()">Cancel</button>
|
||||
|
||||
Reference in New Issue
Block a user