Skip to content

Bug 2024020 - Added an observability check on shakes in BrowserFrag#130

Closed
fmasalha wants to merge 1 commit into
mozilla-firefox:autolandfrom
fmasalha:gestureListenFix
Closed

Bug 2024020 - Added an observability check on shakes in BrowserFrag#130
fmasalha wants to merge 1 commit into
mozilla-firefox:autolandfrom
fmasalha:gestureListenFix

Conversation

@fmasalha
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

View this pull request in Lando to land it once approved.

@fmasalha
Copy link
Copy Markdown
Contributor Author

}
}
}
}
}

private fun navigateToSummarizationIfEligible() {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

linter said that the setup function was too complex after i added the gesture clause to I had to extract it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I appreciate you fixing the linting issue!

// has not been recreated yet, we need to check if it's still active before proceeding.
val shakeEnabled = requireComponents.core.summarizeFeatureSettings.shakeToSummarizeEnabled

if (!shakeEnabled) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

According to the linter, 4 clauses is too much for an if statement to i placed this check alone at the top.

}
}
}
}
}

private fun navigateToSummarizationIfEligible() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I appreciate you fixing the linting issue!

@segunfamisa
Copy link
Copy Markdown
Contributor

explanation for the "testing-exception-other" flag:

the flow we are working with is hard to test with the way the browser fragment is set up.

lando-worker Bot pushed a commit that referenced this pull request Mar 18, 2026
@lando-worker
Copy link
Copy Markdown

lando-worker Bot commented Mar 18, 2026

Pull request closed by commit 627d374

@lando-worker lando-worker Bot closed this Mar 18, 2026
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Mar 20, 2026
…=segunfamisa

Pull request: mozilla-firefox/firefox#130

UltraBlame original commit: 2f826f93dd93e7132f27165c77d8a12da0d8fa0d
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Mar 20, 2026
…=segunfamisa

Pull request: mozilla-firefox/firefox#130

UltraBlame original commit: 2f826f93dd93e7132f27165c77d8a12da0d8fa0d
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Mar 20, 2026
…=segunfamisa

Pull request: mozilla-firefox/firefox#130

UltraBlame original commit: 2f826f93dd93e7132f27165c77d8a12da0d8fa0d
akliuxingyuan pushed a commit to fork-maintainers/iceraven-browser that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants