feat: session naming, username/persona rename, help page, contrast fixes

- Session name field: PATCH /sessions/{id} endpoint, inline rename button in UI
- Persona rename: inline ✏ toggle form in settings, POST /settings/persona/rename
- Username rename: inline form in settings, POST /settings/username (renames home dir, forces re-login)
- Help page: dedicated /help route replacing modal, collapsible sections
- Per-persona isolation: files.py and session_store.py now scope to correct user/persona
- Contrast/visibility: muted text bumped to slate-400+, session rename btn at 0.4 opacity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Scott Idem
2026-03-23 23:10:12 -04:00
parent 1b425a539f
commit 0cf0d65e9e
10 changed files with 351 additions and 33 deletions

View File

@@ -24,7 +24,7 @@
.back-link {
display: inline-block;
font-size: 0.8rem;
color: #64748b;
color: #94a3b8;
text-decoration: none;
margin-bottom: 1.5rem;
}
@@ -36,7 +36,7 @@
border-bottom: 1px solid #2d3148;
}
header h1 { font-size: 1.5rem; font-weight: 700; color: #a78bfa; }
header p { font-size: 0.85rem; color: #64748b; margin-top: 0.25rem; }
header p { font-size: 0.85rem; color: #94a3b8; margin-top: 0.25rem; }
#help-body { line-height: 1.7; }
@@ -62,7 +62,7 @@
summary::before {
content: '▶';
font-size: 0.65rem;
color: #64748b;
color: #94a3b8;
transition: transform 0.15s;
}
details[open] summary::before { transform: rotate(90deg); }
@@ -89,13 +89,13 @@
#help-body h3 {
font-size: 0.8rem;
font-weight: 600;
color: #64748b;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 0.75rem 0 0.25rem;
}
#loading { color: #64748b; font-size: 0.9rem; padding: 1rem 0; }
#loading { color: #94a3b8; font-size: 0.9rem; padding: 1rem 0; }
</style>
</head>
<body>