[LWM] refactor(mobile): remove llmRebornABtest feature flag#18962
[LWM] refactor(mobile): remove llmRebornABtest feature flag#18962jiyuzhuang wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR removes the llmRebornABtest feature flag and its legacy onboarding path in Ledger Live Mobile, making “I don’t have a Ledger yet” consistently open the localized Reborn URL in production while keeping the Detox read-only e2e path intact.
Changes:
- Removed the
llmRebornABtestflag from@shared/feature-flagsand@ledgerhq/types-live. - Simplified mobile post-welcome onboarding to always open the localized Reborn URL (with a Detox-only navigation path for e2e).
- Deleted the now-unreachable
NoLedgerYetModaland updated Detox page objects accordingly.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| shared/feature-flags/src/flags/team-engagement/llmRebornABtest.ts | Removes the flag definition. |
| shared/feature-flags/src/flags/team-engagement/index.ts | Stops exporting the removed flag. |
| libs/ledgerjs/packages/types-live/src/feature.ts | Removes llmRebornABtest from the Features type. |
| apps/ledger-live-mobile/src/screens/Onboarding/steps/postWelcomeSelection.tsx | Removes flag-gated logic and modal usage; adds Detox-specific navigation behavior. |
| apps/ledger-live-mobile/src/screens/Onboarding/steps/NoLedgerYetModal.tsx | Deletes the legacy modal component. |
| apps/ledger-live-mobile/src/locales/en/common.json | Removes translation keys tied to the deleted modal/legacy path. |
| e2e/mobile/page/onboarding/onboardingSteps.page.ts | Updates Detox flow to account for modal removal. |
| apps/ledger-live-mobile/e2e/page/onboarding/onboardingSteps.page.ts | Updates app-scoped Detox flow to account for modal removal. |
| .changeset/remove-llm-reborn-abtest.md | Adds a changeset documenting the removal. |
| useFocusEffect(() => { | ||
| identifyUser(null); | ||
| }); |
| track("button_clicked", { | ||
| button: "I don’t have a Ledger yet", | ||
| }); | ||
| // ponytail: DETOX keeps discover-live read-only e2e path; prod opens Reborn URL |
Web Tools Build Status
|
78fcb17 to
ffa32fe
Compare
|
Rsdoctor Bundle Diff AnalysisFound 7 projects in monorepo, 7 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 desktop-mainPath:
📁 desktop-preloaderPath:
📁 desktop-rendererPath:
📁 desktop-webviewDappPreloaderPath:
📁 desktop-webviewPreloaderPath:
📁 desktop-workersPath:
📁 mobilePath:
Generated by Rsdoctor GitHub Action |
|




✅ Checklist
npx changesetwas attached.@ledgerhq/types-livetypes📝 Description
The Reborn URL A/B on LWM post-welcome onboarding is fully rolled out behind
llmRebornABtest. This PR removes the flag and the legacy code paths.Problem:
llmRebornABtestgated whether tapping “I don’t have a Ledger yet” opened the Reborn URL or a legacy upsell modal (NoLedgerYetModal). The experiment is complete; the flag and dead code add maintenance overhead.Solution:
llmRebornABtestfrom@shared/feature-flags,@ledgerhq/types-live, and the mobile apppostWelcomeSelectionalways opens the localized Reborn URL in productionNoLedgerYetModal(no longer reachable)DETOX_ENABLED@shared/feature-flagssuite: 85 tests passingNote: Coordinate Firebase remote config removal of
llmRebornABtestwith the config owner.❓ Context
🧐 Checklist for the PR Reviewers