Skip to content

Conversation

@CDRussell
Copy link
Member

@CDRussell CDRussell commented Oct 30, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1211794988737145?focus=true

Description

Adds WebView capability checks when determining if bookmark importing is possible

Steps to test this PR

ℹ️ QA optional

  • To test, run the app on a device with old Webview and tap on Import Bookmarks button inside Bookmarks activity. Verify it launches straight into the "old" flow to choose a file to import directly (no dialog, no offer to do the web flow)
@CDRussell CDRussell mentioned this pull request Oct 30, 2025
16 tasks
Copy link
Member Author

CDRussell commented Oct 30, 2025

@CDRussell CDRussell marked this pull request as ready for review October 30, 2025 13:54
Copy link
Contributor

@cmonfortep cmonfortep left a comment

Choose a reason for hiding this comment

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

LGTM

override suspend fun getBookmarksImportLaunchIntent(): Intent? {
return withContext(dispatchers.io()) {
if (autofillFeature.canImportBookmarksFromGoogleTakeout().isEnabled()) {
if (autofillFeature.canImportBookmarksFromGoogleTakeout().isEnabled() && webViewCapabilityChecker.webViewCapableOfImporting()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It's cool we can put the check here 👍

Copy link
Member Author

CDRussell commented Oct 30, 2025

Merge activity

  • Oct 30, 11:10 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 30, 11:13 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 30, 11:34 PM UTC: @CDRussell merged this pull request with Graphite.
@CDRussell CDRussell changed the base branch from feature/craig/bookmark_import_flow_observability to graphite-base/7037 October 30, 2025 23:11
@CDRussell CDRussell changed the base branch from graphite-base/7037 to develop October 30, 2025 23:11
@CDRussell CDRussell requested a review from malmstein as a code owner October 30, 2025 23:11
@CDRussell CDRussell force-pushed the feature/craig/web_view_capability_checks_for_bookmark_import branch from a200bdb to 1b2488a Compare October 30, 2025 23:12
@CDRussell CDRussell merged commit f8a8c1b into develop Oct 30, 2025
7 checks passed
@CDRussell CDRussell deleted the feature/craig/web_view_capability_checks_for_bookmark_import branch October 30, 2025 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants