fix: e2e findings (paste guests, form errors, send feedback, check-in, invite recipients) #44

Merged
ngqile merged 1 commits from fix-e2e-findings into main 2026-12-01 17:38:53 +00:00
Owner

Fixes the defects found by the owner's manual click-every-button e2e of the production build (2026-12-02).

  • Paste guests (major): the preview counted the API's added list as if it were a number, so it read "[object Object] guests will be added" and never offered Save guests. addGuests now returns the count.
  • New event / Add user: a field's "required" error clears once the field is filled.
  • Send to all unsent: says "No unsent invitations" when there was nothing to send.
  • Check-in /c: an empty lookup shows a visible error, and the typed email or mobile carries into the walk-in form.
  • Emails page: invitation emails published over Pub/Sub saved their recipients without the link to the email, so the recipient cell was empty. EmailService.save sets the back-reference. Rows saved before this fix stay blank (nothing links them).

Verification:

  • Vitest 232 files / 1579 tests, exit 0; tsc --noEmit 0; lint 0 errors (4 pre-existing warnings).
  • mvn -T 1C -q -pl solvway-services-email verify exit 0.
  • Opus review: PASS.
  • Playwright (manual, dev build of this branch on the local stack): paste preview shows "2 guests will be added" plus the invalid line, Save guests adds both; "No unsent invitations" shown; check-in empty submit shows "Enter a mobile number or an email."; unknown email opens the walk-in form with the email filled. The New event / Add user error clearing is covered by unit tests only. The email recipient fix is covered by a unit test; the local email service was not rebuilt.

Follow-ups with behaviour changes are in the separate OpenSpec change polish-e2e-followups.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM

Fixes the defects found by the owner's manual click-every-button e2e of the production build (2026-12-02). - **Paste guests (major):** the preview counted the API's `added` list as if it were a number, so it read "[object Object] guests will be added" and never offered Save guests. `addGuests` now returns the count. - **New event / Add user:** a field's "required" error clears once the field is filled. - **Send to all unsent:** says "No unsent invitations" when there was nothing to send. - **Check-in `/c`:** an empty lookup shows a visible error, and the typed email or mobile carries into the walk-in form. - **Emails page:** invitation emails published over Pub/Sub saved their recipients without the link to the email, so the recipient cell was empty. `EmailService.save` sets the back-reference. Rows saved before this fix stay blank (nothing links them). Verification: - Vitest 232 files / 1579 tests, exit 0; `tsc --noEmit` 0; lint 0 errors (4 pre-existing warnings). - `mvn -T 1C -q -pl solvway-services-email verify` exit 0. - Opus review: PASS. - Playwright (manual, dev build of this branch on the local stack): paste preview shows "2 guests will be added" plus the invalid line, Save guests adds both; "No unsent invitations" shown; check-in empty submit shows "Enter a mobile number or an email."; unknown email opens the walk-in form with the email filled. The New event / Add user error clearing is covered by unit tests only. The email recipient fix is covered by a unit test; the local email service was not rebuilt. Follow-ups with behaviour changes are in the separate OpenSpec change `polish-e2e-followups`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile added 1 commit 2026-12-01 17:38:50 +00:00
Found by the manual e2e of the production build:
- paste guests preview counted an array, so it read "[object Object]"
  and never offered Save guests;
- New event and Add user errors now clear when the field is fixed;
- "Send to all unsent" says when nothing was unsent;
- the check-in lookup shows an error on an empty submit and carries the
  typed email or mobile into the walk-in form;
- invitation emails sent over Pub/Sub now save their recipient's link,
  so the Emails page shows the recipient.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
ngqile merged commit a106bc798f into main 2026-12-01 17:38:53 +00:00
ngqile deleted branch fix-e2e-findings 2026-12-01 17:38:53 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ngqile/co-lite#44