docs: add new user onboarding handling plan - #4182
Open
gilgardosh wants to merge 2 commits into
Open
Conversation
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 10:42 — with
GitHub Actions
Inactive
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 10:42 — with
GitHub Actions
Inactive
Contributor
🚀 Snapshot Release (
|
| Package | Version | Info |
|---|---|---|
@accounter/client |
0.1.0-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/gmail-listener |
0.1.3-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/green-invoice-graphql |
0.8.7-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/hashavshevet-mesh |
0.2.13-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/israeli-vat-scraper |
0.1.13-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/modern-poalim-scraper |
0.11.0-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/payper-mesh |
0.2.13-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/scraper-app |
0.0.3-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/server |
0.2.0-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/shaam-uniform-format-generator |
0.2.7-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
@accounter/shaam6111-generator |
0.1.9-alpha-20260813085405-230edd38a6d55bd79966d89d7a73496f4f82ee75 |
npm ↗︎ unpkg ↗︎ |
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 11:44 — with
GitHub Actions
Inactive
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 11:44 — with
GitHub Actions
Inactive
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 15:34 — with
GitHub Actions
Inactive
gilgardosh
temporarily deployed
to
accounter-fullstack
August 11, 2026 15:34 — with
GitHub Actions
Inactive
This was referenced Aug 11, 2026
Traces the current broken path (valid Auth0 JWT + no business_users row -> UNAUTHENTICATED -> refreshAuth loop, error toasts, empty dashboard) and proposes a phased fix: a distinct ONBOARDING_REQUIRED error code, a viewer query and /welcome screen, pending-invitation claiming by verified email, and an optional flagged self-serve workspace creation. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01344D5q1uyAHuwRJ3yyDX46
Replaces the flagged self-serve workspace phase with closing public signup on the Auth0 database connection, and notes why phases 0-1 are still needed under invitation-only (pre-existing accounts, expired/revoked invitations, non-database connections, users removed from their last business). Also applies prettier formatting so the doc passes the CI check. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01344D5q1uyAHuwRJ3yyDX46
gilgardosh
force-pushed
the
claude/new-user-login-data-g7dtxp
branch
from
August 13, 2026 08:52
7d7402c to
87648cd
Compare
gilgardosh
temporarily deployed
to
accounter-fullstack
August 13, 2026 08:52 — with
GitHub Actions
Inactive
gilgardosh
temporarily deployed
to
accounter-fullstack
August 13, 2026 08:52 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add comprehensive documentation outlining the problem, root causes, and phased solution for handling unauthenticated new users who sign up via Auth0 but lack a
business_usersrow.Changes
docs/new-user-onboarding/plan.md— a detailed 7-section design document covering:/welcomescreen with branches for email verification, pending invitations, no workspace, or normal app accessONBOARDING_REQUIREDerror code, un-guardedviewerquery, client-side guard and/welcomerouteclaimInvitationmutationImplementation Notes
This is a planning document only — no code changes. It serves as the specification for the upcoming implementation work across
packages/serverandpackages/client. The phased approach allows Phase 0 (correctness fix) to ship independently before product decides on Phases 2 vs 3.https://claude.ai/code/session_01344D5q1uyAHuwRJ3yyDX46