Uh oh!
There was an error while loading. Please reload this page.
feat(email): remove circle around signer-verified checkmark - #173
Conversation
The signer-verified circle previously rendered a unicode `✓` glyph which is styled inconsistently across mail clients. Embed a PNG of the PostGuard checkmark via `cid:pg-check` to match the shape used in the download page UI.
Dobby has received the request! Routing to the right specialist now... |
…k-circle # Conflicts: # src/email.rs # templates/email/email.html
There was a problem hiding this comment.
Code review
Cosmetic email-template change; tests pass. Minor: build_body doc at src/email.rs:209 still names only cid:pg-logo though the function now also attaches cid:pg-check. PR description only covers the second commit — the cumulative diff against main also adds CHECK_PNG, templates/email/check.png, and the unicode→inline-PNG swap, so reviewers reading the description alone will miss those.
Rule compliance
No issues found.
| <span style="display:inline-block;width:32px;height:32px;line-height:32px;border-radius:50%;border:2px solid #5F7381;text-align:center;box-sizing:border-box;"> | ||
| <img src="cid:pg-check" alt="" width="16" height="13" style="display:inline-block;vertical-align:middle;" /> | ||
| </span> | ||
| <img src="cid:pg-check" alt="" width="16" height="13" style="display:inline-block;vertical-align:middle;" /> |
There was a problem hiding this comment.
[Code review] alt="" treats the checkmark as decorative; consider alt="Verified" (or similar) so screen readers convey the signer-verified semantic that the styled circle previously implied.
Summary
CHECK_PNGdoc comment so it no longer references the removed circle.Test plan