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

Show prompt if all in-context dialogs have been shown #5580

Conversation

CrisBarreiro
Copy link
Contributor

@CrisBarreiro CrisBarreiro commented Feb 3, 2025

Task/Issue URL: https://app.asana.com/0/1205008441501016/1209303563866691

Description

Do not wait for the full onboarding to be completed to be able to show the broken site prompt, just wait for all in-context dialogs to show

Steps to test this PR

Feature 1

  • Fresh install
  • Complete the onboarding including all in-context dialogs but not the PPro one
  • Visit wikipedia.org and refresh 3 times in succession
  • Check the broken sites prompt is shown

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@lmac012 lmac012 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@@ -334,7 +334,7 @@ class CtaViewModel @Inject constructor(
return null
}

if (!canShowOnboardingDaxDialogCta()) {
if (areInContextDaxDialogsCompleted()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd remove canShowOnboardingDaxDialogCta() method since it is no longer used anywhere.

@CrisBarreiro CrisBarreiro force-pushed the feature/cris/show-broken-site-prompt-after-in-context-dialogs branch from 002552c to c61f047 Compare February 3, 2025 15:49
@CrisBarreiro CrisBarreiro merged commit d8b0190 into develop Feb 3, 2025
6 checks passed
@CrisBarreiro CrisBarreiro deleted the feature/cris/show-broken-site-prompt-after-in-context-dialogs branch February 3, 2025 16:06
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