Commit Graph

7352 Commits

Author SHA1 Message Date
Christian Sadilek
d830006984 For #20893: Dedupe urls/site in history groups 2021-09-23 16:09:43 +00:00
Gabriel Luong
976dd6ebe1 For #21460 - Rename "Delete from history" to "Remove" for recent visit dropdown menu 2021-09-23 14:26:46 +00:00
Oana Horvath
43d1cb233e For #17847: adding back editCustomSearchEngineTest UI test 2021-09-23 08:58:52 +00:00
AndiAJ
d534adc932 Improve coverage verifyEmptyBookmarksMenuTest and undoDeleteMultipleSelectionTest UI tests 2021-09-23 08:04:40 +00:00
AndiAJ
3ad0ec1302 Fix for disabled saveLoginFromPromptTest 2021-09-23 07:09:15 +00:00
Mozilla L10n Automation Bot
74989db239 Import l10n. 2021-09-23 01:06:49 +00:00
MickeyMoz
11cf4e367e Update Android Components version to 94.0.20210922143147. 2021-09-22 23:44:03 +00:00
Gabriel Luong
90d7927b2f Issue #21117 - Modify layout for items displayed under "Recently Visited" in the HomeScreen to follow latest UX designs 2021-09-22 21:30:45 +00:00
Arturo Mejia
c05fbfb6c3 For #21239 improve telemetry values for Allow users to customize their home screen 2021-09-22 16:28:43 +00:00
Oana Horvath
83e3e0b19d No issue: re-enabled swipeToSwitchTabTest 2021-09-22 15:59:28 +00:00
Travis Long
ca069a78d2 Fix logic so isFirstRun can be called multiple times on first run 2021-09-22 15:35:28 +00:00
Travis Long
c9c28b66c8 [SDK-344] Pass in first-run information to Nimbus for targeting 2021-09-22 15:35:28 +00:00
Gabriel Luong
98b218d964 For #21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 2021-09-22 14:20:16 +00:00
Aaron Train
87e4a250f1 Various UI test fixes and disabling of intermittents 2021-09-22 12:57:26 +00:00
Sebastian Kaspari
cd61ef1c1d Issue #21172: Refactor UI tests accessing awesomebar suggestions. 2021-09-22 12:57:26 +00:00
Sebastian Kaspari
6d99c34f12 Issue #21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 2021-09-22 12:57:26 +00:00
MickeyMoz
a586d7e6cd Update Android Components version to 94.0.20210922091950. 2021-09-22 10:41:02 +00:00
Gabriel Luong
d9847f9525 For #21408 - Pass the corresponding HistoryMetadataKey to openToBrowserAndLoad and addTab use case 2021-09-22 08:15:08 +00:00
Gabriel Luong
2ae7d5d593 For #20893 - Search term groups in history 2021-09-22 08:15:08 +00:00
AndiAJ
391ff6b5fd Exit onboarding tour UI tests 2021-09-22 07:06:50 +00:00
Mozilla L10n Automation Bot
a42ca16167 Import l10n. 2021-09-22 01:59:21 +00:00
Michael Comella
3ab1ca8321 For #21126: process performancetest intent for AC too. 2021-09-21 20:49:12 +00:00
rayanHappy
6a3b9c4b8f Fix QR scan button not showing up when choosing a RTL language 2021-09-21 16:20:56 -04:00
Arturo Mejia
3272de1364 For #21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04:00
Christian Sadilek
6f7f284b55 Make sure to only record view time once for a given tab access
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
2021-09-21 12:37:44 -07:00
MickeyMoz
c71467f745 Update Android Components version to 94.0.20210921143125. 2021-09-21 16:45:33 +00:00
Mozilla L10n Automation Bot
e00079aeaf Import l10n. 2021-09-21 00:47:29 +00:00
Elise Richards
368d8cc214 No issue: remove escape chars on add logins string 2021-09-20 21:30:16 +00:00
Grisha Kruglov
b7b8de1c2f Use UpdateUrlAction to record viewTime observations
We discovered that in a tab restore scenario we were recording view time
observations that were wrong - we'd record time deltas as-if user was
looking at the page while the browser wasn't running.

This happens because when we record a viewTime observation, we compare
current time with lastAccess time of the tab. In a restore scenario,
that lastAccess time happens to be from when the browser was last
running - which could be days ago.

The simplest solution was to not record a viewTime observation if the
url for a tab didn't change during a load event. To achieve this, we
needed to change which action we were using as a proxy for "navigation
events" - UpdateUrlAction contains the new url, allowing us to compare
against the current tab url.

Alternative solutions would be to keep using loading actions, but
dispatch a lastAccess event before performing a metadata update. This
would have worked, but would result in two lastAccess events being
dispatched for each navigation event instead of just one.
2021-09-20 20:14:04 +00:00
Elise Richards
b56d8ff545 For #21337: rename recently saved section on home 2021-09-20 19:42:19 +00:00
Christian Sadilek
16085b9008 Closes #21388: Only parse clipboard content when search fragment is attached 2021-09-20 14:31:08 -04:00
Jonathan Almeida
e9434a5b11 Close #21366: Fix intermittent test failure in TitleHeaderBindingTest 2021-09-20 17:47:17 +00:00
AndiAJ
d4ce149c3e Improve coverage for verifyAboutFirefoxPreview 2021-09-20 09:41:23 +00:00
Mozilla L10n Automation Bot
f4397cc85e Import l10n. 2021-09-20 00:38:29 +00:00
MickeyMoz
7291c39941 Update Android Components version to 94.0.20210919202539. 2021-09-19 21:58:50 +00:00
MickeyMoz
609a46b6fd Update Android Components version to 94.0.20210919143155. 2021-09-19 16:32:04 +00:00
Mozilla L10n Automation Bot
65dd9cb079 Import l10n. 2021-09-19 00:34:04 +00:00
MickeyMoz
1e3adbcf33 Update Android Components version to 94.0.20210917190109. 2021-09-18 16:50:12 +00:00
Mozilla L10n Automation Bot
a455116d2c Import l10n. 2021-09-18 00:40:46 +00:00
Michael Comella
7232fedb20 For #21296: add ProfilerMarkers.addForDispatchTouchEvent. 2021-09-17 23:06:50 +00:00
Michael Comella
bb632c7b3b For #21299: add duration markers for HomeActivity Create/Start.
We only instrument these methods because they're the only ones that
noticeably long running in the current implementation.
2021-09-17 22:34:01 +00:00
Michael Comella
d67bd65f19 For #21299: add duration marker for IntentReceiverActivity.onCreate.
We only instrument onCreate because it's the only one with an
implementation.

While declaring this as a function that accepts a lambda is less
fragile, we've previously had issues with it such as suspected memory
leaks when used for telemetry. Therefore, we go with the simpler
approach.
2021-09-17 22:34:01 +00:00
Michael Comella
f8a4113271 For #21299: add markers for all activity lifecycle callbacks.
We implement these all in the same track because between it'd create a
lot noise between this and fragment lifecycle callbacks.
2021-09-17 22:34:01 +00:00
Roger Yang
872263cf2d Update tabs tray title header string comment to clarify what it does. 2021-09-17 21:07:30 +00:00
Michael Comella
a3d3519e68 Closes #21335: return self instead of mock in FenixSnackbarKtTest.
This is a speculative fix for the intermittent issue. Typically, these
intermittents are caused by mocked lambdas but there is no mocked lambda
here. If this doesn't work, one `any()` argument fills in for a lambda:
it's possible that's causing the failure.

Unfortunately, I can't verify this fix easily because the "run test until
failure" option was removed from Android Studio.

See b3f5c87585 for a prior attempt to
address the intermittents in this class.
2021-09-17 18:18:03 +00:00
Jonathan Almeida
bc7f5d80df Issue #21236: Fixes empty tray visibility logic
This is a bug we noticed after landing search term grouping.

An adapter can submit an empty list of items to the `ConcatAdapter`
early. This has the side-effect of triggering our `observeFirstInsert`
too soon and therefore updating the visibility to show the empty tray
placeholder and never switches back.

Our solution is to keep a constant observer on the adapter so we can
perform the visibility check on every insert/remove.

Co-authored-by: Roger Yang <royang@mozilla.com>
2021-09-17 13:48:08 -04:00
Sebastian Kaspari
6ac10d5209 Issue #21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 2021-09-17 08:10:04 +00:00
Roger Yang
fc18fd2520
For #21236: Separate tabs with the same search term into a different section (#21177)
* For #21236: Separate tabs with the same search term into a different section in tabs tray

* Issue #21236: Scroll to selected tab + various tab fixes for groupings

* Issue #21236: Fix failing test

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2021-09-17 03:26:34 +00:00
MickeyMoz
0b18d04a23 Update Android Components version to 94.0.20210916214430. 2021-09-17 02:01:04 +00:00
Mozilla L10n Automation Bot
030f7d0d44 Import l10n. 2021-09-17 00:26:32 +00:00