Commit Graph

216 Commits

Author SHA1 Message Date
mergify[bot] 9ea848b543
For #25933 - Ensure sponsored tiles are enable if enrolled in active experiment (#25947)
(cherry picked from commit 1207180aa8)

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2022-07-08 10:35:03 -04:00
Ben Dean-Kawamura ad222521be Adding support for app-services error reporting 2022-06-15 23:59:40 +00:00
jhugman 30fa80151d
Change FxNimbus/Nimbus startup sequence (#25266)
* Change FxNimbus initialization sequence

Add cache invalidation

* Change ordering of message restoration and Nimbus initialization

* Address reviewer comments
2022-05-18 13:23:26 +00:00
Arturo Mejia 1384414327 Revert "Change FxNimbus initialization sequence (#25089)"
This reverts commit 51ba7ab463.
2022-05-13 19:42:08 +00:00
jhugman 51ba7ab463
Change FxNimbus initialization sequence (#25089)
* Change FxNimbus initialization sequence

* Add cache invalidation
2022-05-13 18:23:01 +00:00
Gabriel Luong da1c5b9bf7 For #25115 - Remove showWallpapers feature flag 2022-05-04 19:27:13 -04:00
MatthewTighe 0f952284e6 for #24929: remove locale restriction for remote firefox wallpapers 2022-04-22 22:56:46 +00:00
Mugurell 5383d3ed63 For #24618 - Add Fenix own ServiceWorkerSupport
This replaces the default implementation from Android-Components to add the
functionality to first navigate to the browser fragment before responding to
service workers' requests of opening new tabs.

This will register itself when the main activity is created and unregister
itself when that activity is destroyed to support requests even when the
activity is in background but prevent any leaks.
2022-04-08 14:08:23 +00:00
Mugurell 526b9a17d7 For #24593 - Initialize Glean on all builds. Avoid Fennec check.
This completes the work for removing the Fennec migration support.
Before that, for Fenix release and beta, apps to which users might update to
from old Fennec builds the Glean initialization was done separately in
MigratingFenixApplication to allow time to first migrate user's telemetry
setting.
With the removal of the migration support it is now safe to initialize Glean in
the same way for all builds and remove that Fennec check.
2022-04-05 11:31:35 +00:00
Mugurell 6fb54b08f2 For #24331 - Support for opening new tabs when requested by service workers
Use the new `ServiceWorkerSupport` AC components for this.
Had to be installed in `FenixApplication` since there is a circular dependency
between the initialization of the required engine the `tabsUseCases` arguments.
2022-03-31 16:20:32 +00:00
Alexandru2909 f924f74434 For #24207 - Remove Event.wrapper for ToolbarSettings telemetry 2022-03-30 06:10:27 +00:00
Arturo Mejia 4389da7811 For #24222: Persist user interactions with nimbus messages 2022-03-30 00:18:51 +00:00
Noah Bond ccd8084dd4 For #24467 - Enable Contile setting telemetry 2022-03-29 16:42:10 +00:00
Brais Gabín 1f633edd7d For #23046 - Align detekt config between Fenix and Android Components
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2022-03-29 00:03:06 +00:00
Jonathan Almeida f953c5ec94 For #24220 and #24223: Connect GleanPlumb messages with the new tab ui card.
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2022-03-26 22:14:49 +00:00
Gabriel Luong c9a47d08a8 For #24130 - Change Shortcuts setting to toggle the display of Top Sites 2022-03-11 19:48:08 +00:00
Gabriel Luong 56022546f2 For #23893 - Add telemetry for Contile services 2022-03-03 20:56:44 +00:00
Arturo Mejia 1c66804c0b Add remote wallpapers 2022-03-01 22:16:52 +00:00
MatthewTighe 9b4a85942d fixes #23981: open download function and override for test 2022-02-25 18:34:22 +00:00
Gabriel Luong 37a0edceb6 For #23431 - Display the order of Contile Top Sites correctly 2022-02-10 00:54:24 +00:00
Matthew Tighe 9dc0506ec2
closes #23504: download focus wallpapers at runtime (#23505)
* closes #23504: download focus wallpapers at runtime

* address pr feedback

* only download wallpapers if feature flag is set
2022-02-01 21:45:55 +00:00
jhugman 82a6f8cae4
First use of Nimbus FML plugin (#23400)
* Consume Nimbus FML plugin

* Convert Homescreen to use FML

* Convert nimbusValidation to use FML

* Convert legacy experiments to use the feature API and FML

Remove dead helper code and documentation

* Fixup failing test

Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-28 12:48:05 +00:00
Gabriel Luong e5e7e6dbcf For #23409 - Specify fetchProvidedTopSites parameter for TopSitesConfig 2022-01-26 05:25:03 +00:00
mcarare cdbe7983f5 For #22879: Filter default engines when sending telemetry.
Filter out custom engines that are not well known search domains.
2022-01-04 10:29:16 +00:00
mcarare 00280d3b65 For #20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Mugurell d4a6facd81 For #22155 - Store inactive tabs count telemetry when user opens tabs tray
Setting this value in FenixApplication.onCreate was buggy because of a race
with restoring BrowserState.
Setting it here would ensure a better granularity of the events and so to more
accurate reporting.
2021-11-16 21:04:16 +00:00
Noah Bond 811f255b71
MR2 Telemetry: Opening screen preference (#22333)
* For #22145 - Added telemetry to the opening screen preference.

* For #22145 - Added PR number to metric

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 20:13:40 +00:00
Mugurell 953f6feb17 For #22155 - The inactiveTabsCount probe reports actualInactiveTabs number 2021-11-08 12:32:39 +00:00
Mugurell f9b67091c6 For #22155 - New BrowserState.actualInactiveTabs public method
This allows querying from all throughout the app which of the current tabs are
inactive while taking into consideration whether the feature is enabled or not
such that when the feature is disabled it will always return an empty result.
2021-11-08 12:32:39 +00:00
Mugurell 207e85e59d For #22155 - Inactive tabs count telemetry
A quantity probe in the metrics ping means we'll loose the granularity events
provided but it will be easier to extract the values.

For reporting whether the inactive tabs feature is enabled or not we already
have the "preferences.inactive_tabs_enabled" probe so I didn't duplicate this.
2021-11-02 16:32:00 +00:00
Roger Yang a46905b5e7 Issue #22057: Add search term groups telemetry 2021-11-02 15:46:29 +00:00
Mugurell 018fe15072 For #22138 - Install source metrics probe 2021-11-02 09:12:34 +00:00
Arturo Mejia 940af156eb For #22192 add telemetry for studies 2021-11-01 14:08:52 +00:00
Michael Comella 99533626f1 For #21921: rename MarkersLifecycleCallbacks to ...ActivityLifecycle...
This is to disamibugate with the MarkersFragmentLifecycleCallbacks that
we'll be adding.
2021-10-23 01:21:39 +00:00
Noah Bond 826249497a
MR2 Inactive tabs telemetry (#21908)
* For #21903 - Added telemetry for interacting with inactive tabs

* For #21903 - Added missing inactive tab delete count event to delete all event

* For #21903 - Added PR numbers to metrics

* For #21903 - Updated broken unit tests. Resolved critical lint warning.

* For #21903 - Fixed inactive tabs setting toggle metric

* For #21903 - Updated FenixApp unit test

* For #21903 - Updated newline character in Metrics. Set inactive tab metrics' lifetime to default. Updated expiration to Nov 2022. Refactored inactive tabs metric to be a single metric.

* PR: addendum for last commit that missed a file

* For #21903 - Changed logic check for reporting inactive tab count

* PR: fixed merge conflict

* For #21903 - Removed tab close tracking when the user closes ALL inactive tabs

* For #21903 - Removed individual tab close metric verify from CLOSE ALL test

* For #21903 - Updated inactive tabs toggle setting expiration to match the expiration of the other events

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-20 22:30:59 +00:00
Christian Sadilek c3ef16de61 Closes #21944: Top sites rendered slowly on first load of HomeFragment 2021-10-14 18:04:17 -04:00
Arturo Mejia 2b363b9868 For #21618: Integrate Nimbus with MR2 Home Page to enable experimentation 2021-10-04 00:39:59 +00:00
Arturo Mejia 3272de1364 For #21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04: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
Elise Richards fa811cb244 Remove enable private search suggestions telemetry 2021-08-31 18:28:05 +00:00
Elise Richards de992994de Remove open links in private tab telemetry 2021-08-31 18:28:05 +00:00
Grisha Kruglov 6161dc6e8d Closes 20975: Run metadata cleanup after Megazord.init()
This ensures that we do not attempt places initialization before
Megazord.init() finishes, and that touching BrowserStore does not
kick-off places initialization (due to the `cleanup` call being a
side-effect of creating metadata middleware, used as part of the
BrowserStore).

Glean initialization happens before initialize megazord, and it touches
core.store BrowserStore instance, kicking-off places initialization on
an IO thread (due to the cleanup call), which raced megazord
initialization on the main thread.

App init sequence is a bit of a mine-field, so this patch takes the easy
way out and doesn't attempt to re-order initialization sequence. Also,
initializing places as a side-effect of touching BrowserStore was also,
clearly, a bug.
2021-08-23 22:29:46 +00:00
Rohan Maity c45703db07 For #20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
Roger Yang 2ed4115a6c Revert "For #18711 - Refactor credit card telemetry under the Metrics ping (#19733)"
This reverts commit 172a118a51.
2021-08-05 18:53:46 +00:00
Sebastian Kaspari 971b419d77 Run ktlintFormat to adapt to latest formatting rules. 2021-07-30 11:58:02 +00:00
Sebastian Kaspari 24e9f64cff Add telemetry for Android Autofill feature. 2021-07-30 09:37:43 +00:00
Sebastian Kaspari 8b5aef7def Update Kotlin to 1.5.10 (and Coroutines to 1.5.0). 2021-07-19 09:20:50 +00:00
Michael Comella be64ee4159 For #20127: remove app_opened_all_startup integration. 2021-07-12 21:53:54 +00:00
Sebastian Kaspari 4753a1d494 Complete browser-state migration and remove browser-session dependency.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2021-06-09 18:30:21 +02:00
Gabriel Luong 172a118a51
For #18711 - Refactor credit card telemetry under the Metrics ping (#19733) 2021-05-31 17:35:47 -04:00