Repository navigation
feat(native): add Welcome Phone section, T3 Connect link states, and accessible telemetry notice (CN-WELCOME) - #465
Merged
Merged
Conversation
…accessible telemetry notice (CN-WELCOME)
…i18n, and phone refresh
This was referenced Nov 20, 2026
Open
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.
Closes #81
Problem
CN-WELCOMEremained partial because the single-computer Welcome page (apps/web/src/components/onboarding/WelcomePage.tsx) was missing the collapsible Phone section (QR code + T3 Connect link-status flow) and its footerTelemetryNoticeprivacy-policy link used non-focusableInteractiveTextwith outdated copy.Solution
apps/native/crates/core/src/onboarding/phone.rs, re-exported fromcrates/core/src/onboarding.rs):MOBILE_APP_URL(https://t3.codes/mobile) andPHONE_LINK_REFRESH_INTERVAL_SECS(30).welcome_offers_phone(welcomeOffersPhone: primary computer + cloud public config +relay:read/relay:writescopes + managed policy allowingremoteClientsandconnect).phone_is_shared,phone_account_for_identity, andresolve_phone_connect_statecovering all 6PhoneConnectLinkstates (Checking,Error,Reachable,SharedUnknownReachability,SharedUnreachable,NotShared,SignedOut) including legacy servers omittingmanagedTunnelActive.privacy_noticeto matchTelemetryNotice(WelcomePage.tsx) and reusemanaged_policy::managed_telemetry_off_message.apps/native/crates/app/src/onboarding/{phone,mod,agents,connection}.rs):PhoneSection("Phone","Use T3 Code on your phone","Set up"/"Hide") gated bywelcome_offers_phoneand liverelay:read/relay:writesession grants.qrcodequad canvas forMOBILE_APP_URL(124px, EC level M, 2-module quiet zone) with localized tooltip.PhoneConnectLink) reads nativecrate::cloudsigned-in state and queriesGET /api/connect/link-state(t3_core::mcp::gate::CloudLinkState), refreshing every 30s only while expanded and suppressing all real timers/background network calls in headless/test/snapshot mode."Check T3 Connect"/"Set up T3 Connect"to dismiss the welcome overlay (without prematurely completing onboarding) and openSettingsatSection::Access, and"Sign in to T3 Connect"to start nativecrate::cloudOAuth PKCE sign-in.InteractiveTextinTelemetryNoticewith a keyboard-accessiblekey_stop_with_focuslink (Role::Link,aria_label,Tab/Enter/Space, focus ring) using localizedcrate::i18n::t/t_fmtcopy.crates/core/src/onboarding/tests.rsand GPUI +--features snapshottests incrates/app/src/onboarding/tests.rs.apps/native/parity/LEDGER.mdrowCN-WELCOME(L29) ->doneand cleared#81.Verification
vp fmt --check apps/native/parity/LEDGER.md: PASSnode apps/native/scripts/gen-theme.ts --check: PASSnode apps/native/conformance/generate.ts --check: PASSnode --test apps/native/parity/sync.test.ts: 47 passed, 0 failedCARGO_INCREMENTAL=0 cargo clippy --manifest-path apps/native/Cargo.toml --workspace --all-targets -- -D warnings: PASS (0 warnings)CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-core: 1,887 unit + 8 conformance = 1,895 passed, 0 failedCARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-client -- --test-threads=1: 171 passed, 0 failedT3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native -- --test-threads=1: 225 passed, 0 failedT3_NATIVE_HOME=$(mktemp -d) CARGO_INCREMENTAL=0 cargo test --manifest-path apps/native/Cargo.toml -p t3-native --features snapshot onboarding -- --test-threads=1: 8 passed, 0 failedCARGO_INCREMENTAL=0 cargo build --manifest-path apps/native/Cargo.toml -p t3-native: PASSAuthored by Antigravity.