Nacre/docs/PROGRESS.md
astar76 23e3061611 S002: unit tests green (29 pass twice, no fixes needed)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-11 17:28:40 -06:00

1.8 KiB

Progress

One entry per session, newest last, ≤ 15 lines: done, verified how, not done, later.

S001 — Compile to a binary (2026-11-11)

  • Done: self-test WIP and UI brief committed; first build had 5 errors (missing Read import in instance.rs, missing Speller import in actions.rs, borrow errors in app.rs:796, store/scripts.rs:124, ui/pages/settings.rs:947), fixed in place; removed a no-op drop(&mut) in app.rs. No feature degraded.
  • Verified: nice cargo build --release -j 2 exit 0; target/release/nacre (144 MB) --help/--version exit 0 headless; ldd resolves everything. nacre crate alone rebuilds in ~1 min (Servo was already built).
  • Not done: unit tests, launching a window (later plans).
  • 66 warnings remain: egui 0.37 deprecations (Ui::id, Id::new) and dead code. Dead code that hints at unwired features: History::autocomplete/top_sites (omnibox inline completion, new-tab top sites?), keys::conflicts (shortcut conflict check), Command::SpellReplace (duplicate of MenuAction::SpellReplace), tabs::Page::Error, Prompt::Info. Worth a look in the gaps phase.

S002 — Unit tests green (2026-11-11)

  • Done: nice cargo test --release -j 2 compiles with no test-only errors; 29 tests pass, run 0.1 s (build ~16 s). Green twice in a row. No code or test changes were needed: no bugs found.
  • Verified: grep of test modules: only temp dirs (adblock, vault), loopback TcpStream (bridge), /nonexistent paths (history); URLs in tests are string constants. No test touches ~/.config/nacre*, Tor or proxies.
  • Not done: coverage is thin (29 tests across 16 modules; no tests for e.g. downloads dlm, session, apps).

Later

  • Reader mode, split view, translate, real gamepad rumble (D-002: not planned for now).
  • Packaging and first release (D-001: plan when the user asks).