Commit Graph

6015 Commits (c37f1e550b0a8dde6f5356a163bb41542c131238)

Author SHA1 Message Date
Mozilla L10n Automation Bot 47805dc6bb [fenix] Import l10n. 3 years ago
Arturo Mejia 96e083e5b3 [fenix] Update strings comments 3 years ago
Michael Comella 336d681451 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: add profiler markers on global layout. 3 years ago
Michael Comella 595a81aec2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: set up HomeActivityBinding the recommended way.
The recommended way is here:
https://developer.android.com/topic/libraries/view-binding

I was concerned with the existing implementation that binding was being
set conditionally.
3 years ago
Michael Comella 6e63dce89d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: remove outdated comment regarding async nav graph. 3 years ago
Michael Comella 2dc9cfec20 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18102: remove intermittent failing App onCreate duration measurement test.
The test as it exists relies on the robolectric lifecycle, which is hard
to predict, so it doesn't seem worth fixing the test. Writing the test
any other way would require excessive mocking, which also seems
impractical.
3 years ago
rxu e78754d598 [fenix] Add default topsite 58 for MozillaOnline builds 3 years ago
Arturo Mejia 5ce4a31be5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21095 add customize home button on the home screen. 3 years ago
Gabriel Luong b057d6a76f [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21099 - Update items under "Jump back in" section to the latest designs 3 years ago
Christian Sadilek d4a454442b [fenix] Sort history metadata on home and allow limiting results 3 years ago
Mozilla L10n Automation Bot ae40da34f8 [fenix] Import l10n. 3 years ago
Mugurell b0957a77ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/21120 - ImageLoader with a shimmer effect placeholder 3 years ago
AndiAJ ba70d609f1 [fenix] New deleteBookmarkInEditModeTest UI test 3 years ago
AndiAJ 9cf25c9c64 [fenix] Improve coverage for copyBookmarkURLTest 3 years ago
Mozilla L10n Automation Bot 42ddf1faa4 [fenix] Import l10n. 3 years ago
Elise Richards 1e1a52e6f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20654: Handle private mode switching from home behind search dialog.
Add tests for controller and interactor to handle private mode switches
3 years ago
Christian Sadilek 9a78d339b5 [fenix] Fix history metadata API breakage in unit tests 3 years ago
Jan-Erik Rediger 2ab11137aa [fenix] Ensure glean-native is excluded 3 years ago
Jan-Erik Rediger 3ea7d78268 [fenix] Use glean-native in tests
The Glean core native code is now shipped through GeckoView directly
(through its `-omni` packages).
For local tests we need a library matching the host-platform, which is
available in the glean-native package.
3 years ago
Rohan Maity 9bfba77957 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20634: remove some unused color resources 3 years ago
AndiAJ b1ee43a7ed [fenix] Improve coverage for addPrivateBrowsingShortcut Ui test 3 years ago
Arturo Mejia fc42d08c06 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18629: add support for SmartBlock exceptions 3 years ago
Arturo Mejia 5d55e07dd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21226 only show the "Customize Home" menu on home screen. 3 years ago
Arturo Mejia ea5d0ee63d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21211 hide the ETP in custom tabs. 3 years ago
Mozilla L10n Automation Bot d7355dc309 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 4ff053609b [fenix] Import l10n. 3 years ago
AndiAJ aa63facce4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21133 fix openMainMenuSyncItemTest UI test 3 years ago
bendk 739d93372e [fenix] Handle breaking changes from a-s 83.0.0 (https://github.com/mozilla-mobile/fenix/pull/21215) 3 years ago
Mozilla L10n Automation Bot a9cdb1984c [fenix] Import l10n. 3 years ago
Noah Bond 434c0b6918 [fenix] Issue mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/20637 - Fixed bug causing the tabs tray to scroll to the wrong tab when opened 3 years ago
mcarare 1d78c8b1a7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6968: Use close instead of read to close the response stream. 3 years ago
Arturo Mejia 42a5fcc880 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21095 allow users to configure their home screen. 3 years ago
Elise Richards d0757d386a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19947: manually add login (https://github.com/mozilla-mobile/fenix/pull/21199)
* [WIP] New Layout for adding login and 'add login' button in 'SavedLoginsListView' to launch it.
Fixed bindings.

* [WIP] Removed "reveal password" button

* [WIP] Added interactor for the add login screen

* [WIP] Trying to check for duplicates

* [WIP] Renaming "addNew..." with "add..."

* [WIP] Check for duplicates

* [WIP] Fixes after merge

* Cleaning up the layout and making edit text for hostname selectable

* Error handling on add login screen. Tests for interactors and controllers

Co-authored-by: Vitaly V. Pinchuk <vetal.978@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mozilla L10n Automation Bot 0ea0ce4532 [fenix] Import l10n. 3 years ago
Michael Comella df0b8e5886 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21183: remove view hierarchy depth check from excessive resource test.
This doesn't seem to be a high value test: increasing the view hierarchy
depth will only result in a performance problem on low end devices
if there is enough content on the new layer to cause the traversal to
take longer. It's more likely to result in a hard-to-workaround false
positive so we can remove it, like component init count.
3 years ago
Michael Comella 88f34d654e [fenix] For https://github.com/mozilla-mobile/fenix/issues/21183: remove lazyMonitored wrapper functionality.
We're not using the functionality so there's no sense in doing the work.
However, we keep the wrapper: see the code comments for details.
3 years ago
Michael Comella afea6772f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21183: remove component init check from excessive resource test.
This check doesn't seem high value because initializing a component
only indicates a performance problem if it's slow, which is not most
components, so it's likely to result in many false positives. To fix
the intermittent, we won't lose much if we remove it.
3 years ago
Arturo Mejia c42b4d7481 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20892 update connection panel strings 3 years ago
Noah Bond 691fe57943 [fenix] Issue mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/21140 - Updated recent tab logic to show media tab and second-to-last tab, if the media tab was the last active tab. (https://github.com/mozilla-mobile/fenix/pull/21141)
* Issue mozilla-mobilehttps://github.com/mozilla-mobile/fenix/issues/21140 - Updated recent tab logic to show media tab and second-to-last tab, if the media tab was the last active tab.

* Fixed RecentTabsListFeatureTest unit test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Arturo Mejia 1e64f87d67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20881 print if the build is a MozillaOnline 3 years ago
Mozilla L10n Automation Bot 03932cc800 [fenix] Import l10n. 3 years ago
Elise Richards 4be9b84c20 [fenix] Dont clip bounds on recently saved bookmarks 3 years ago
Michael Comella c5b2185119 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21138: change EXPECTED_RUNBLOCKING to range.
Compared with my local runs, CI sees +1 runBlockingIncrement calls so seems to
take other code paths. As such, we search for a range of rather than a single
value. The main downside I can think of is this could make the test trickier to
debug but we can wait and see if that's a problem in practice before taking
action on it.
3 years ago
Michael Comella d4c2608670 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21138: re-enable excessive resource use test.
This test wasn't running in CI
https://github.com/mozilla-mobile/fenix/issues/20386 so we changed the
CI configuration so that it will. However, the test was then failing so
this is the revision that unignores the test.

I wonder if componentInit count is useful - it seems like it'd cause
more false positives than not - but I figure we can leave it in and see
how it goes.
3 years ago
Roger Yang e7c3145fec [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill 3 years ago
Mozilla L10n Automation Bot 5fe3efeb98 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 09eb475097 [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot dac9585e2d [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot ce52e5510b [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 6c724c7f13 [fenix] Import l10n. 3 years ago
Arturo Mejia c0e8005c76 [fenix] For 20892 Update connection icons in address bar 3 years ago
Christian Sadilek 193016b662 [fenix] Remove mocked lambdas from AccountSettingsInteractorTest 3 years ago
Christian Sadilek e9b1f3fb81 [fenix] Add missing androidx.lifecycle dependencies 3 years ago
Mozilla L10n Automation Bot 9865ade3f8 [fenix] Import l10n. 3 years ago
czlucius 2d6dffe36a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18727: Exit PiP when launched externally with Intents 3 years ago
Mickey Moz dccc1133b1 [fenix] Update Android Components version (https://github.com/mozilla-mobile/fenix/pull/21109)
* Update Android Components version to 93.0.20210901143120.

* For https://github.com/mozilla-mobile/fenix/issues/21043 - Integrate AC changes

* Fix breaking API changes of RestoreAction

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
3 years ago
Christian Sadilek cda4440bad [fenix] Do not run unit tests in parallel
This is to investigate the intermittent mockk class
generation/loading issues. Since we can not reproduce
locally and the failures are intermittent they could
be caused by us running unit tests in parallel.
3 years ago
codrut.topliceanu bde4c0207a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19166: Increases tab_tray_list bottom padding
... to fit snackbar and FAB
3 years ago
Mozilla L10n Automation Bot b4bf6f22fd [fenix] Import l10n. 3 years ago
Gabriel Luong 9d12ec623c [fenix] For https://github.com/mozilla-mobile/fenix/issues/21078 - Remove unused creditCardsFeature feature flag 3 years ago
Elise Richards 061e5bf6af [fenix] Include data review for renewed metrics 3 years ago
Elise Richards 2d433166a8 [fenix] Remove banner open in app telemetry 3 years ago
Elise Richards edd26c3363 [fenix] Remove search suggestions in private telemetry 3 years ago
Elise Richards 4d2c0b9caf [fenix] Remove user specified search engine telemetry 3 years ago
Elise Richards 17ad77ea02 [fenix] Remove private browsing shortcut telemetry 3 years ago
Elise Richards 49c3b46145 [fenix] Fix data-review listed for default_browser_changed, toolbar_menu_visible, and toolbar_menu_clicked 3 years ago
Elise Richards 5abec1fb15 [fenix] Remove private browsing mode telemetry 3 years ago
Elise Richards 1e05446283 [fenix] Remove tip telemetry 3 years ago
Elise Richards 83416415b8 [fenix] Remove enable private search suggestions telemetry 3 years ago
Elise Richards 49e6325de4 [fenix] Remove open links in private tab telemetry 3 years ago
Elise Richards 61d95c4967 [fenix] Remove find in page telemetry 3 years ago
Elise Richards 9c5bb84cb1 [fenix] Remove total uri count telemetry 3 years ago
Elise Richards dd398def06 [fenix] Remove about page telemetry 3 years ago
Elise Richards 09132f35ac [fenix] Remove downloads management telemetry 3 years ago
Elise Richards 9a432d9f64 [fenix] Remove downloads misc telemetry. 3 years ago
Elise Richards dbf3897680 [fenix] Remove download notification telemetry. 3 years ago
Elise Richards cf2d620e0e [fenix] Remove master password telemetry. 3 years ago
Elise Richards feb4af320b [fenix] Renew probes set to expire in September 3 years ago
Elise Richards cc642da2e8 [fenix] Renew probes set to expire in October 3 years ago
Gabriel Luong 41f1202daa [fenix] For https://github.com/mozilla-mobile/fenix/issues/21037 - Add a delete history menu item
This removes the existing "Delete history" button in the History in favour of a menu item
3 years ago
Arturo Mejia 938992c39a [fenix] Add tint to settings icon on Tracking protection panel 3 years ago
Mozilla L10n Automation Bot acb12761e4 [fenix] Import l10n. 3 years ago
AndiAJ 3af7f3dfd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002 update and add missing tabs setting validations 3 years ago
Oana Horvath 2642dfc203 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20702: fix tests flakiness 3 years ago
Sebastian Kaspari e38ed593d4 [fenix] Enable Android Autofill support in all build types. 3 years ago
Mozilla L10n Automation Bot 1bbf5bda7c [fenix] Import l10n. 3 years ago
Mozilla L10n Automation Bot 4df5f7f8b9 [fenix] Import l10n. 3 years ago
Gabriel Luong 054f6b5626 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21035 - Refactor HistoryViewInteractor from HistoryView into HistoryInteractor 3 years ago
Oana Horvath e619f4b030 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: added page main menu items tests 3 years ago
Christian Sadilek 690f3e72f5 [fenix] Dedupe history metadata in groups based on url 3 years ago
Elise Richards 19c10c3779 [fenix] Update search metric expiration dates (https://github.com/mozilla-mobile/fenix/pull/21016) 3 years ago
Arturo Mejia 115cc74bb8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 add confirm dialog when turning on/off experiments 3 years ago
Arturo Mejia 38c5617b7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20871 mark strings for removal 3 years ago
Elise Richards d105e8bc19 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19931: Add telemetry probes for recent bookmarks on home screen (https://github.com/mozilla-mobile/fenix/pull/20316)
* Add telemetry probes for recent bookmarks on home screen. Tests for controller.

* Make the events into counters in the metrics ping

Update tests to reflect new metrics

Add data review link for new metrics

Mock new settings for startup metrics tests

Update metrics

Add test for recent bookmark glean events

* Recent bookmarks controller tests
3 years ago
Mugurell 7b7a252ecf [fenix] For https://github.com/mozilla-mobile/fenix/issues/20507 - Inactive tabs telemetry
Two new events are added:
- "inactive_tabs_expanded" for when the inactive tabs section is expanded
- "inactive_tabs_collapsed" for when the inactive tabs section is collapsed

For tracking when an inactive tab is opened / closed I've repurposed the
existing tabs tray telemetry (since the functionality uses the same code)
- tabs_tray.opened_existing_tab
- tabs_tray.closed_existing_tab
to support an extra "source" key indicating the feature from which a tab was
opened or closed. The current values for this new key are:
- "Tabs tray" for when a tab was opened/closed from tabs tray
- "Inactive tabs" for when a tab was openes/closed from the Inactive tabs
section of the tabs tray.
3 years ago
Mugurell 785a42edfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the Kotlin synthetics Lint detector
Since all usages of Kotlin synthetics are removed and no such code is generated
anymore there is no need to keep around this Detector anymore.
3 years ago
Mugurell 4466a39727 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin
This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
3 years ago
Mugurell 9959334a26 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Finish migrating all synthetics usages 3 years ago
codrut.topliceanu ecae7a61be [fenix] For https://github.com/mozilla-mobile/fenix/issues/20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
3 years ago
Oana Horvath d689ee206f [fenix] For https://github.com/mozilla-mobile/fenix/issues/20716: re-enables mainMenuInstallPWATest UI test 3 years ago