Volleyball Elite Academy development update
|
Volleyball Elite Academy
Cover the saved-email-recipients 'no email on file' badge with a browser test
|
Cover the saved-email-recipients 'no email on file' badge with a browser testVolleyball Elite Academy — Development Update • May 6, 2026
--- title: Cover the saved-email-recipients 'no email on file' badge with a browser test ---
Cover the saved-email-recipients 'no email on file' badge with a browser test
## What & Why The SOF admin "Saved email recipients" panel now renders a "{N} no email" badge per coach row whenever the roll-up endpoint returns a non-zero (added by Task #583, originally scoped as Task #546). The disjoint stale badge already has dedicated e2e coverage at , but the new missing-email badge has no parallel e2e — only server-route unit tests guard it. A browser test would lock down the rendered surface (icon, count copy, clickable vs. muted-fallback states based on ) and prevent regressions.
## Done looks like - A new spec (e.g., ) mocks to return rows with and asserts: - The "{N} no email" badge renders with the MailX icon when and is hidden when zero. - The badge is a clickable button (opens the same per-chip prune flow used by the stale badge) when , addressed via . - The badge falls back to a muted, non-clickable hint () when . - When both badges fire on the same row, they line-wrap together as a single visual unit.
## Relevant files - (badge render block around lines 1335–1442) - (route shape, lines 5470–5486) - (mirror this structure) - (per-session dialog coverage — distinct surface, not the roll-up badge)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment