refactor: move auto-compact/clear to new Context tab in session options

Split the session options modal into three tabs (Respawn, Context,
Ralph/Todo) to reduce vertical height. Removed redundant header and
border from the Respawn section. Also condensed CLAUDE.md and added
AI idle checker documentation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-24 19:12:47 +01:00
co-authored by Claude Opus 4.5
parent 0e56e590f3
commit b98913e328
4 changed files with 80 additions and 387 deletions
+2 -1
View File
@@ -2495,12 +2495,13 @@ class ClaudemanApp {
switchOptionsTab(tabName) {
// Toggle active class on tab buttons
document.querySelectorAll('.modal-tab-btn').forEach(btn => {
document.querySelectorAll('#sessionOptionsModal .modal-tab-btn').forEach(btn => {
btn.classList.toggle('active', btn.dataset.tab === tabName);
});
// Toggle hidden class on tab content
document.getElementById('respawn-tab').classList.toggle('hidden', tabName !== 'respawn');
document.getElementById('context-tab').classList.toggle('hidden', tabName !== 'context');
document.getElementById('ralph-tab').classList.toggle('hidden', tabName !== 'ralph');
}