Files
co-lite/openspec/changes/archive/2026-12-02-polish-e2e-followups/proposal.md
T

2.8 KiB

Why

The owner's click-every-button test of the production build (2026-12-02) turned up gaps that are not plain bugs: messages that confuse staff, records that cannot be removed, and listings that scroll sideways on phones. The owner decided how each one should behave. The plain bugs from the same test are fixed separately on fix-e2e-findings.

What Changes

  • Login: when the company is left empty and sign-in fails, the page also says that staff sign in with their company code. It still never says whether a username exists.
  • Password hint: every screen that sets an admin password shows a hint built from the password rules that are switched on in Login security, instead of a fixed sentence. A refused password names the rule it failed. The rules screen already exists and stays the one place to change them.
  • Interests and roles: a super admin can delete an interest or a role. Deletion is soft: the record is hidden from lists and pickers but kept for history. A role still held by a user cannot be deleted. Deactivating an interest asks for confirmation, and the add and edit dialogs get a Cancel button.
  • Dashboard labels: "Won in period" and the funnel explain what they count, because they count different sets (wins in the period, whenever captured, against the period's captures by current stage).
  • Phone cards: every listing built on the shared data table shows one card per row below the md width, instead of a table that scrolls sideways.

Unchanged, by the owner's decision on the recommendation:

  • A lead captured by staff during the event days stays Attended by default (event-attendance).
  • A guest who has registered stays non-removable (event-invitations).

Capabilities

New Capabilities

None.

Modified Capabilities

  • admin-access: Staff login (the empty-company hint).
  • admin-login-security: a new requirement for the password hint and named refusals.
  • lead-interests: Interest list (soft delete, confirmation on deactivate).
  • admin-roles: Role list and edit (soft delete).
  • lead-dashboard: a new requirement for figure explanations.
  • admin-visual-design: a new requirement for phone cards on listings.

Impact

  • Database:
    • service-counter.interest.deleted_at
    • service-system.role.deleted_at
    • SQL in this change folder, mirrored into local/seed/.
  • Services:
    • counter (interest delete and filters);
    • system (role delete and filters, the enabled admin rules, the named failure);
    • mobile-api (admin endpoints, and a public read of the enabled admin rules for the reset-password page).
  • Portal:
    • login;
    • the password screens (first login, change, set temporary, reset);
    • interests, roles, dashboard;
    • the shared DataTable.
  • No breaking API change. Delete endpoints and the rules read are new.