mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-08 08:29:42 +02:00
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:
@@ -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');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user