fix: Docker-first test suite, UX improvements, and bug fixes (#100)

Dashboard UX:
- Restructure nav from 22 flat links to 6 core + MORE dropdown
- Add mobile nav section labels (Core, Intelligence, Agents, System, Commerce)
- Defer marked.js and dompurify.js loading, consolidate CDN to jsdelivr
- Optimize font weights (drop unused 300/500), bump style.css cache buster
- Remove duplicate HTMX load triggers from sidebar and health panels

Bug fixes:
- Fix Timmy showing OFFLINE by registering after swarm recovery sweep
- Fix ThinkingEngine await bug with asyncio.run_coroutine_threadsafe
- Fix chat auto-scroll by calling scrollChat() after history partial loads
- Add missing /voice/button page and /voice/command endpoint
- Fix Grok api_key="" treated as falsy falling through to env key
- Fix self_modify PROJECT_ROOT using settings.repo_root instead of __file__

Docker test infrastructure:
- Bind-mount hands/, docker/, Dockerfiles, and compose files into test container
- Add fontconfig + fonts-dejavu-core for creative/assembler TextClip tests
- Initialize minimal git repo in Dockerfile.test for GitSafety compatibility
- Fix introspection and path resolution tests for Docker /app context

All 1863 tests pass in Docker (0 failures, 77 skipped).

Co-authored-by: Alexander Payne <apayne@MM.local>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alexander Whitestone
2026-02-28 22:14:37 -05:00
committed by GitHub
parent 6e67c3b421
commit 89cfe1be0d
12 changed files with 194 additions and 55 deletions

View File

@@ -145,6 +145,61 @@ a:hover { color: var(--orange); }
}
.mc-test-link:hover { border-color: var(--purple); color: var(--purple); }
/* ── Named link colors ───────────────────────────── */
.mc-link-thinking { color: #c084fc; }
.mc-link-bugs { color: #ff6b6b; }
.mc-link-grok { color: #00ff88; }
/* ── Desktop "More" dropdown ─────────────────────── */
.mc-nav-dropdown { position: relative; }
.mc-dropdown-toggle {
background: none;
cursor: pointer;
}
.mc-dropdown-menu {
display: none;
position: absolute;
top: calc(100% + 6px);
right: 0;
background: rgba(17, 8, 32, 0.96);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid var(--border);
border-radius: 4px;
padding: 8px 0;
min-width: 160px;
z-index: 150;
max-height: 70vh;
overflow-y: auto;
flex-direction: column;
}
.mc-nav-dropdown:hover .mc-dropdown-menu,
.mc-nav-dropdown.open .mc-dropdown-menu {
display: flex;
}
.mc-dropdown-menu .mc-test-link {
display: block;
padding: 6px 14px;
border: none;
border-radius: 0;
white-space: nowrap;
}
.mc-dropdown-menu .mc-test-link:hover {
background: rgba(124, 58, 237, 0.12);
}
/* ── Mobile section labels ───────────────────────── */
.mc-mobile-section-label {
font-size: 9px;
font-weight: 700;
color: var(--text-dim);
letter-spacing: 0.2em;
padding: 12px 20px 4px;
text-transform: uppercase;
border-top: 1px solid var(--border);
margin-top: 4px;
}
/* ── Hamburger (mobile only) ───────────────────── */
.mc-hamburger {
display: none;