Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onboarding: revive ready login #4340

Merged
merged 38 commits into from
Jan 20, 2025
Merged

onboarding: revive ready login #4340

merged 38 commits into from
Jan 20, 2025

Conversation

latter-bolden
Copy link
Member

@latter-bolden latter-bolden commented Jan 15, 2025

Handles situations we saw crop up during revival, notably logging into:

  • Unverified accounts
  • Accounts that have no assigned ship
  • Accounts where the ship is paused or suspended
  • Accounts where the ship is under maintenance and cannot be used

Adds functionality for using that same resume stopped ship logic for logged in users as well. If we detect your ship has been paused or suspended it'll kick you to a waiting screen.

Also,

  • complete KV refactor for hosting config
  • move hosting functionality to the api + store pattern we use elsewhere
  • ensure all non-200 hosting responses get logged to PostHog with status + path
  • add analytics for key breakdowns in the flow that we can uses to power a dashboard/alarm

Fixes TLON-3434
Fixes TLON-3433

@latter-bolden latter-bolden requested a review from arthyn January 15, 2025 16:46
@latter-bolden latter-bolden changed the title onboarding: robust login onboarding: revive ready login Jan 15, 2025
@latter-bolden latter-bolden marked this pull request as ready for review January 15, 2025 22:06
Copy link
Member

@arthyn arthyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, nothing blocking just some nits and questions

apps/tlon-mobile/src/App.main.tsx Show resolved Hide resolved
apps/tlon-mobile/src/lib/loginContext.tsx Outdated Show resolved Hide resolved
packages/app/constants.ts Outdated Show resolved Hide resolved
packages/app/hooks/useHandleLogout.native.ts Show resolved Hide resolved
packages/shared/src/store/hostingActions.ts Show resolved Hide resolved
packages/app/lib/bootHelpers.ts Outdated Show resolved Hide resolved
apps/tlon-mobile/src/screens/Onboarding/SignupScreen.tsx Outdated Show resolved Hide resolved
@latter-bolden latter-bolden merged commit 79734c0 into develop Jan 20, 2025
1 check passed
@latter-bolden latter-bolden deleted the lb/robust-login branch January 20, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants