Skip to content

P3-19..P3-23: lite build, viewer sizing, carousel, diagram toggle - #134

Merged
dvzrd merged 3 commits into
mainfrom
feat/p3-19-lite-and-viewers
Oct 4, 2026
Merged

dvzrd merged 3 commits into
mainfrom
feat/p3-19-lite-and-viewers

Conversation

@dvzrd

@dvzrd dvzrd commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Stacked on the manifest-bump PR; GitHub retargets it to main once that merges.

  • P3-19 lite build: new wiki-reader-media crate (palette and fit maths always built; decode and Mermaid/SVG raster behind raster), a default-on media feature forwarded render → binary, and RenderedDoc::media, a tier-independent media inventory. cargo install --no-default-features drops image, resvg, mermaid-rs-renderer and ratatui-image (binary 16.6 → 8.4 MiB, clean build ≈ 50.7 → 19.9 s; see wiki/architecture/benchmarks.md). diagrams = image falls back to text with a reason, and the Images options group is hidden.
  • Guardrails: scripts/check.sh [all|default|lite] now takes arguments; CI runs lite clippy and tests and asserts the lite dependency tree excludes the four heavy crates.
  • ADR-0023 (proposed): lite is a cargo feature only, with no -lite release artifact.
  • P3-20: content-sized modal panels capped at today's size, fit/actual toggle (a), styled table cells (DocCell).
  • P3-21: Tab / Shift+Tab carousel over the media inventory; arrows still pan.
  • P3-22: v cycles image / text / source for the open diagram (session-only).
  • P3-23: README and ui-spec ASCII and carousel keys. The PNG screenshot retake is operator-gated.

Lite and the viewers share render.rs, images.rs and the viewer modules, so they are one commit by design. Per the release-shape decision they ship together as v0.1.5. P3-19 to P3-23 stay doing and ADR-0023 stays proposed until review and a manual Ghostty/herdr pass.

Test plan

  • ./scripts/check.sh (default and lite): exit 0, no failures or warnings.
  • CI green on Ubuntu and macOS.
  • Manual Ghostty, herdr and iTerm2/tmux pass on fixtures/images, fixtures/mermaid, wiki/ (table viewer, a, zoom, Tab/Shift+Tab, v, lite diagrams = image fallback).
  • Operator: retake assets/wiki-reader.png and the wiki/assets/ copies.

🤖 Generated with Claude Code

dvzrd and others added 3 commits October 3, 2026 22:23
Set integrations/herdr/herdr-plugin.toml to 0.1.4 and add it to the
release-prepare checklist in releasing.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
P3-19: new wiki-reader-media crate (palette and fit maths always built;
decode and Mermaid/SVG raster behind `raster`), a default-on `media`
feature forwarded render -> binary, ADR-0023 (proposed), RenderedDoc::media
inventory, check.sh [all|default|lite] and CI for both builds with a lite
dependency-tree assertion, lite install docs and benchmarks.

P3-20: content-sized modal panels, fit/actual (a), styled table cells.
P3-21: Tab/Shift+Tab carousel over the media inventory.
P3-22: v cycles image/text/source for the open diagram.

The lite and viewer changes share render.rs, images.rs and the viewer
modules, so they land together. scripts/check.sh is green for default
and lite.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Record the single-release decision, keep P3-19..P3-23 at `doing` and the
phase `active` until review and dogfood, restore the compact dogfood-log
table, and note the operator-gated PNG retake.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Base automatically changed from docs/herdr-manifest-bump to main October 4, 2026 20:27
@dvzrd
dvzrd merged commit ebc5f45 into main Oct 4, 2026
4 checks passed
@dvzrd
dvzrd deleted the feat/p3-19-lite-and-viewers branch October 4, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant