Commit Graph

6015 Commits (c37f1e550b0a8dde6f5356a163bb41542c131238)

Author SHA1 Message Date
Mugurell c37f1e550b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21045: Cleanup
- stick to one naming scheme: rename articles to stories and use this all
throughout the app.
- add some spacing above the new section (as per the current design)
3 years ago
Mozilla L10n Automation Bot 5a5507b490 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot f5588635a2 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 9dd6d98748 [fenix] Import l10n. 3 years ago
codrut.topliceanu 7ea5cdbe39 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21087: Updates Recently Saved design 3 years ago
Christian Sadilek c9e1bfe3dc [fenix] Fix mapping between history visits and groups to use createdAt
We currently have a 15s buffer to match metadata to its corresponding
visit. However, a existing metadata record can be updated more than
15s after it was created e.g. when closing the tab and updating
the view time.
3 years ago
Aaron Train 7f17484989 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21441: Fix changeAccessibiltySettings 3 years ago
Jonathan Almeida d7c1238dac [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21366: Speculative fix for failing test in TitleHeaderBindingTest 3 years ago
Christian Sadilek a6a6b6f257 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20893: Dedupe urls/site in history groups 3 years ago
Gabriel Luong cb4b5fc613 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21460 - Rename "Delete from history" to "Remove" for recent visit dropdown menu 3 years ago
Oana Horvath bc452b6adc [fenix] For https://github.com/mozilla-mobile/fenix/issues/17847: adding back editCustomSearchEngineTest UI test 3 years ago
AndiAJ cc65e13b50 [fenix] Improve coverage verifyEmptyBookmarksMenuTest and undoDeleteMultipleSelectionTest UI tests 3 years ago
AndiAJ 8976e193d9 [fenix] Fix for disabled saveLoginFromPromptTest 3 years ago
Mozilla L10n Automation Bot ba990dd118 [fenix] Import l10n. 3 years ago
Gabriel Luong e3bc494414 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21117 - Modify layout for items displayed under "Recently Visited" in the HomeScreen to follow latest UX designs 3 years ago
Arturo Mejia e87af643cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/21239 improve telemetry values for Allow users to customize their home screen 3 years ago
Oana Horvath 15a3e30bf0 [fenix] No issue: re-enabled swipeToSwitchTabTest 3 years ago
Travis Long 023612b87d [fenix] Fix logic so `isFirstRun` can be called multiple times on first run 3 years ago
Travis Long b4886fe546 [fenix] [SDK-344] Pass in first-run information to Nimbus for targeting 3 years ago
Gabriel Luong 450055a729 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 3 years ago
Aaron Train 4a6c5b8296 [fenix] Various UI test fixes and disabling of intermittents 3 years ago
Sebastian Kaspari 10f5aa228b [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21172: Refactor UI tests accessing awesomebar suggestions. 3 years ago
Sebastian Kaspari 74500adfb5 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 3 years ago
Gabriel Luong bc30e53e5d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21408 - Pass the corresponding HistoryMetadataKey to openToBrowserAndLoad and addTab use case 3 years ago
Gabriel Luong 793ceb8e28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20893 - Search term groups in history 3 years ago
AndiAJ 2b55e561fb [fenix] Exit onboarding tour UI tests 3 years ago
Mozilla L10n Automation Bot 13ce5a86bd [fenix] Import l10n. 3 years ago
Michael Comella 275ac7ad5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21126: process performancetest intent for AC too. 3 years ago
rayanHappy 1b6c555758 [fenix] Fix QR scan button not showing up when choosing a RTL language 3 years ago
Arturo Mejia c3df9a26d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21239 add telemetry for Allow users to customize their home screen 3 years ago
Christian Sadilek e18fbdfbfc [fenix] Make sure to only record view time once for a given tab access
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
3 years ago
Mozilla L10n Automation Bot 16f3396473 [fenix] Import l10n. 3 years ago
Elise Richards d387f7281c [fenix] No issue: remove escape chars on add logins string 3 years ago
Grisha Kruglov 6297f2cce9 [fenix] 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.
3 years ago
Elise Richards 48c0d7faee [fenix] For https://github.com/mozilla-mobile/fenix/issues/21337: rename recently saved section on home 3 years ago
Christian Sadilek 473f671f1c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21388: Only parse clipboard content when search fragment is attached 3 years ago
Jonathan Almeida 9d6367a607 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/21366: Fix intermittent test failure in TitleHeaderBindingTest 3 years ago
AndiAJ 0884f54fe8 [fenix] Improve coverage for verifyAboutFirefoxPreview 3 years ago
Mozilla L10n Automation Bot 1ae41010df [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 530d6a0cf8 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 1f0efff72e [fenix] Import l10n. 3 years ago
Michael Comella 9c2e6eee78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21296: add ProfilerMarkers.addForDispatchTouchEvent. 3 years ago
Michael Comella 49294996e2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
3 years ago
Michael Comella 4a132b958b [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
3 years ago
Michael Comella f53adc5b12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
3 years ago
Roger Yang 21c8f3d1a0 [fenix] Update tabs tray title header string comment to clarify what it does. 3 years ago
Michael Comella 8d5a7606f4 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/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 d396c9eb41298cc07fbf136f1de971010bc45d97 for a prior attempt to
address the intermittents in this class.
3 years ago
Jonathan Almeida c2d385f142 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/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>
3 years ago
Sebastian Kaspari b239d7d934 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 3 years ago
Roger Yang 02cbf2953f [fenix] For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section (https://github.com/mozilla-mobile/fenix/pull/21177)
* For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section in tabs tray

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Scroll to selected tab + various tab fixes for groupings

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Fix failing test

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
3 years ago