Commit Graph

157 Commits

Author SHA1 Message Date
1d6edaa1de Fix docs.yml for docs/ subdirectory move
- Install dependencies: add `cd docs &&`
- Build docs site: add `cd docs &&`
- Artifact paths: build → docs/build (both upload steps)
- Cache path: node_modules → docs/node_modules
- Trigger paths: remove stale root-level paths (docusaurus.config.ts,
  sidebars.ts, package.json, bun.lock, tsconfig.json, src/css/**,
  static/**) — all now covered by docs/**

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nightly-20260331-211835-1d6edaa
2026-03-31 17:18:25 -04:00
c5d8835022 Fix docs.yml YAML syntax error on line 102
Remove stray duplicate fragment left by the previous edit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nightly-20260331-211243-c5d8835
2026-03-31 17:12:19 -04:00
a262d6092e Move Docusaurus docs site into docs/ subdirectory
Relocates the entire Docusaurus site from the repo root into a
dedicated docs/ directory to keep docs tooling separate from the
Rust/frontend workspace. Updates CI workflows (build.yml, docs.yml),
justfile (adds `just docs` task), and GEMINI.md to reflect the new
paths.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nightly-20260331-210831-a262d60
2026-03-31 17:08:03 -04:00
1ece505bad Fix browse panel height and replace custom bar charts with recharts
LibraryStep: replace viewport-relative h-[min(28rem,calc(100dvh-20rem))]
with a fixed h-[420px] so the file browser panel renders correctly inside
nested overflow-y-auto scroll containers in the setup wizard.

SavingsOverview: replace percentage-height CSS bar divs with proper
recharts AreaChart (savings over time) and BarChart (savings by codec),
using CSS variable tokens for all colors. Removes the now-unused
formatCompactStorage helper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nightly-20260331-205716-1ece505
2026-03-31 16:57:04 -04:00
f689453261 Fix React errors, add retry countdowns, stats depth, mobile layout, ARM64 nightly CI
- Fix React #418/#423: remove activeIndex effect from SettingsPanel, defer
  applyRootTheme via requestAnimationFrame in AppearanceSettings
- Add retry countdown on failed job rows with 30s refresh tick
- Add attempt_count to Job interface; add job_count to CodecSavings (Rust + frontend)
- Stats page: Total Library Reduction headline, job counts per codec, recharts BarChart
  for jobs-per-day histogram
- Mobile layout: hamburger overlay sidebar with backdrop, hide Updated/priority
  columns on small screens in jobs table
- CI: check-web now runs e2e tests; docker workflow adds nightly schedule
  building linux/amd64,linux/arm64 and tagging :nightly

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
nightly-20260331-144410-f689453
2026-03-31 10:43:56 -04:00
3518dccac3 Remove ReDoc docs and tighten scan analysis handling nightly-20260331-050642-3518dcc 2026-03-31 01:06:32 -04:00
87d5f879bf Format hardware device path vendor resolution nightly-20260331-022621-87d5f87 2026-03-30 22:26:14 -04:00
4fbfbacdf0 Keep the engine running and improve job status details 2026-03-30 22:23:27 -04:00
dcdb48deeb Fix setup recovery tests and format hardware detection nightly-20260331-011750-dcdb48d 2026-03-30 21:17:42 -04:00
ffb5562f95 Implemented the setup wizard welcome step as requested. Added `web/src/c 2026-03-30 21:00:11 -04:00
cfe85f0820 Remove Gemini workflows and command definitions nightly-20260330-183043-cfe85f0 2026-03-30 14:30:34 -04:00
13f744bd30 Apply 5 missed fixes
- LibraryStep.tsx: Add optional chaining for browse.entries
- Dashboard.tsx: Replace status-success with helios-solar color
- ResourceMonitor.tsx: Replace status-success with helios-solar color
- processor.rs: Add auto-pause on empty queue with SSE notification
- wizard.rs: Wait for scan completion before analyzing pending jobs

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 13:32:16 -04:00
69902b8517 Fix audit findings and CI test failures
Backend fixes:
- auth.rs: Replace .unwrap() with pattern matching and .expect()
- middleware.rs: Replace .unwrap() with .expect() for static headers
- pipeline.rs: Add error logging for analysis/planning failures
- pipeline.rs: Log profile fetch errors instead of swallowing silently
- wizard.rs: Set setup_required=false after setup completes (fixes CI)
- tests.rs: Use tx_capacity for jobs channel to test lag behavior (fixes CI)

Frontend fixes:
- JobManager.tsx: Add exponential backoff for SSE reconnect (1s-30s + jitter)
- SettingsPanel.tsx: Fix React hydration by moving URL parsing to useEffect
- api.ts: Increase timeout from 15s to 30s for hardware detection

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
nightly-20260330-150840-69902b8
2026-03-30 11:08:23 -04:00
d17c8dbe23 Fix engine controls and job detail rendering nightly-20260330-124907-d17c8db 2026-03-30 08:48:58 -04:00
f47a61a9ea Make just dev build Astro before starting the backend nightly-20260330-014205-f47a61a 2026-03-29 21:41:55 -04:00
98055c586f Implement engine auto-analysis and settings UI refinements nightly-20260330-003241-98055c5 2026-03-29 20:32:32 -04:00
57e4a22be2 Audit drain, analysis, and settings regressions nightly-20260330-002416-57e4a22 2026-03-29 20:24:08 -04:00
3f28728b3e Fix engine analysis, drain flow, and settings UI regressions 2026-03-29 19:56:21 -04:00
3c7bd73bed Improve skip explanations and restore sidecar rollback nightly-20260329-133739-3c7bd73 2026-03-29 09:37:31 -04:00
8961d4c8e9 Create unique nightly releases and drop sha256 uploads nightly-20260329-130941-8961d4c 2026-03-29 09:09:33 -04:00
7e534ea814 Fix timing-sensitive file watcher test on Darwin 2026-03-29 08:45:51 -04:00
6abfe2ea2b Bump version to 0.3.0-dev.4 2026-03-29 08:35:22 -04:00
14da21ed89 Fix various security, concurrency, and UI issues 2026-03-29 08:34:39 -04:00
e33c1e3c4d Add library intelligence duplicate detection 2026-03-28 22:55:30 -04:00
484dc2a8e2 Serve docs from root on GitHub Pages 2026-03-28 22:01:15 -04:00
6486e94b99 Switch root docs workflow and site from npm to Bun 2026-03-28 21:46:42 -04:00
46aeb4694a Stamp nightly builds with commit-based runtime version 2026-03-28 21:09:10 -04:00
92812b7b4d Plan simulation mode and drop docs zip checksum 2026-03-28 20:50:55 -04:00
ec9e228247 Plan Nightly artifact-based Docker packaging 2026-03-28 20:23:01 -04:00
4a4d09e41a Remove unnecessary casts in system memory metrics 2026-03-28 19:18:06 -04:00
24de8d658c Point CI and docs workflows at master 2026-03-28 19:10:09 -04:00
46e8ffee2a Add Docusaurus docs site and GitHub Pages release packaging 2026-03-28 18:58:36 -04:00
b2c65467a0 Migrate docs to redoc Markdown and remove Starlight 2026-03-28 12:19:30 -04:00
327585777b fix: remove redundant state clear and purge remaining banned CSS tokens
Remove the duplicate setSaveError("") call in HardwareSettings that was
already cleared before the try block. Replace all remaining text-[10px]
and text-[11px] arbitrary Tailwind tokens with text-xs across 9 components.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 10:48:51 -04:00
12c4161a3e Fix banned CSS token patterns in frontend components 2026-03-28 10:17:00 -04:00
413f1e28e4 Expand Playwright reliability coverage and harden hardware saves 2026-03-28 09:40:54 -04:00
1bcd3fefba docs: add backlog.md with future improvements
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-27 07:52:56 -04:00
f31dd23230 feat: comprehensive codebase improvements from audit
Architecture:
- Split server.rs (4,727 LOC) into 11 focused modules
- Add typed EventChannels (jobs/config/system) with appropriate capacities
- Add database query timeouts (5s on critical queries)
- Add graceful shutdown with signal handling

API:
- Add API versioning (/api/v1/) with backwards-compatible aliases
- Add X-Request-Id header for request tracing
- Create OpenAPI spec (docs/openapi.yaml)

Security:
- Add security headers middleware (CSP, X-Frame-Options, etc.)
- Add HSTS header (config-gated via https_only setting)
- Add config file permission check on Unix
- Fix path traversal vulnerability in file browser
- Add symlink detection in file browser

Frontend:
- Handle SSE lagged events with toast notification
- Clean up banned CSS patterns in components
- Add warning toast variant

Testing & Docs:
- Add FFmpeg integration tests with fixtures
- Expand documentation site (9 new pages)
- Pin MSRV to 1.85 in Cargo.toml

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-27 07:52:28 -04:00
c2fe9714e7 chore: release v0.3.0-dev.3 v0.3.0-dev.3 2026-03-25 11:40:57 -04:00
33e0cae5b6 Overhaul CI, nightly, and Docker release workflows 2026-03-25 11:35:36 -04:00
0cd401e03c Add UI regression coverage for telemetry and hardware settings 2026-03-25 11:10:44 -04:00
d5df90db0f Refactor setup UX and async execution observer plumbing 2026-03-25 08:14:24 -04:00
7334eb33d8 Fix probe and setup recovery regressions 2026-03-24 19:20:16 -04:00
36c8b5b937 Merge pending worktree fixes into master 2026-03-24 18:52:31 -04:00
835493f850 ui: rework setup wizard, job manager, system settings, and header actions
- Part 1-2: setup.astro app-shell layout + new SetupSidebar.astro
- Part 3: SetupFrame full-page layout, 2px progress bar, toast errors
- Part 4: LibraryStep single-column redesign with chips and browse
- Parts 5-7: Fix banned patterns in SetupControls, ScanStep, ProcessingStep
- Part 8: JobManager polish (inline summary, badge/header/radius fixes)
- Part 9: SystemSettings engine mode section with API integration
- Part 10: HeaderActions dead code removal (engine mode state/handlers)
2026-03-24 18:33:14 -04:00
9278387250 UI: Comprehensive UX rework — flatten header, remove page titles, compact dashboard, grouped log viewer 2026-03-24 16:58:05 -04:00
fe5972c6c1 Port to Rust 2024 2026-03-23 16:28:35 -04:00
04a9ab3aa7 Chore: Port Alchemist to Rust 2024 2026-03-23 16:28:01 -04:00
406c70dede chore: release v0.3.0-dev.1 v0.3.0-dev.1 2026-03-23 07:53:10 -04:00
5b61a8e627 fix(justfile): replace mapfile with while-read loops for bash 3.2 compat
macOS ships bash 3.2 (GPL2); mapfile was added in bash 4.0. Use
while IFS= read -r loops with process substitution instead, which
work in bash 3.2+.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 07:52:10 -04:00