Skip to content

Let users past the trial-ended wall reach the profile to delete their account - #1338

Merged
helpcodeai merged 2 commits into
mainfrom
fix/trial-wall-account-deletion
Oct 30, 2026
Merged

helpcodeai merged 2 commits into
mainfrom
fix/trial-wall-account-deletion

Conversation

@helpcodeai

Copy link
Copy Markdown
Contributor

Summary

A Cloud user whose trial had ended wrote through the contact form on 29 Oct that they wanted to delete their account, and that there was "no way around the payment gate". They were right: the licence wall covers every page except login and /settings/license, and "Delete my account" is on /settings. So someone who doesn't want to buy could only ask us to delete their data.

Changes

  • license-wall.tsx: /settings (the profile page, exact path) is exempt from the wall, beside /settings/license. The other settings pages stay behind it.
  • The wall shows "Not continuing? Delete your account", linking to /settings.
  • e2e (billing-awareness.spec.ts): with an ended trial, the wall shows, the link opens /settings without the wall, and "Delete my account" is there.

Nothing new becomes usable: tool calls are still refused by the backend's checkLicenseActive, and DELETE /api/users/me keeps its checks (password or re-auth, sole admin, live Stripe subscription). Cloud only in practice: on self-hosted the wall appears for an expired licence too, and the same exemption applies there.

Type

  • Bug fix

Testing

  • Added/updated unit tests (Playwright)

In packages/frontend:

  • npx playwright test tests/e2e/billing-awareness.spec.ts: 14 passed
  • npx tsc --noEmit -p tsconfig.json: no errors
  • npx eslint on the two files: 0 errors (the 2 warnings already exist on main)

Checklist

  • My code follows the existing code style
  • I have tested my changes locally
  • I have updated documentation (if applicable)
  • All existing tests pass (npm test) (frontend change; CI runs the backend suite)
  • This PR has a descriptive title

Related Issues

Support request via the website contact form, 29 Oct 2026

@helpcodeai
helpcodeai enabled auto-merge (squash) October 30, 2026 08:21
@helpcodeai
helpcodeai merged commit 421f72f into main Oct 30, 2026
14 checks passed
@helpcodeai
helpcodeai deleted the fix/trial-wall-account-deletion branch October 30, 2026 08:54
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant