feat: SSR diff page with Cohen-annotated hunk headers
Replace client-side diff.ts rendering with full server-side rendering. diff_page now fetches both snapshot manifests, batch-reads object content, runs difflib.unified_diff + annotate_hunk_action, and passes annotated file diffs to the template. No loading spinner on first paint.
- _build_file_diffs: batches object reads, annotates hunks with [change: *] labels - diff.html: renders stats bar + file cards + diff table rows server-side - Added df3-dl-hunk row type and df3-ln-hunk/trunc styles - 9 TDD tests (test_diff_page_ssr.py) all green
sha256:672ab421d152e0e187a6d0a6411d2c2d4aadcb3e52ef5018e33ddc5b8ef6f32d
sha
sha256:480c7f3e6462d02ac1424989c0232e9a244158a7974788a689228a58c2d0a408
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:672ab421d152e0e187a6d0a6411d2c2d4aadcb3e52ef5018e33ddc5b8ef6f32d --body "your comment"
No comments yet. Be the first to start the discussion.