2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

421 Commits

Author SHA1 Message Date
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
2021-08-24 12:30:13 -07:00
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.
2021-08-24 12:10:58 +00:00
codrut.topliceanu
ecae7a61be [fenix] For https://github.com/mozilla-mobile/fenix/issues/20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
2021-08-24 09:52:33 +00:00
Rohan Maity
7ffaefd3fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
rxu
36aed742b3 [fenix] Add event ping telemetry for the Baidu top site click 2021-08-20 03:46:20 +00:00
Sebastian Kaspari
b9d7552339 [fenix] metrics.yaml: Add data review URL for Android Autofill metrics 2021-08-19 15:13:37 +00:00
Gabriel Luong
c9575d0d62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00
Rohan Maity
620d034134 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
Elise Richards
3bfd5d1827 [fenix] Correct search_count telemetry after revert 2021-08-06 21:26:43 +00:00
Jonathan Almeida
3c66fa4833 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19956: Add telemetry for tab view setting changes
This differs from `tab_view_setting` which tells us what the user's tab
setting is at startup. It does not tell us if the user explicitly
changed it instead of just using the default (which was recently
changed in https://github.com/mozilla-mobile/fenix/issues/19809).
2021-08-06 19:33:54 +00:00
Roger Yang
333840f02e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill (https://github.com/mozilla-mobile/fenix/pull/19548)"
This reverts commit 5d65ba087e6b30a2a34b73b34e15b03bfecace0d.
2021-08-05 18:53:46 +00:00
Roger Yang
cffad4f424 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/18711 - Refactor credit card telemetry under the Metrics ping (https://github.com/mozilla-mobile/fenix/pull/19733)"
This reverts commit f6dd0834df4e2a15de684292a8422279487c5a23.
2021-08-05 18:53:46 +00:00
Michael Comella
68bef957b5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/20461: remove app_received_intent probe. 2021-08-03 18:19:12 +00:00
Michael Comella
e0e46cda2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: disable metrics we don't want to renew. 2021-08-02 19:12:25 +00:00
Michael Comella
f3f4526124 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: link to data renewal request. 2021-08-02 19:12:25 +00:00
Michael Comella
d23a7639ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: renew perf telemetry probes (August expiry).
I used eliserichards' PR https://github.com/mozilla-mobile/fenix/pull/20519 to
renew more easily.
2021-08-02 19:12:25 +00:00
Elise Richards
1bad9ad91c [fenix] No issue: fix glean metrics tests for expired metrics (https://github.com/mozilla-mobile/fenix/pull/20621)
* Remove references to preferences.open_links_in_private and preferences.private_search_suggestions in tests. These metrics have been expired and may be removed.

* Add ignores for performance metrics that have expired.

* Remove tabs_tray.cfr.dismiss and tabs_tray.cfr.go_to_settings telemetry probes.

* Remove metrics controller from signature and remove in tests
2021-08-02 18:14:17 +00:00
Sebastian Kaspari
bc41dd0b52 [fenix] Add telemetry for Android Autofill feature. 2021-07-30 09:37:43 +00:00
Elise Richards
2fdd3cc5e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20516: Renew product telemetry probes expiring in August (https://github.com/mozilla-mobile/fenix/pull/20517)
* Renew product telemetry probes expiring in august 2021

* Add placeholder for data reviews

* Allow unneeded metrics to expire in August. To be re-evaluated later.

* Add link to data review

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-07-29 19:14:31 +00:00
mcarare
cc18008cbe [fenix] For https://github.com/mozilla-mobile/fenix/issues/19955 https://github.com/mozilla-mobile/fenix/issues/20393: Add telemetry for home screen recent tabs. 2021-07-29 15:46:02 +00:00
Roger Yang
9df7c99ed2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19847: Add telemetry for the default browser notification 2021-07-15 19:35:45 +00:00
Mugurell
1c733e918e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20229 - Use the AC common implementation for ads/search telemetry
Everything should work exactly as before.
2021-07-14 17:55:24 +03:00
Michael Comella
154defa3b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20127: remove app_opened_all_startup from metrics.yaml. 2021-07-12 21:53:54 +00:00
Elise Richards
62ee6d6b34 [fenix] Update glean notification emails to new email group (https://github.com/mozilla-mobile/fenix/pull/20070) 2021-06-17 14:48:34 -05:00
Arturo Mejia
5ad8dd91e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19881 add telemetry for start on Home. 2021-06-17 13:09:28 -04:00
Elise Richards
c2926b84c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19923: renew telemetry probes (https://github.com/mozilla-mobile/fenix/pull/19924) 2021-06-15 18:08:01 -05:00
mcarare
3f213a1f9c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19915: Add telemetry for the toolbar Home screen button. 2021-06-14 19:23:24 +03:00
Gabriel Luong
5ab6b35346 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18711 - Refactor credit card telemetry under the Metrics ping (https://github.com/mozilla-mobile/fenix/pull/19733) 2021-05-31 17:35:47 -04:00
Elise Richards
0bedcba4e5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill (https://github.com/mozilla-mobile/fenix/pull/19548) 2021-05-27 23:54:11 -05:00
Tim D. Smith
43956c9687 [fenix] Fix case of item extras in browser_menu_action event (https://github.com/mozilla-mobile/fenix/pull/19487)
* Fix case of item extras in browser_menu_action event

Update the event description to match the values observed in telemetry.

* Line length
2021-05-19 11:12:27 -05:00
Roger Yang
2d709b67a7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19147: Move startup metrics to right after Glean initialization (https://github.com/mozilla-mobile/fenix/pull/19252) 2021-05-05 11:11:02 -04:00
William Lachance
283bae5ff1 [fenix] No issue - Properly quote description for ad metric (https://github.com/mozilla-mobile/fenix/pull/19243)
This is pedantic, but strictly something called <provider-name> is considered an HTML tag
unless it's in a code block (backticks). 

See mozilla/glean-dictionaryhttps://github.com/mozilla-mobile/fenix/pull/549 and mozilla/glean-dictionaryhttps://github.com/mozilla-mobile/fenix/pull/497. I'm going to fix this upstream
but figured I might as well file a PR here to fix the underlying issue.
2021-04-26 19:24:23 -04:00
mcarare
6774f41d26 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18852: Add metrics for default browser settings experiment. 2021-04-20 14:48:07 -04:00
Michael Comella
c7f94915cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: add metric perf.startup.startup_type. 2021-04-16 15:30:26 -07:00
Arturo Mejia
2119cfadae [fenix] Telemetry for https://github.com/mozilla-mobile/fenix/issues/18855, https://github.com/mozilla-mobile/fenix/issues/18851 and https://github.com/mozilla-mobile/fenix/issues/18857
For https://github.com/mozilla-mobile/fenix/issues/18857 [Telemetry] Send a Glean event when users change their default browser

For https://github.com/mozilla-mobile/fenix/issues/18855 [Telemetry] Send an event when users open the toolbar menu

For https://github.com/mozilla-mobile/fenix/issues/18851 [Telemetry] Send an event when users click on the "set as default browser" entry in the toolbar menu
2021-04-15 11:29:13 +03:00
Roger Yang
4f9a341746 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18948: Update tabstray telemetry (https://github.com/mozilla-mobile/fenix/pull/19004) 2021-04-14 15:32:45 -04:00
mcarare
8e8a872127 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18854: Add metrics for home screen being displayed. 2021-04-14 21:21:28 +03:00
mcarare
9dede18ff5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18853: Add metrics for default browser new tab experiment. 2021-04-14 19:22:27 +03:00
mcarare
4ff47f6c1d [fenix] For https://github.com/mozilla-mobile/fenix/issues/18856: Add metrics for opening settings screen from home menu. 2021-04-14 18:50:15 +03:00
Michael Comella
073a4dc221 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: note refactor in metrics docs. 2021-04-13 15:10:36 -07:00
Michael Comella
c04e4f392d [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: replace StartupActivityStateProvider with StartupStateProvider.
The StartupActivityStateProvider uses an imperative implementation,
driven by callbacks, to set the state of the application. This is hard
to follow as you need to understand which callbacks will be called in
which order. For example, to make sense of an implementation like this,
COLD, WARM, AND HOT would likely need to be implemented in separate
ActivityLifecycleCallbacks.

I feel the StartupStateProvider is an improvement because it leverages
the StartupActivityLog to query a linear state for a more understandable
implementation. Furthermore, it seems accessible to write COLD, WARM,
and HOT in the same class because they can all be approached the same
way.
2021-04-13 15:10:36 -07:00
Sebastian Kaspari
a23da507c5 [fenix] Introduce process lifecycle observer to collect metrics about tabs when app goes to foreground/background. 2021-04-09 12:36:27 +02:00
Grisha Kruglov
242ea763de [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17361: Extend perf.awesomebar.* metrics 2021-04-06 11:50:08 -07:00
Michael Comella
b26d782c2f [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add data review links. 2021-03-30 10:38:44 -07:00
Michael Comella
9c3ad5608a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: warn about flaw in app_opened_all_startup probe. 2021-03-30 10:38:44 -07:00
Michael Comella
c5bfc690d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: record cold start duration telemetry. 2021-03-30 10:38:44 -07:00
Michael Comella
f5accce70f [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add StartupActivityStateProvider.
This will be used to filter conditions for the start up telemetry we're
adding.
2021-03-30 10:38:44 -07:00
Michael Comella
ee31fe29c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add ApplicationStartReasonProvider.
We need to know this state to add a correct COLD MAIN probe.
2021-03-30 10:38:44 -07:00
Michael Droettboom
2fb552617a [fenix] Bug 1689162: Update Glean metrics.yaml schema (https://github.com/mozilla-mobile/fenix/pull/18683) 2021-03-29 11:53:45 -04:00
Roger Yang
e1404fab67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17644: Record when user taps on a add-on's setting (https://github.com/mozilla-mobile/fenix/pull/18504) 2021-03-24 14:31:39 -04:00
Michael Comella
3b2bda7c81 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add measurement probes for long-running lifecycle methods.
In addition to the existing probes for onCreate, this should cover all
lifecycle methods that take a long time in our profiles.
2021-03-19 17:41:03 -07:00
Michael Comella
1f67254b10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add telemetry for app.onCreate subsections.
Hopefully this will help us understand behavior of the
`application_on_create` probe, specifically that it seems to take longer
in telemetry than in does locally compared to `home_activity_on_create`
(comparing the medians to local runs)..
2021-03-19 11:52:29 -07:00
Mugurell
78b7d0e95c [fenix] For https://github.com/mozilla-mobile/fenix/issues/17869 - New AndroidKeystoreExperiment telemetry 2021-03-15 13:35:49 -07:00
mcarare
1c8387fdb9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17768: Renew telemetry expiring in March. 2021-03-15 19:59:38 +02:00
mcarare
ebde904cfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/18076: Renew telemetry expiring in April. 2021-03-15 19:59:24 +02:00
Roger Yang
1ca7dc61ab [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18178: Rework History Telemetry (https://github.com/mozilla-mobile/fenix/pull/18261) 2021-03-08 19:15:29 -05:00
Roger Yang
f0dcb64716 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18173: Add Telemetry When User Opens a Bookmark (https://github.com/mozilla-mobile/fenix/pull/18174) 2021-03-08 17:11:59 -05:00
Roger Yang
b8342ac6f0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18068: Use AwesomeBarFacts for AwesomeBar Telemetry (https://github.com/mozilla-mobile/fenix/pull/18090) 2021-03-08 16:34:52 -05:00
Roger Yang
70329154e5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18163: Use SyncedTabsFacts for Synced Tab Telemetry (https://github.com/mozilla-mobile/fenix/pull/18172) 2021-03-08 15:21:00 -05:00
Sebastian Kaspari
aca64b6eae [fenix] metrics.yaml: Update data review link of engine_tab.kill_foreground_age metric. 2021-03-03 09:23:32 +02:00
Sebastian Kaspari
1368a9bd19 [fenix] Fix metric types of engine telemetry. 2021-03-01 13:10:05 +01:00
Michael Comella
a0f46da9ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/18157: convert clock_ticks_per_second to quantity type.
While we could easily move this into the metrics ping, it's better to
leave it in the other ping because it's less work and because (I think)
we'll be better able to match `framework_secondary` values to the clock
ticks if we combine them in the same ping.
2021-02-26 16:12:59 -08:00
Michael Comella
188fe713ed [fenix] For https://github.com/mozilla-mobile/fenix/issues/17972: split frameworkStart into two metrics.
We do this in order to make it easier to analyze in GLAM: see the metric
descriptions for more details.

Additionally, we change the time unit to milliseconds to make it easier
to analyze in GLAM.
2021-02-19 13:21:31 -08:00
Michael Comella
3ae7379a5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/17969: add duration probes for App.onCreate and HomeActivity.onCreate. 2021-02-19 13:20:34 -08:00
Roger Yang
998a10cdc9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17089: Add metric to track both normal and private URI opened (https://github.com/mozilla-mobile/fenix/pull/17935) 2021-02-19 10:37:07 -05:00
Sebastian Kaspari
5fec5b8d61 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Collect telemetry about the content process of tabs getting killed. 2021-02-19 11:32:56 +01:00
Codrut Topliceanu
942195bfae [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Added telemetry for Google Default Top Site (https://github.com/mozilla-mobile/fenix/pull/17637)
* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds channel "ts" to TrackKey

This is used to track if the `InContentTelemetry` is a result of the user using the Google Top Site. It looks for `&channel=ts` within the uri.

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds TopSite PerformedSearch back in

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Check now looks for equality with GOOGLE_URL

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds test for topSite changes
2021-02-11 11:31:01 -05:00
Gabriel Luong
1430e127b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Add event ping telemetry for the Google Top Site click (https://github.com/mozilla-mobile/fenix/pull/17862)
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-02-05 12:06:32 -05:00
Elise Richards
b41d6160e5 [fenix] Increase date on expired metrics (https://github.com/mozilla-mobile/fenix/pull/17766) 2021-02-02 12:27:10 -06:00
Michael Comella
76864a8ece [fenix] For https://github.com/mozilla-mobile/fenix/issues/17553: renew storage.stats metrics. 2021-02-01 16:33:08 -05:00
Codrut Topliceanu
5e78e43440 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner (https://github.com/mozilla-mobile/fenix/pull/17049)
* For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner

Specifically: Banner displayed, Dismiss action, Go to Settings action.
2021-01-29 10:14:32 +02:00
Elise Richards
fcf3c5f57a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16485: Tabs tray grid view telemetry (https://github.com/mozilla-mobile/fenix/pull/17442)
* Tabs tray CFR telemetry interactions

* Create CFR events and implementation

* Tests for tab tray controller
2021-01-25 15:25:56 -06:00
Codrut Topliceanu
2f57dcfdac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17481 - Remove unused long_press_tapped metric (https://github.com/mozilla-mobile/fenix/pull/17544) 2021-01-21 10:02:26 +02:00
Codrut Topliceanu
b71d813d64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage (https://github.com/mozilla-mobile/fenix/pull/16968)
* For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage

Tracks Copy, Search, Select All and Share items from the text selection context menu. Uses AC's DefaultSelectionActionDelegate to achieve this.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-01-04 16:28:01 +02:00
Mugurell
4ee2151e75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Cleanup download telemetry - metrics ping reference
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 15:17:11 +02:00
Mugurell
a50340fd25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - Cleanup metrics ping reference (https://github.com/mozilla-mobile/fenix/pull/17071)
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 14:00:48 +02:00
mcarare
78195c8368 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Send copy url metrics correctly. 2020-12-16 13:50:38 +02:00
mcarare
4d286d91ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Send synced tabs metrics correctly. 2020-12-16 13:45:55 +02:00
Gabriel Luong
29e329d8f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16941 - [Telemetry] Bookmark Counts (https://github.com/mozilla-mobile/fenix/pull/16942) 2020-12-15 11:30:24 -05:00
Codrut Topliceanu
35eaf646a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15368 - Adds telemetry for fullscreen, pip (https://github.com/mozilla-mobile/fenix/pull/16833) 2020-12-15 14:46:15 +02:00
mcarare
20cff480b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Add documentation for copy url metrics. 2020-12-15 12:14:27 +02:00
mcarare
1e9604d03a [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Add documentation for synced tabs opening metrics. 2020-12-15 11:36:47 +02:00
mcarare
d404bd76d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add documentation for recently closed tabs metrics. 2020-12-15 10:52:11 +02:00
Mugurell
6019e8c907 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - DownloadsFragment telemetry (https://github.com/mozilla-mobile/fenix/pull/16728)
Adds a counter for how many times the user does the following action:
- opens the Downloads section inside the app
- tap to open an item from inside Downloads / from the download dialog
- tap to delete one or more downloads at once
2020-12-15 09:14:20 +02:00
Mugurell
cf4631c5c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Add telemetry for how many times we download something (https://github.com/mozilla-mobile/fenix/pull/16730) 2020-12-15 08:39:22 +02:00
Roger Yang
9dee73b238 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16075: Add distribution_id in telemetry startup metrics (https://github.com/mozilla-mobile/fenix/pull/16821) 2020-12-10 09:36:05 -05:00
Mugurell
6486465645 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16076 - Link data review for the share_image telemetry (https://github.com/mozilla-mobile/fenix/pull/16534) 2020-11-12 20:14:59 +02:00
ekager
c129fa2aba [fenix] For https://github.com/mozilla-mobile/fenix/issues/16132 - Rename normal mode menu item, remove telemetry 2020-11-12 09:11:16 -08:00
Codrut Topliceanu
23ff2851e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15720 - Remove unused telemetry (https://github.com/mozilla-mobile/fenix/pull/15887) 2020-11-09 17:24:46 -05:00
Mihai Adrian Carare
5fb5471df1 [fenix] For # 15929: Remove the search widget discoverability experiment. (https://github.com/mozilla-mobile/fenix/pull/16081)
* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove SearchWidgetCFR telemetry.

* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove SearchWidgetCFR and search widget experiment.

* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove unit tests references to search widget experiment.
2020-10-28 13:46:02 -07:00
ekager
9d876a7076 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15347 - Adds telemetry for tabs settings 2020-10-14 22:53:31 -04:00
Michael Comella
4fedc9d719 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10069 - post: link to issue, data review. 2020-10-09 15:47:55 -07:00
Michael Comella
6c86641cbc [fenix] For https://github.com/mozilla-mobile/fenix/issues/10069 - review: change extra name to firstFramePreDrawNanos. 2020-10-09 15:47:55 -07:00
sraturi
e97a48b48f [fenix] for https://github.com/mozilla-mobile/fenix/issues/10069 added AppLaunchTimeMeasurement.kt to handle logic of startup time for cold, warm, and hot startup types. 2020-10-09 15:47:55 -07:00
Chenxia Liu
7ad5f26333 [fenix] Adding link data review request 2020-10-07 11:02:42 -07:00
Chenxia Liu
5ffe145425 [fenix] startup.timeline 2020-10-07 11:02:42 -07:00
Chenxia Liu
86db33910d [fenix] sync, sync_items, telemetry, theme, toolbar_position,
tracking_protection, default_engine
2020-10-07 11:02:42 -07:00
Chenxia Liu
073321049c [fenix] accesssibility, open_links, remote_debugging, search_suggestions,
show_search
2020-10-07 11:02:42 -07:00
Chenxia Liu
7f14d314cb [fenix] search_count, search_widget, tabs_count, toolbar_position 2020-10-07 11:02:42 -07:00
Chenxia Liu
bba0353993 [fenix] has, count: open_tabs, pwa, top_sites 2020-10-07 11:02:42 -07:00
Chenxia Liu
03b5b9f4e8 [fenix] default*browser, mozilla_products 2020-10-07 11:02:42 -07:00
Chenxia Liu
83d6b8d559 [fenix] browser.search, events.total_uri_count, metrics.adjust* 2020-10-07 11:02:42 -07:00
Chenxia Liu
93a4cab155 [fenix] first_session 2020-10-07 11:02:42 -07:00
Chenxia Liu
bf68ea27c5 [fenix] user_specified_search_engine, voice_search 2020-10-07 11:02:42 -07:00
Chenxia Liu
ade609c3ac [fenix] top_sites, tracking_protection 2020-10-07 11:02:42 -07:00
Chenxia Liu
bb3332478b [fenix] tab, tabs_tray, toolbar_settings 2020-10-07 11:02:42 -07:00
Chenxia Liu
278ac8007d [fenix] syenc_account, sync_auth 2020-10-07 11:02:42 -07:00
Chenxia Liu
ed317ac898 [fenix] search_suggestions, search_shortcuts, search_widget 2020-10-07 11:02:42 -07:00
Chenxia Liu
9e4dfdf37c [fenix] private_browsing, qr_scanner 2020-10-07 11:02:42 -07:00
Chenxia Liu
71b1684c5b [fenix] pocket, onboarding 2020-10-07 11:02:42 -07:00
Chenxia Liu
41cb9084bf [fenix] logins, media_notification, media_state 2020-10-07 11:02:42 -07:00
Chenxia Liu
1838f130d1 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/14142 - find_in_page, history, reader_mode, tip 2020-10-07 11:02:42 -07:00
Sawyer Blatz
1a5a88be4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/14565: Add telemetry for top sites 2020-09-17 10:06:39 -07:00
ekager
793b27980d [fenix] For https://github.com/mozilla-mobile/fenix/issues/13926 - MP migration 2020-09-01 16:27:51 -07:00
Michael Droettboom
82e4291457 [fenix] Fix a typo in metric expiry. (https://github.com/mozilla-mobile/fenix/pull/14530)
This was changed to 2020-04-01 in c90c09e2eb697c68b86c1a321c0fca97aa86dca4

I assume this was just a typo, since a lot of metrics got changed to 2021-04-01
in the same commit.
2020-08-31 09:39:39 -07:00
Sachin
8025efc0d7 [fenix] for https://github.com/mozilla-mobile/fenix/issues/12573, added startup type and hasSavedInstance keys to app_startup_type telemetry (https://github.com/mozilla-mobile/fenix/pull/13494) 2020-08-26 23:14:13 -07:00
liuche
56821f7270 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12046 - Renew telemetry probes before migration completion (https://github.com/mozilla-mobile/fenix/pull/13958)
* For https://github.com/mozilla-mobile/fenix/issues/12046 - Renew telemetry probes before migration completion
* Delay remaining probes renewal for one more month.
2020-08-25 10:45:02 -07:00
Michael Comella
e2cd23ab93 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14133: warn opened_link telemetry may be wrong. 2020-08-25 08:39:42 -07:00
Michael Droettboom
c38fe720ed [fenix] Bug 1608838: Add data sensitivity metadata 2020-08-17 17:17:38 -07:00
Elise Richards
1e7d4c3e80 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10261: PWA Telemetry (https://github.com/mozilla-mobile/fenix/pull/11859)
* Add PWA events to metrics.

Track events for add to homescreen and install.

Map PWA facts to events

* Map component facts to local metrics

Add events pings to fragments

Supress long method for events

Move install event to AC and collect facts

Retrieve fg and bg events from Facts. Do not track intent fg/bg events, only views

* Allow onPause in base fragment to send telemetry for PWA in the external app fragment. Track foreground and bg locally in fenix, and route install and home screen taps from AC facts

* Rebase
2020-08-03 13:59:31 -05:00
Michael Comella
56b2adf7e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802 - review: update metrics for data review. 2020-07-31 16:05:06 -07:00
Michael Comella
19abae1155 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802: add StorageStats glean metrics. 2020-07-31 16:05:06 -07:00
Jeff Boek
d2d7fceb94 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11579 - Adds telemetry for autoplay settings in Site Permissions 2020-07-29 15:10:25 -07:00
Sawyer Blatz
2a5fdd6054 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9730: Add Login Dialog Prompt telemetry 2020-07-29 12:59:35 -07:00
sraturi
adfcf08a49 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11830 created class containing the logic for sending AllStartup telemetry logic
lint check

renamed the intentReceived telemetry to appOpenedAllSource

added comments

removed unused code

moved lifecycle process to AppAllSourceStartTelemetry

moved tracking event out of init function

lint fix

moved appAllStartTelemetry to components

added bit more info about the metrics

added the  onReceivedIntent metric back

minor fix

change discriptions based on the comments frm MR

wrote test cases for AppAllSourceStartTelemetry.kt

lint fix

test case to mock application going background

post rebase:

post rebase:

fixed nit from comments

fixed nit from comments

fixed nit from comments

lint fix

lint fix
2020-07-28 17:09:42 -07:00
Elise Richards
5b46f572df [fenix] For https://github.com/mozilla-mobile/fenix/issues/10173: login duplicates and save (https://github.com/mozilla-mobile/fenix/pull/11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
2020-07-16 17:08:04 -05:00
Chenxia Liu
a564b2a2fc [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12044 - Bump expiry by 1mo for release 2020-06-26 18:28:46 -07:00
Sachin
10a018b0b2 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11830 added new metric for collecting startup method from all startup phases (https://github.com/mozilla-mobile/fenix/pull/11940)
* for https://github.com/mozilla-mobile/fenix/issues/11830 added new metric for collecting startup method

move all source startup telemetry into its own logic and added an UNKOWN state

* switched back to onNewIntent solution

* renamed the metric
2020-06-26 17:38:08 -07:00
Sawyer Blatz
44ef22425b [fenix] For https://github.com/mozilla-mobile/fenix/issues/11479: Record open tabs count in metrics ping (https://github.com/mozilla-mobile/fenix/pull/12024) 2020-06-26 17:15:43 -07:00
Sawyer Blatz
f3b4354e76 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11273: Add tabs tray telemetry (https://github.com/mozilla-mobile/fenix/pull/12036) 2020-06-26 16:37:07 -07:00
Grisha Kruglov
f18c517551 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/11909: Metrics for recording number of recently used PWAs 2020-06-26 14:13:41 -07:00
Elise Richards
71cc2e1612 [fenix] Fix illegal arguments for onboarding keys (https://github.com/mozilla-mobile/fenix/pull/12033) 2020-06-26 16:12:18 -05:00
Sawyer Blatz
9834983edc [fenix] For https://github.com/mozilla-mobile/fenix/issues/9625: Add telemetry for Tracking Protection CFR (https://github.com/mozilla-mobile/fenix/pull/11923) 2020-06-25 11:24:55 -07:00
Elise Richards
ad9fa8a2ba [fenix] https://github.com/mozilla-mobile/fenix/issues/10824: Onboarding telemetry (https://github.com/mozilla-mobile/fenix/pull/11867)
* Onboarding events and tracking

* Rename metrics for consistency

* Add reference to PR for the data review

* Add default values to onboarding events
2020-06-25 13:21:31 -05:00
Sawyer Blatz
13e2e1f90b [fenix] For https://github.com/mozilla-mobile/fenix/issues/11392: Rename Installation ping to FirstSession (https://github.com/mozilla-mobile/fenix/pull/11869) 2020-06-25 10:06:26 -07:00
person808
0c7be5c84c [fenix] For https://github.com/mozilla-mobile/fenix/issues/11442 - Telemetry for tab counter menu. 2020-06-15 11:48:12 -07:00
Sawyer Blatz
82766c2043 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add missing telemetry 2020-06-12 10:29:05 -07:00
Sawyer Blatz
c75f07a97f [fenix] For https://github.com/mozilla-mobile/fenix/issues/11063: Update telemetry for etp settings 2020-06-10 22:51:21 -04:00
Chenxia Liu
4e4a09c240 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10616 - Update docs for app_opened to reflect cold-start 2020-06-04 14:39:43 -07:00
Sawyer Blatz
469c553398 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add toggle states to metrics ping 2020-06-04 10:08:23 -07:00
Gabriel Luong
f114509a37 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8920 - [Telemetry] Send add-on ids in a metrics ping 2020-06-04 08:15:39 -07:00
mcarare
b4d01b50ec [fenix] For https://github.com/mozilla-mobile/fenix/issues/10434: Handle cases when proc/$pid/stat is not accessible. 2020-06-02 17:57:39 -07:00
Sawyer Blatz
14dca9ab2a [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488 Add telemetry for search widget CFR 2020-05-28 15:15:25 -07:00
Sawyer Blatz
8379ab29eb [fenix] No issue: Update installation docs timestamp for clarity (https://github.com/mozilla-mobile/fenix/pull/10866) 2020-05-22 14:17:47 -07:00
Sawyer Blatz
6d3ff138cd [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125: Add default top site telemetry (https://github.com/mozilla-mobile/fenix/pull/10752) 2020-05-22 13:10:09 -07:00
Sawyer Blatz
ce07ba1b8c [fenix] For https://github.com/mozilla-mobile/fenix/issues/10465: Add telemetry for voice search (https://github.com/mozilla-mobile/fenix/pull/10785) 2020-05-20 14:35:57 -07:00
Grisha Kruglov
3e14d2215b [fenix] Perf telemetry for awesomebar suggestion provider durations
See https://github.com/mozilla-mobile/android-components/pull/6802 for details; requires that PR.
2020-05-14 14:13:53 -07:00
Mihai Branescu
990833cafd [fenix] For https://github.com/mozilla-mobile/fenix/issues/10599 - Removed baseline pings form metrics.yaml
As per documentation, this ping is intended to provide metrics that are managed by the library itself, and not explicitly set by the application or included in the application's metrics.yaml file.
2020-05-13 14:34:03 -07:00
Simon Chae
8461e941e5 [fenix] Update Android Components version to 41.0.20200512130104 🎲🎲 (https://github.com/mozilla-mobile/fenix/pull/10600)
* Update GLEAN metrics and ping formatting

* Update Android Components version to 41.0.20200512130104.
2020-05-12 14:52:58 -04:00
ValentinTimisica
bdc8299a36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10343: Updates metrics accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Sawyer Blatz
a324d122e9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10426: Removes installation ping GAID (https://github.com/mozilla-mobile/fenix/pull/10532) 2020-05-09 10:35:57 -07:00
Sawyer Blatz
faf0e35a96 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10426: Adds identifier to Glean for 24 hours (https://github.com/mozilla-mobile/fenix/pull/10446) 2020-05-07 08:57:20 -07:00
Mugurell
b3f769b407 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10322 - Update Glean - total_uri_count documentation
total_uri_count continues to accurately track the URLs visited by the user in
the current session.
Websites can though programmatically redirect users to a new URL using simple
javascript even without user interaction.
This needs to be documented for future references.
2020-05-01 18:34:39 -07:00
Michael Droettboom
bf0ecbc19d [fenix] Update generated docs 2020-04-30 08:37:22 -07:00
Michael Droettboom
20d019f42a [fenix] Fix glinter errors 2020-04-30 08:37:22 -07:00
Mihai Branescu
c1e736fdb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6557 - added metric for in_content 2020-04-24 15:47:48 -07:00
Mihai Branescu
30273fe6de [fenix] For https://github.com/mozilla-mobile/fenix/issues/6558 - cleanup + added unit tests 2020-04-24 09:28:40 -07:00
Mihai Branescu
09fae4d74f [fenix] For https://github.com/mozilla-mobile/fenix/issues/6558 - added handling of web extension + sending metric for has_ads 2020-04-24 09:28:40 -07:00
Vlad Filippov
81122da15a [fenix] Add 'useEmail' and 'useEmailProblem' metrics event
Fixes https://github.com/mozilla-mobile/fenix/issues/9834
2020-04-23 10:33:36 -07:00
Sawyer Blatz
8ed532ebdf [fenix] For https://github.com/mozilla-mobile/fenix/issues/9208: Adds in-product prompt to homescreen (https://github.com/mozilla-mobile/fenix/pull/9836) 2020-04-22 14:29:43 -07:00
Michael Comella
91ce22f753 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - post: update metrics & pings data review URL. 2020-04-17 09:11:58 -07:00
Michael Comella
12e7ad43c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - review: move forward metric expiration date.
We primarily want to determine if this is a problem area for us to
investigate rather than a long term measurement to keep so we should set
the expiration date accordingly. Furthermore, this code executes before
crash reporting is init so it's ideal to remove it sooner rather than
later.
2020-04-17 09:11:58 -07:00
Michael Comella
3556b5a10f [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupTimeline ping type and framework_start metrics. 2020-04-17 09:11:58 -07:00
Gabriel Luong
e754578cef [fenix] For https://github.com/mozilla-mobile/fenix/issues/6174 - Add telemetry for WebExtensions (https://github.com/mozilla-mobile/fenix/pull/8318) 2020-04-02 10:12:31 -07:00
ekager
ea9add8d2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125 - Send top sites count with metrics ping 2020-04-01 15:27:39 -07:00
Mihai Branescu
7c4db6a8af [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9352 - changed capitalisation of 'Open in app' 2020-03-27 14:43:32 -07:00
Sawyer Blatz
3c3db7d3ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/9136: Send all adjust properties to glean (https://github.com/mozilla-mobile/fenix/pull/9253) 2020-03-20 10:06:55 -07:00
Jeff Boek
ef35bc2c24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds more documentation for the installation metrics 2020-02-14 20:56:49 -08:00
codrut.topliceanu
e328df1f14 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Removes some incorrect data-review links 2020-02-14 20:56:49 -08:00
codrut.topliceanu
0c9efef83c [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds new custom ping: 'installation' 2020-02-14 20:56:49 -08:00
ekager
fecc5376cf [fenix] For https://github.com/mozilla-mobile/fenix/issues/8126 - Adds default top sites 2020-02-14 14:39:58 -08:00
Mugurell
e7a936910f [fenix] For https://github.com/mozilla-mobile/fenix/issues/6577 - Add total_uri_count to the Glean metrics ping
Re-apply the change for https://github.com/mozilla-mobile/fenix/issues/4456.
Keep `total_uri_count` as a CounterMetricType and let Glean manage it's
persistence and reset time (resets with each metrics ping sent).
2020-02-13 15:54:55 -08:00
Mugurell
0929ce5872 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6577 - Remove the total_uri_count Glean StringMetricType
This was added as a duplicate to an already existing `total_uri_count`
CounterMetricType in https://github.com/mozilla-mobile/fenix/issues/4456.
2020-02-13 15:54:55 -08:00
Emily Kager
100d019a67 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8176 - Adds new string for add to top sites (https://github.com/mozilla-mobile/fenix/pull/8209) 2020-02-07 22:05:35 -05:00
Gabriel Luong
aaf9c65f5d [fenix] Provide add-on support (https://github.com/mozilla-mobile/fenix/pull/8064)
Closes https://github.com/mozilla-mobile/fenix/issues/5630, https://github.com/mozilla-mobile/fenix/issues/6069, https://github.com/mozilla-mobile/fenix/issues/6092, https://github.com/mozilla-mobile/fenix/issues/6091, https://github.com/mozilla-mobile/fenix/issues/6124, and https://github.com/mozilla-mobile/fenix/issues/6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
ValentinTimisica
bcc027e1f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7289: Adds telemetry for selecting dark theme 2020-02-03 23:20:42 +01:00
ValentinTimisica
128ef37d5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/6834: Adds telemetry for About page items
Didn't change the existing probe for 'whats new' item because we're already
collecting that info.
2020-02-03 19:28:56 +01:00
ValentinTimisica
5c2478c102 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/7881: Send telemetry event when custom search engine is deleted 2020-01-27 12:04:28 +02:00
Gabriel Luong
1742d10b7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 2020-01-24 15:18:25 -08:00
Gabriel Luong
74bee87394 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6758 - Part 4: Implement "Add to Firefox Home" browser menu item
- The "Add to Firefox Home" browser menu item adds a top site to the top site storage.
- Refactors the FenixSnackbar from BaseBrowserFragment into BrowserToolbarController
since there are multiple menu items that need to show a FenixSnackbar.
- Adds metrics for the new browser menu item.
2020-01-24 15:18:25 -08:00
ekager
6377a946f8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Add telemetry for save logins setting 2020-01-22 14:19:12 -08:00
Sawyer Blatz
1b6e2b2f2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry & bump expiry date (https://github.com/mozilla-mobile/fenix/pull/7793)
* For https://github.com/mozilla-mobile/fenix/issues/6308: Remove unecessary telemetry

* For https://github.com/mozilla-mobile/fenix/issues/6308: Bump expiry date on telemetry
2020-01-17 15:13:20 -08:00
ValentinTimisica
d4fa64f541 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7751: Remove 'SearchWithCustomEngine' telemetry event 2020-01-16 10:14:07 -08:00
ValentinTimisica
a5e27570cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/6556: Adds Telemetry counts for Search Access Points
Added two new sources to be counted ('widget' and 'shortcut') besides 'action' and
'suggestion'. Also modified/fixed some tests.
2020-01-16 10:23:48 +02:00
ValentinTimisica
8560ea17c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5884: Adds user-specified search engines telemetry
Created events for adding and deleting a custom search engine and for searches
performed with a custom search engine.
2020-01-13 12:31:23 -08:00
Emma Malysz
eb02fcfcd7 [fenix] For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (https://github.com/mozilla-mobile/fenix/pull/7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
2019-12-30 14:42:13 -08:00
mcarare
7a289d1eb1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6070 Adds telemetry for enabling search suggestions in private 2019-12-04 16:44:01 -08:00
Mihai Branescu
6d8117f1ba [fenix] For https://github.com/mozilla-mobile/fenix/issues/6396 - Added metrics for tracking history/bookmarks account sync toggles (https://github.com/mozilla-mobile/fenix/pull/6601) 2019-11-27 11:16:23 +02:00
Sawyer Blatz
723d99864f [fenix] For https://github.com/mozilla-mobile/fenix/issues/5694 & https://github.com/mozilla-mobile/fenix/issues/6054: Allows users to change toolbar position (https://github.com/mozilla-mobile/fenix/pull/6608)
* For https://github.com/mozilla-mobile/fenix/issues/5694 & https://github.com/mozilla-mobile/fenix/issues/6054: Adds preference screen for toolbar

* For https://github.com/mozilla-mobile/fenix/issues/5694: Adds changing toolbar position functionality

* No issue: Updates telemetry links to actually work lol 😬

* For https://github.com/mozilla-mobile/fenix/issues/6054: Adds toolbar position to core ping
2019-11-25 16:43:32 -08:00
Gabriel Luong
23069b57af [fenix] For https://github.com/mozilla-mobile/fenix/issues/5583 - Adds telemetry for download notification (https://github.com/mozilla-mobile/fenix/pull/6554) 2019-11-15 16:50:11 -05:00
Gabriel
6314944213 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5705 - Adds telemetry for media state (https://github.com/mozilla-mobile/fenix/pull/6463) 2019-11-12 17:24:30 -08:00
Emily Kager
65fb429f90 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Adds Logins Telemetry (https://github.com/mozilla-mobile/fenix/pull/6352)
* For https://github.com/mozilla-mobile/fenix/issues/5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
2019-11-12 15:55:36 -08:00
Severin Rudie
153923588f [fenix] For https://github.com/mozilla-mobile/fenix/issues/4281: fixed metrics.yaml for QAB removal (https://github.com/mozilla-mobile/fenix/pull/6555) 2019-11-11 18:01:22 -08:00
Severin Rudie
2e76d82c9a [fenix] 4281 remove qab (https://github.com/mozilla-mobile/fenix/pull/6310)
* For https://github.com/mozilla-mobile/fenix/issues/4281: small ToolbarMenu refactor

This makes it easier to see how items are ordered in the menuItems list

* For 4281: add QAB buttons to menu

* For 4281: removed menu back button per mocks

I double checked with UX, and we'll be relying on the hardware back button for its functionality

* For 4281: add content descriptions for bookmarking

* For 4281: updated BrowserToolbarController for new functionality

* For 4281: provided simple dependencies to browser controller

More complex changes will be in a following commit, for review readability

* For 4281: move toolbar controller dependencies up to BaseBrowserFragment

The functionality they control is being moved into the toolbar menu, which is shared by both normal tabs and custom ones

* For 4281: removed (now unused) code related to QAB

* For 4281: fix test compilation after QAB removal

Tests still need to be expanded to include added functionality

* For 4281: updated menu to show if url is bookmarked

This sloppy workaround is required because TwoStateButton requires that `isInPrimaryState` be a synchronous call, and checking whether or not the current site is bookmarked is quite slow (10-50 MS, in my tests).  After days of work and many attempted solutions, this was the least abhorrent among them.

https://github.com/mozilla-mobile/android-components/issues/4915 was opened against AC to evaluate potentially supporting async `isInPrimaryState` functions.
https://github.com/mozilla-mobile/fenix/issues/6370 was opened against Fenix to investigate the unexpectedly slow call to `BookmarkStorage`.

* For 4281: update reader mode switch

* For 4281: selectively show/hide menu items

* For 4281: add reader mode appearance

* For 4281: update bookmark button when it is clicked

* For 4281: removed unused QAB code

* For 4281: removed QAB robot, updated UI tests

* For 4281: removed QuickActionSheet metrics

Since this behavior now lives in the toolbar, it is tracked via Event.BrowserMenuItemTapped

* For 4281: fixed lint errors

* For 4281: add new strings for buttons added to menu

This is necessary because the location change (from QAB to toolbar menu) could affect the grammar in some languages

* For 4281: remove outdated TODOs

* For 4281: removed QAB container

* For 4281: removed back button reference from UI test

This button no longer exists

* For 4821: Fixes a visual defect (extra padding on top of toolbar)

* For 4281: update copy on reader mode

* For 4281: fixed review nits
2019-11-11 17:10:14 -08:00
Sawyer Blatz
c6e952238d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Updates total_uri_count upload (https://github.com/mozilla-mobile/fenix/pull/6482) 2019-11-06 19:10:56 -08:00
ekager
e709201056 [fenix] Use new API for ETP Exceptions 2019-11-05 12:45:58 -08:00
liuche
0eb5656020 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6097 - Bump activation ping expiry date. (https://github.com/mozilla-mobile/fenix/pull/6309) 2019-11-01 14:06:44 -07:00
Sawyer Blatz
506fdc79a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Adds total_uri_count to metrics core ping (https://github.com/mozilla-mobile/fenix/pull/6003) 2019-10-30 11:02:33 -07:00
Sawyer Blatz
ed0d2c0c0c [fenix] For https://github.com/mozilla-mobile/fenix/issues/1298: Fixes issue with Adjust campaign not sending through Glean (https://github.com/mozilla-mobile/fenix/pull/5896) 2019-10-29 10:09:07 -07:00
Sawyer Blatz
8314b378d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5737: Adds telemetry for open links in a private tab (https://github.com/mozilla-mobile/fenix/pull/5975) 2019-10-24 17:16:49 -07:00