fix(notify): group counters instead of padding columns
test / komodo-deploy-script (push) Successful in 51s
ci / docker (push) Successful in 2m51s

Pushover renders the notification body in a proportional font, so the
space-padded label/value columns never lined up on a phone — the body
collapsed into a ragged flat list with no visual grouping. The html
variant was worse: the padding sat inside the HTML, so it collapsed to a
single space.

Counters are now grouped two per line and joined with a middle dot, which
survives any font. The body drops from 8 lines to 5 and no longer restates
the outcome the title already carries.

- replace _notify_row/LABEL_WIDTH/VALUE_WIDTH with _stat_row
- add docs/notify-preview.py, which renders the real build_summary()
  output as a phone-width PNG so layout changes can be reviewed visually
- tests: assert no space padding, two counters per row, and that the body
  does not repeat the title
This commit is contained in:
trex Bot committed 2026-11-03 15:02:50 -06:00
1 parent 881765cdf5
commit b7094f728e
6 files changed
+315 -49

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB