feat: add settings gear icon with app settings modal

- Add gear icon button in header-right for app settings
- Create App Settings modal with fields for:
  - Default CLAUDE.md template path
  - Default working directory
- Settings persist to ~/.claudeman/settings.json
- Add GET/PUT /api/settings endpoints
- Keep "+" tab for creating new sessions (useful UX)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-19 02:08:58 +01:00
co-authored by Claude Opus 4.5
parent 0876c2d4e9
commit 5f29455bbb
4 changed files with 150 additions and 2 deletions
+21
View File
@@ -187,6 +187,27 @@ body {
font-family: 'SF Mono', Monaco, monospace;
}
.btn-icon-header {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
background: transparent;
border: none;
color: var(--text-dim);
font-size: 1rem;
cursor: pointer;
border-radius: 4px;
transition: all 0.15s;
}
.btn-icon-header:hover {
background: var(--bg-hover);
color: var(--text);
transform: rotate(45deg);
}
/* Session tab gear icon */
.session-tab .tab-gear {
opacity: 0;