feat: render focused 30-day Discord progress cards with Canvas
This commit is contained in:
@@ -72,3 +72,9 @@ never receipts or controls. A process interruption after acknowledgement can
|
||||
leave the private response unfinished; restarting never replays the public send.
|
||||
Run `/progress` again to inspect status. Public snapshot and live deliveries
|
||||
retain their existing persistent quotas, nonce and uncertain-delivery guards.
|
||||
|
||||
`progress-image.ts` renders the focused 30-day snapshot at 1200×860 with bundled
|
||||
Mina Sans / Instrument Serif, shared theme colors, and existing habit shades.
|
||||
The 30 cells retain fixed readable sizes; symbols are Canvas paths. Text summaries
|
||||
and buttons accompany the PNG. To produce review images without sending messages:
|
||||
`PROGRESS_IMAGE_REVIEW_DIR=/tmp/minabot-progress-review bun test src/discord/progress-image.test.ts`.
|
||||
|
||||
Reference in New Issue
Block a user