Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix(mobile): rename welcome scan button to Scan QR from computer

tonydd50662f0476
diff --git a/mobile/lib/phone/welcome/onboarding_copy.dart b/mobile/lib/phone/welcome/onboarding_copy.dart
index 8329ff758..63197791d 100644
--- a/mobile/lib/phone/welcome/onboarding_copy.dart
+++ b/mobile/lib/phone/welcome/onboarding_copy.dart
@@ -3,8 +3,9 @@
///
/// ```
/// ① Welcome Manage all your agents on all your computers from your phone.
-/// [Scan QR code] [Continue with Google] [Continue with Apple]
-/// Scan QR code → the camera: How to get the QR code, its steps, Use email instead
+/// [Scan QR from computer] [Continue with Google] [Continue with Apple]
+/// Scan QR from computer → the camera: How to get the QR code, its steps,
+/// Use email instead
/// ② Your computer On your computer, go to [autonomous.ai/go ⇪]
/// under the picture: Looking for your computer▌
/// under the link: (1) Install Harness (2) Sign in, Use you@…
@@ -31,7 +32,7 @@ abstract final class OnboardingCopy {
/// ① The first of the three ways in: the camera, for the code a signed-in computer's Add Phone
/// shows, which signs this phone in to that computer's account with nothing to type.
- static const scanQrCode = 'Scan QR code';
+ static const scanQrCode = 'Scan QR from computer';
/// An emailed code. Not on the welcome any more (owner, 2026-10-12: three ways in, nothing else);
/// the camera's "Use email instead" leads to it.
diff --git a/mobile/lib/phone/welcome/onboarding_frame.dart b/mobile/lib/phone/welcome/onboarding_frame.dart
index 0f1415cce..da6e8c171 100644
--- a/mobile/lib/phone/welcome/onboarding_frame.dart
+++ b/mobile/lib/phone/welcome/onboarding_frame.dart
@@ -11,8 +11,8 @@ import 'set_up_computer.dart' show StepsTimeline, goToSteps;
/// which every screen after signing in shares (its wait, and the computer joining), so the picture
/// stays put from one to the next.
enum OnboardingLayout {
- /// ① A headline of up to three lines; Scan QR code, the two accounts and the quiet line at the
- /// foot.
+ /// ① A headline of up to three lines; Scan QR from computer, the two accounts and the quiet line
+ /// at the foot.
welcome,
/// ② The headline, the link and the steps on the computer under it — "Not you? Sign out" under
@@ -35,9 +35,9 @@ enum OnboardingLayout {
/// └──────────────────┘
/// Looking for your computer▌ status
///
-/// [ Scan QR code ] actions, at the foot
-/// [ Continue with Google ]
-/// [ Continue with Apple ]
+/// [ Scan QR from computer ] actions, at the foot
+/// [ Continue with Google ]
+/// [ Continue with Apple ]
/// ```
///
/// ⚠️ **Every slot is measured the same way on every screen of a [layout]**, whatever it holds — the
diff --git a/mobile/lib/phone/welcome/phone_welcome.dart b/mobile/lib/phone/welcome/phone_welcome.dart
index 854cac52a..649b3105f 100644
--- a/mobile/lib/phone/welcome/phone_welcome.dart
+++ b/mobile/lib/phone/welcome/phone_welcome.dart
@@ -31,9 +31,9 @@ import 'sign_in_provider_button.dart';
/// │ all lit, a phone │
/// └─────────────────────┘
///
-/// [ ⊞ Scan QR code ] → the camera ([ScanToConnectPage]) → Use email instead
-/// [ G Continue with Google ]
-/// [ Continue with Apple ]
+/// [ ⊞ Scan QR from computer ] → the camera ([ScanToConnectPage]) → Use email instead
+/// [ G Continue with Google ]
+/// [ Continue with Apple ]
/// (Cancel here while an account's page is up)
/// ```
///
@@ -42,10 +42,11 @@ import 'sign_in_provider_button.dart';
/// the computer's session when it has one (`docs/research/2026-10-11-phone-onboarding`, agreed with
/// the owner 2026-10-12).
///
-/// ⚠️ **Three ways in, nothing else** (owner, 2026-10-12): **Scan QR code** first, the screen's one
-/// filled button — its camera reads the code a signed-in computer's Add Phone shows ([ConnectCode]):
-/// its sign-in code signs this phone in to that computer's account with nothing to type, and its
-/// pairing code is held for that computer ([AppNotifier.pendingPairing]) — then Google and Apple.
+/// ⚠️ **Three ways in, nothing else** (owner, 2026-10-12): **Scan QR from computer** first, the
+/// screen's one filled button — its camera reads the code a signed-in computer's Add Phone shows
+/// ([ConnectCode]): its sign-in code signs this phone in to that computer's account with nothing to
+/// type, and its pairing code is held for that computer ([AppNotifier.pendingPairing]) — then
+/// Google and Apple.
/// No sample, no "Is Harness on your computer?", no tips. An emailed code is the camera's "Use
/// email instead", and where a scan without a sign-in code ends up.
///
@@ -67,7 +68,8 @@ class PhoneWelcome extends StatefulWidget {
final Future<void> Function(String email)? sendCode;
final Future<void> Function(String email, String code)? signIn;
- /// Stands in for the camera on Scan QR code's page, in tests and renders. Null opens the real one.
+ /// Stands in for the camera on Scan QR from computer's page, in tests and renders. Null opens the
+ /// real one.
final Widget? scanCamera;
@override
@@ -438,9 +440,9 @@ class _PhoneWelcomeState extends State<PhoneWelcome> {
}
}
-/// The welcome's foot: Scan QR code — the screen's one filled button — then Google and Apple
-/// ([SignInProviderButton]), and under them the quiet line's slot: Cancel while an account's page
-/// is up, empty otherwise, so the foot is the same height whatever it holds.
+/// The welcome's foot: Scan QR from computer — the screen's one filled button — then Google and
+/// Apple ([SignInProviderButton]), and under them the quiet line's slot: Cancel while an account's
+/// page is up, empty otherwise, so the foot is the same height whatever it holds.
class _Accounts extends StatelessWidget {
const _Accounts({
required this.onProvider,
@@ -461,7 +463,7 @@ class _Accounts extends StatelessWidget {
final bool entering;
final VoidCallback onCancel;
- /// "Scan QR code": the camera.
+ /// "Scan QR from computer": the camera.
final VoidCallback onScan;
@override
diff --git a/mobile/lib/phone/welcome/set_up_computer.dart b/mobile/lib/phone/welcome/set_up_computer.dart
index 1eee8ad76..921d0f57d 100644
--- a/mobile/lib/phone/welcome/set_up_computer.dart
+++ b/mobile/lib/phone/welcome/set_up_computer.dart
@@ -37,9 +37,10 @@ List<ComputerStep> goToSteps(String? account) => [
_signIn(account),
];
-/// The steps under the camera that reads Add Phone's code — the welcome's Scan QR code, and
-/// Computers' "Or scan the QR code on your computer" — where the page it came from says none of
-/// them ([ScanToConnectPage.steps]): open Harness on the computer, then Add Phone and where it is.
+/// The steps under the camera that reads Add Phone's code — the welcome's Scan QR from computer,
+/// and Computers' "Or scan the QR code on your computer" — where the page it came from says none
+/// of them ([ScanToConnectPage.steps]): open Harness on the computer, then Add Phone and where it
+/// is.
///
/// ⚠️ **One set for the camera (owner, 2026-10-12).** It used to be two: signed out "Click Add
/// Phone ③ Scan the QR code", signed in "Sign in on your computer ③ Not showing up? Click Add