Skip to content

Conversation

@malmstein
Copy link
Contributor

@malmstein malmstein commented Nov 13, 2025

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

Description

This PR moves the BrowserMenu to the browser-ui module for ease of use
Lint is going to complain because of strings, this will be fixed on a stacked PR

Steps to test this PR

Browser mode

  • Open the app and visit a site
  • Open the Browser Menu
  • Verify all expected items are visible

New Tab mode

  • Open the app and open a new Tab
  • Open the Browser Menu
  • Verify all expected items are visible

Custom Tabs

  • Open the app and set it as default browser
  • Open a third party app that opens links in Custom Tabs (Reddit)
  • Open the Browser Menu
  • Verify all expected items are visible

Malicious sites

  • Open the app and navigate to "https://privacy-test-pages.site/security/badware/malware.html”
  • Open the Browser Menu
  • Verify that only a few options appear, nothing related to site is visible (print, add bookmark, etc…)
  • Continue to site
  • Open the Browser Menu
  • Verify all expected items are visible (same as any other website)

Copy link
Contributor Author

malmstein commented Nov 13, 2025

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

@malmstein malmstein marked this pull request as ready for review November 13, 2025 14:25
This was referenced Nov 13, 2025
malmstein and others added 2 commits November 14, 2025 15:58
Task/Issue URL: #7118

### Description
Translations for new Duck.ai Menu


---
- To see the specific tasks where the Asana app for GitHub is being
used, see below:
  - https://app.asana.com/0/0/1211921638789395
Task/Issue URL:
https://app.asana.com/1/137249556945/project/1174433894299346/task/1211821284193236?focus=true

### Description
This PR adds the new Duck.ai Menu

### Steps to test this PR

_Duck.ai Menu_
- [x] Open app and enable fullscreen mode Duck.ai
- [x] Open a new chat
- [x] Open the Browser Menu
- [x] Verify new menu is visible

---------

Co-authored-by: Dax The Translator <daxmobile@duckduckgo.com>
@joshliebe joshliebe self-requested a review November 18, 2025 16:28
import com.duckduckgo.common.ui.view.gone
import com.duckduckgo.mobile.android.R.drawable

class BrowserMenu(
Copy link
Contributor

@joshliebe joshliebe Nov 18, 2025

Choose a reason for hiding this comment

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

There’s a lot to review here, I noticed that !displayedInCustomTabScreen is no longer checked. Just making sure that that is intended?

vpnMenuItem.isVisible = false
}
VpnMenuState.NotSubscribed -> {
vpnMenuItem.isVisible = true
Copy link
Contributor

Choose a reason for hiding this comment

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

As well as !browserShowing is not used anymore, these are now true

@joshliebe
Copy link
Contributor

On new tab, the new tab button is missing:
Screenshot_20251118_175139

@joshliebe
Copy link
Contributor

New tab button also missing on malicious sites:
Screenshot_20251118_175940

@malmstein malmstein assigned joshliebe and unassigned aitorvs Nov 19, 2025
@joshliebe
Copy link
Contributor

New tab is back, only thing I couldn’t test is "VPN" I see on prod:
Screenshot_20251119_155807

Copy link
Contributor

@joshliebe joshliebe left a comment

Choose a reason for hiding this comment

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

Works as expected, LGTM 🚀

@malmstein malmstein merged commit b13e47d into develop Nov 19, 2025
15 checks passed
@malmstein malmstein deleted the feature/david/11-13-move_browserpopupmenu_to_browser-ui branch November 19, 2025 16:12
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.

3 participants