fix(reports): give plan-review text room beside the notes column (#114) #116

Merged
jfro merged 1 commit from fix/114-plan-review-layout into main 2026-11-28 03:17:44 +00:00
Owner

What changed

PR #116 widens the plan-review text column (notes column 45 mm/30%, 6.5 mm gutter), stops hyphenation and justification in review mode, and darkens the dot grid; red-then-green tests at rM2 size, full mix precommit (1629 tests) and CI pass, and before/after renders are in the PR.

Fixes #114

Red, then green

  • Plan-review PDFs at rM2 size get a ≥6 mm gutter before the 45 mm notes rule, a text column ending past 102 mm, no hyphenated line ends, and dots dark enough for e-ink; other templates still hyphenate.: bash -c 'source ~/.rmenv && MIX_ENV=test mix test test/rm_analyzer/reports_test.exs'
    • fails on the base (1e4a9b0): exit 1
    • passes on the branch (4a60e6a): exit 0

Checks

  • Read the diff (only _report.typ and reports_test.exs change: 45mm/30% notes column, 6.5mm gutter, no hyphenation/justification in review, darker dots). Full suite passes (1629 tests); no other template uses review-margin and nothing touches release/CI, so the no-deploy and revert answers hold. Not viewed on a real device, and Paper Pro Move column stays narrow. (Prover): bash -c 'source ~/.rmenv && MIX_ENV=test mix test test/rm_analyzer/reports_test.exs', exit 0

Shipping it

  • Goes live when it merges: no. Merging to main deploys nothing; release.yml builds images only from v* tags, which Jeremy makes with mise run release.
  • Undo: a revert puts it back.
  • Not tried on the real thing: Not viewed on a real reMarkable; checked only as rendered PDFs and PNGs at the rM2 page size.
  • For later: The left margin (24 mm, for a left-hand toolbar) is unchanged; issue item 5, the toolbar side, is still open and would free more width. On the Paper Pro Move the text column stays about 33 mm wide.

Prover

Passed (Sonnet): Read the diff (only _report.typ and reports_test.exs change: 45mm/30% notes column, 6.5mm gutter, no hyphenation/justification in review, darker dots). Full suite passes (1629 tests); no other template uses review-margin and nothing touches release/CI, so the no-deploy and revert answers hold. Not viewed on a real device, and Paper Pro Move column stays narrow.

Every command above was run by Fortysix's Basecamp itself, on the branch named.

Before / after (page 1, rM2 size)

Before (v1.10.0) After
before after

Example plan

Rendered with Reports.compile("plan-review", %{title: "Move sessions into the existing store", plan_id: "P-901", version: "1"}, markdown):

# Move sessions into the existing store

Sessions live in their own table today. Fold them into the existing
key-value store so there's one place to back up, expire and inspect.

1. Inventory the existing session readers and writers, including the
   authentication middleware and the administration dashboards
2. Write the sessions into both stores, comparing every read
3. Switch reads over, then stop the double writes

Characterisation of the synchronisation behaviour, reconciliation of inconsistencies, and documentation of administrative responsibilities. (×12)
## What changed PR #116 widens the plan-review text column (notes column 45 mm/30%, 6.5 mm gutter), stops hyphenation and justification in review mode, and darkens the dot grid; red-then-green tests at rM2 size, full mix precommit (1629 tests) and CI pass, and before/after renders are in the PR. Fixes #114 ## Red, then green - Plan-review PDFs at rM2 size get a ≥6 mm gutter before the 45 mm notes rule, a text column ending past 102 mm, no hyphenated line ends, and dots dark enough for e-ink; other templates still hyphenate.: `bash -c 'source ~/.rmenv && MIX_ENV=test mix test test/rm_analyzer/reports_test.exs'` - fails on the base (1e4a9b0): exit 1 - passes on the branch (4a60e6a): exit 0 ## Checks - Read the diff (only _report.typ and reports_test.exs change: 45mm/30% notes column, 6.5mm gutter, no hyphenation/justification in review, darker dots). Full suite passes (1629 tests); no other template uses review-margin and nothing touches release/CI, so the no-deploy and revert answers hold. Not viewed on a real device, and Paper Pro Move column stays narrow. (Prover): `bash -c 'source ~/.rmenv && MIX_ENV=test mix test test/rm_analyzer/reports_test.exs'`, exit 0 ## Shipping it - Goes live when it merges: no. Merging to main deploys nothing; release.yml builds images only from v* tags, which Jeremy makes with mise run release. - Undo: a revert puts it back. - Not tried on the real thing: Not viewed on a real reMarkable; checked only as rendered PDFs and PNGs at the rM2 page size. - For later: The left margin (24 mm, for a left-hand toolbar) is unchanged; issue item 5, the toolbar side, is still open and would free more width. On the Paper Pro Move the text column stays about 33 mm wide. ## Prover Passed (Sonnet): Read the diff (only _report.typ and reports_test.exs change: 45mm/30% notes column, 6.5mm gutter, no hyphenation/justification in review, darker dots). Full suite passes (1629 tests); no other template uses review-margin and nothing touches release/CI, so the no-deploy and revert answers hold. Not viewed on a real device, and Paper Pro Move column stays narrow. Every command above was run by Fortysix's Basecamp itself, on the branch named. ### Before / after (page 1, rM2 size) | Before (v1.10.0) | After | |---|---| | ![before](https://git.knope.dev/attachments/901faaa5-a017-4224-b4b5-e775224a1612) | ![after](https://git.knope.dev/attachments/e35944fe-fc31-4ab8-b3c1-05f6009ab6da) | ### Example plan Rendered with `Reports.compile("plan-review", %{title: "Move sessions into the existing store", plan_id: "P-901", version: "1"}, markdown)`: ```markdown # Move sessions into the existing store Sessions live in their own table today. Fold them into the existing key-value store so there's one place to back up, expire and inspect. 1. Inventory the existing session readers and writers, including the authentication middleware and the administration dashboards 2. Write the sessions into both stores, comparing every read 3. Switch reads over, then stop the double writes Characterisation of the synchronisation behaviour, reconciliation of inconsistencies, and documentation of administrative responsibilities. (×12) ```
fix(reports): give plan-review text room beside the notes column (#114)
All checks were successful
CI / test (pull_request) Successful in 1m55s
4a60e6a514
A gutter before the notes rule, a narrower notes column (30%, at most
45 mm), ragged right with no hyphenation in review mode, and a darker,
bigger dot grid that shows on e-ink.
jfro merged commit 563b127a27 into main 2026-11-28 03:17:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfro/rm-analyzer!116
No description provided.