8 Commits

Author SHA1 Message Date
62df7ed6cd Add sticky ToC sidebar to document read view
Builds a table of contents client-side from rendered heading IDs.
Highlights the current section on scroll. Collapses to inline on
narrow screens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:59:01 -07:00
2c3db6ea25 Add SSO login support via mcdsl/sso
When [sso].redirect_uri is configured, the web UI shows a "Sign in
with MCIAS" button instead of the username/password form. Upgrades
mcdsl to v1.7.0 which includes the Firefox cookie fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 23:15:06 -07:00
063bdccf1b Second deployment test. 2026-03-29 18:13:15 -07:00
67cbcd85bd Tweaking to test deployment. 2026-03-29 18:10:51 -07:00
ed3a547e54 Add unqueue (delete) button to web reading view
Adds a delete route and handler to the web UI so documents can be
removed directly from the reading page. Uses CSRF-protected POST with a
browser confirmation dialog. Styled with a danger accent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 00:08:45 -07:00
940993a2e3 Add light/dark theme toggle
CSS custom properties overridden via [data-theme="dark"] with
prefers-color-scheme fallback. Toggle in nav persists choice to
localStorage. No Go changes — CSS and template only.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 21:55:24 -07:00
a5b90b690e Switch to Tufte-inspired reading theme
Cream background, serif typography (Georgia/Palatino), italic headings,
small-caps labels, minimal chrome. Reading area at 70% width. Designed
for long-form markdown reading on mobile and desktop.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 12:17:43 -07:00
bc1627915e Initial implementation of mcq — document reading queue
Single-binary service: push raw markdown via REST/gRPC API, read rendered
HTML through mobile-friendly web UI. MCIAS auth on all endpoints, SQLite
storage, goldmark rendering with GFM and syntax highlighting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 11:53:26 -07:00