feat: rename Active Tools to Project Insights panel

- Rename Active Tools panel to Project Insights with updated styling
- Make panel bigger (450x350px) and resizable with drag handle
- Add settings toggle in Display tab to enable/disable panel
- Close subagent windows when parent session is killed/closed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-26 00:15:11 +01:00
co-authored by Claude Opus 4.5
parent ac7238dff2
commit fbecbfb7cf
3 changed files with 146 additions and 88 deletions
+15 -6
View File
@@ -172,13 +172,14 @@
<div class="terminal-container" id="terminalContainer"></div>
</main>
<!-- Active Tools Panel (shows file-viewing Bash commands) -->
<div class="active-tools-panel" id="activeToolsPanel">
<div class="active-tools-header">
<span class="active-tools-title">Active Tools</span>
<button class="btn-icon-sm" onclick="app.closeActiveToolsPanel()" title="Close">&times;</button>
<!-- Project Insights Panel (shows file-viewing Bash commands) -->
<div class="project-insights-panel" id="projectInsightsPanel">
<div class="project-insights-header">
<span class="project-insights-title">Project Insights</span>
<button class="btn-icon-sm" onclick="app.closeProjectInsightsPanel()" title="Close">&times;</button>
</div>
<div class="active-tools-body" id="activeToolsList"></div>
<div class="project-insights-body" id="projectInsightsList"></div>
<div class="project-insights-resize-handle"></div>
</div>
<!-- Bottom Toolbar -->
@@ -629,6 +630,14 @@
</label>
<span class="form-hint">Show the Subagents panel (independent from Monitor)</span>
</div>
<div class="form-row form-row-switch">
<label>Show Project Insights Panel</label>
<label class="switch">
<input type="checkbox" id="appSettingsShowProjectInsights" checked>
<span class="slider"></span>
</label>
<span class="form-hint">Show active tools and file viewers in a floating panel</span>
</div>
</div>
<!-- Claude CLI Tab -->
<div class="modal-tab-content hidden" id="settings-claude">