-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For #17771: three-dot menu reorder #17838
For #17771: three-dot menu reorder #17838
Conversation
7d0e8b2
to
639d57e
Compare
Please rebase, a blocking UI test was disabled: f0b7b3b |
94ad7e3
to
e104efd
Compare
Codecov Report
@@ Coverage Diff @@
## master #17838 +/- ##
============================================
- Coverage 33.29% 32.67% -0.62%
+ Complexity 1347 1346 -1
============================================
Files 457 457
Lines 19261 19382 +121
Branches 2700 2708 +8
============================================
- Hits 6412 6334 -78
- Misses 12315 12516 +201
+ Partials 534 532 -2
Continue to review full report at Codecov.
|
onItemTapped.invoke(ToolbarMenu.Item.Settings) | ||
} | ||
private val newCoreMenuItems by lazy { | ||
val newTabItem = BrowserMenuImageText( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of making the icon invisible, you could also use SimpleBrowserMenuItem here to remove the icon or do it as a follow up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a followup filed for this - good to know which one we should use for that! I'll add it to the issue
app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
Show resolved
Hide resolved
This pull request has conflicts when rebasing. Could you fix it @eliserichards? 🙏 |
...rc/test/java/org/mozilla/fenix/components/toolbar/DefaultBrowserToolbarMenuControllerTest.kt
Show resolved
Hide resolved
} | ||
|
||
@Test | ||
fun handleToolbarBookmarkPressWithReaderModeActive() = runBlockingTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's been varied use of this in Fenix, but I was once told that naming tests with the back apostrophe and the IF THEN WHEN mindset. So fun Toolbar Bookmark Press With Readermode Inactive Results in Metrics Being Tracked
where the individual can see what the test is supposed to verify from the title alone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea! I'll change this 👍
Also these lints should be removed |
8da4e0f
to
bcfe1fa
Compare
62e4c28
to
25f45bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far, if no further issues after the tests run, then approving. Let's file follow-up issues for each ignored test so that we can fix them in the near future and not lose track of them.
25f45bc
to
6993642
Compare
Meta: #17796
Fixes #17771
Icons will be removed in #17872 (along with the erroneous add-ons menu that is added on the AC side in the
WebExtensionBrowserMenuBuilder
).Pull Request checklist
To download an APK when reviewing a PR: