v0.1.18
Summary
Closes #175
- Clear the "Add email" form field after successful submission using HTMX's
hx-on::after-requestevent, with anHX-Triggerheader from the server to signal success - Order email addresses on the profile page with primary first via
ORDER BY is_primary DESC, so the newly-promoted email always moves to the top row
Test plan
-
test_add_email_htmx_triggers_form_reset— verifies HX-Trigger header is returned on HTMX add-email requests -
test_profile_emails_ordered_primary_first— primary email with a higher row ID still renders before secondary -
test_profile_emails_ordered_primary_first_after_promote— newly promoted email appears first after swap - Full test suite passes (358 tests)
🤖 Generated with Claude Code