Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
2.1 KiB
2.1 KiB
E2E follow-ups: login hint, password hint, soft delete, dashboard labels, phone cards
Date: 2026-12-02. Source: the owner's manual click-every-button e2e of the production build, and the owner's answers the same day.
Decisions (owner)
- Login: say a company is needed. Done without leaking whether a username exists: the hint is chosen from the empty company field, not from the server's answer.
- Password: follow the Login security rules, which are already enforced, and make sure admins have screens to set them (they do, under Login security, Settings). What changes is that the hint is built from the switched-on rules instead of a fixed sentence, and a refusal names the failed rule.
- Attended default on staff-added leads: follow my recommendation and keep it. The
event-attendancespec already says a staff capture during the event days is attended, and outside the event days it is not. - Dashboard "Won in period" against the funnel: checked first. Both follow the
lead-dashboardspec (wins in the period whenever captured, against the period's captures by current stage). Fix by explaining each figure on screen. - Soft delete for interests and roles. Guests already have removal for invited-only guests; registered guests stay, per
event-invitations. - Phone cards: every shared-table listing becomes cards below
md. - Translations: a separate change (
add-zh-cn-messages).
Approaches
- Phone cards: generic cards inside
DataTable(chosen: one place, every listing) against hand-made cards per page (nicer but nine pages of work, and new pages would forget them). - Soft delete:
deleted_atcolumn (chosen: keeps history and audit names) against hard delete with checks (loses lead tag names) or reusingactive(already means "not offered" and stays listed). - Password hint: rules read from the server (chosen: the hint can never disagree with the check) against a portal copy of the rules.
Non-goals
Hard delete, undelete in the UI, per-company password rules, changing attendance or guest-removal rules.
OpenSpec: openspec/changes/polish-e2e-followups/.