Repository navigation
fix(app): let onboarding Continue ask for the permissions still missing - #20493
Merged
Merged
Conversation
Since #18436 the permissions step (and the returning-user interstitial) only prompted from each row's Allow button; Continue moved on without asking. Users who tapped Continue believed they had granted notifications and location, and nothing in the app asked again, so they silently got no push notifications. Continue now asks, in row order, for every permission that is still askable, then moves on whatever the user chose. Allowed, blocked and service-off permissions are left alone, and a failed ask never keeps the user on the screen. This restores the v1.0.552 behaviour, where Continue requested notification and location permission. ux-contract.md §15 is updated to match. Verification: - flutter test test/widgets/onboarding_permissions_continue_test.dart: 3 pass; the two that expect asks fail without the fix. - 46 onboarding/permission test files (371 tests): all pass, including the updated guard in omi_permission_row_test.dart. - flutter analyze on the changed files: no issues. Failure-Class: none
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
The rows treat an unreadable status as askable and show Allow; Continue skipped it instead. Read the status and request it in separate steps so the two agree. Failure-Class: none
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
To improve the onboarding UX and address user complaints, Continue on the permissions screen now asks for whatever permissions are still missing.
Since #18436, the first-run permissions step and the returning-user interstitial only prompted from each row's Allow button, and Continue moved on without asking. "Continue" reads as "go ahead with these permissions", so users who tapped it believed they had granted notifications and location. Nothing in the app asks for notification permission again, so those users silently got no push notifications.
This restores the v1.0.552 behaviour, where Continue requested notification and location permission.
Change
requestMissingOnboardingPermissions(inonboarding_permissions_panel.dart) asks, in row order, for every permission stillaskable:PermissionsWidget) and on the returning-user interstitial (PermissionsInterstitialPage).app/docs/ux-contract.md§15 is updated. The "Continue never fires a system prompt by itself" rule is replaced with the new behaviour.Test rewritten in this PR
test/widgets/ui/omi_permission_row_test.dartasserted "Continue never prompts". The expected behaviour changes here by product decision, to improve UX after user complaints, and returns to what v1.0.552 shipped. The test now taps Allow first, then checks that Continue doesn't ask again for an allowed permission or prompt for a blocked one.Product invariants affected
none
Failure class
Failure-Class: none
Verification
flutter test test/widgets/onboarding_permissions_continue_test.dart: 3 tests pass.flutter analyzeon the changed files: no issues.scripts/pr-preflight --pr-body-file <this body>: passes.🤖 Generated with Claude Code