2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-07 15:20:38 +00:00
Commit Graph

341 Commits

Author SHA1 Message Date
Mugurell
a0dd1ee6e7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21009 - New Recently closed tabs telemetry
This adds a new `recently_closed_tabs` category with then events for all user
interactions on the screen.

The already existent `events.recently_closed_tabs_opened` is still kept for a
bit more time to still have this data available while the new telemetry ride
the trains but can later be removed in favor of this newly added events.
2022-02-03 15:19:46 +00:00
Marc-Andre Leclair
ce32b61419 [fenix] For https://github.com/mozilla-mobile/fenix/issues/23426:Changed expiring perf probes to never expire
added new data_review url
2022-02-01 00:03:00 +00:00
Elise Richards
83b9cb914e [fenix] For https://github.com/mozilla-mobile/fenix/issues/22870: Renew/remove metrics set to expire in February (https://github.com/mozilla-mobile/fenix/pull/23453)
* For https://github.com/mozilla-mobile/fenix/issues/22870: Renew/remove metrics set to expire in February

* Add data review and add notification owner for never expire metrics
2022-01-28 23:35:59 +00:00
Matt Tighe
07bc214d56 [fenix] replace WallpaperFeatureDiscovered probe with WallpaperSettingsOpened 2022-01-26 23:50:56 +00:00
Matt Tighe
00cc662e9f [fenix] add events based on feedback 2022-01-26 23:50:56 +00:00
Matt Tighe
880c34528d [fenix] update based on PR feedback and data review 2022-01-26 23:50:56 +00:00
Matt Tighe
c599f29c47 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23381: add telemetry for wallpapers feature 2022-01-26 23:50:56 +00:00
Roger Yang
e33f407e9c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22956: Define "tags" for metrics in the app repository
Co-authored-by: William Lachance <wlach@protonmail.com>

Define "tags" for metrics in the app repository

Using the new "tags" feature in Glean, we can remove most of the
manual process/pain of defining tags in a seperate Glean annotations
repository (see: https://github.com/mozilla-mobile/fenix/wiki/Add-a-Glean-Annotation-for-an-event)
and just put them beside the metrics themselves. This should make it
much easier to keep this metadata up to date, since it can be added
in the same pull request as the instrumentation itself.

To keep the list of tags up to date with the Fenix issue labels, a new
script `update-glean-tags.py` has been added to the repository. It
should not need to be run often.

This pull request uses a scraped version of the defined tags in the
Glean annotations repository. After it lands, we can remove those and
just use the tagging information here as the main source of information.
2022-01-18 23:31:11 +00:00
Alexandru2909
68be05d051 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8108 - Add BrowserToolbar option to remove url from TopSites 2022-01-14 07:37:19 +00:00
Elise Richards
158dfd8154 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Data review for renewing january metrics 2022-01-10 17:05:49 +00:00
Elise Richards
798e455d78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Renew metrics expiring in January 2022-01-10 17:05:49 +00:00
mcarare
1facaaf775 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
4e6406e15e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Matt Tighe
4b6a1d2256 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
rxu
892989f0dd [fenix] Add distribution_id into first session ping 2021-12-01 03:05:57 +00:00
Mugurell
f70dfb6ef9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22534 - Show history highlights and groups in "Recently visited" (https://github.com/mozilla-mobile/fenix/pull/22535)
* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update homescreen section name to "Recently visited"

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Show both history highlights and groups in Recently visited

For now the metadata groups don't support scoring so as an interim solution we
will show up to 9 items, evenly distributes, first favoring groups sorted by
date then history highlights pre-sorted by default.

Tapping a history highlight will switch to it's already open tab if available
or create a new one in which to load it if needed.

A "Remove" option will also be available for history highlights to remove it
from the screen and also from history.
Currently removing a group / highlight will not query new ones to again show up
to 9 items, this will be implemented separately.

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Rename and refactor historymetadata to recentvisits

The updated feature supports more than history metadata so updating the overall
naming scheme seems needed.
To signal that this is a homescreen feature the entire package is moved to home

* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update UI tests to account for the new items space on the screen

Saw failures about not finding the collection section on screen.
This is probably happening because w are now adding the recent visits to
homescreen above the collections section pushing it off screen.

Since the collections might be obstructed by the toolbar shown on top as a
quick solution we'll scroll to the next homescreen section so that the
collections will be shown above in their entirety.

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-29 20:12:52 +00:00
Noah Bond
97e59a9717 [fenix] Tab group count telemetry (https://github.com/mozilla-mobile/fenix/pull/22479)
* For https://github.com/mozilla-mobile/fenix/issues/22410 - Refactored tab sorter metrics into a middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created distribution metric for tab group sizes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created tests for tabs tray middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Merge fixes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added PR number to metric

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added missing line to middleware to have the Store process actions

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Updated metric expiration to December

* For https://github.com/mozilla-mobile/fenix/issues/22410 - PR Feedback

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Removed else from middleware when
2021-11-29 18:16:57 +00:00
Noah Bond
bfc035e0c2 [fenix] MR2 Telemetry: Homescreen view count (https://github.com/mozilla-mobile/fenix/pull/22377)
* For https://github.com/mozilla-mobile/fenix/issues/22146 - Added counter for home screen views

* For https://github.com/mozilla-mobile/fenix/issues/22146 - Added PR number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-16 22:30:48 +00:00
Mugurell
ba3138ccf9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
Mugurell
31f98688a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22147 - New search term groups telemetry 2021-11-16 16:40:07 +00:00
Noah Bond
1d02011196 [fenix] MR2 Telemetry: Opening screen preference (https://github.com/mozilla-mobile/fenix/pull/22333)
* For https://github.com/mozilla-mobile/fenix/issues/22145 - Added telemetry to the opening screen preference.

* For https://github.com/mozilla-mobile/fenix/issues/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
Noah Bond
114f1347d9 [fenix] MR2 telemetry - Inactive tabs CFR (https://github.com/mozilla-mobile/fenix/pull/22301)
* For https://github.com/mozilla-mobile/fenix/issues/22298 - Added telemetry to inactive tabs CFR

* For https://github.com/mozilla-mobile/fenix/issues/22298 - added PR issue number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 19:47:21 +00:00
Mugurell
b95234f9d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22155 - The inactiveTabsCount probe reports actualInactiveTabs number 2021-11-08 12:32:39 +00:00
Roger Yang
ad076dd1c2 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22299: Add history search term group telemetry 2021-11-04 22:08:56 +00:00
Elise Richards
3424aac1a6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew product telemetry expiring in December (https://github.com/mozilla-mobile/fenix/pull/21316)
* For https://github.com/mozilla-mobile/fenix/issues/21313: Product telemetry renewals for December

* For https://github.com/mozilla-mobile/fenix/issues/21313: Data review for december product telemetry renewals

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 04:28:52 +00:00
Elise Richards
6ed1cb0c8b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Remove expiring/unused metrics for December (https://github.com/mozilla-mobile/fenix/pull/21789)
* Remove crash reporter metrics

* Remove tab counter menu item probe

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 03:54:18 +00:00
Noah Bond
cbfc23f8cc [fenix] Recent bookmark count telemetry (https://github.com/mozilla-mobile/fenix/pull/22293)
* For https://github.com/mozilla-mobile/fenix/issues/22075 - Added event to track the count of recent bookmarks

* For https://github.com/mozilla-mobile/fenix/issues/22075 - Added data review issue number

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 00:14:21 +00:00
Noah Bond
5e2853ea47 [fenix] MR2 Telemetry: Recent tabs section probe (https://github.com/mozilla-mobile/fenix/pull/22166)
* For https://github.com/mozilla-mobile/fenix/issues/22107 - Added probe to track if the Recent tabs / jump back in section is visible

* For https://github.com/mozilla-mobile/fenix/issues/22107 - Fixed lint errors

* For https://github.com/mozilla-mobile/fenix/issues/22107 - added data review number to metric

* For https://github.com/mozilla-mobile/fenix/pull/22166 - fixed expiration date

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-02 23:08:30 +00:00
Mugurell
3342f4a54a [fenix] For https://github.com/mozilla-mobile/fenix/issues/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
ba7d325bb4 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22057: Add search term groups telemetry 2021-11-02 15:46:29 +00:00
Mugurell
d116c95205 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22138 - Install source metrics probe 2021-11-02 09:12:34 +00:00
Roger Yang
c0fde2bebb [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22172: Add Recent searches telemetry 2021-11-02 04:17:10 +00:00
Roger Yang
46f9f1ae2c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22103: Add recent bookmarks telemetry 2021-11-02 01:35:36 +00:00
Elise Richards
55bf6f2839 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22175: Add data review link 2021-11-01 21:24:00 +00:00
Elise Richards
015be02422 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22175: Telemetry event for deleting a search term group from the recent searches section on home 2021-11-01 20:40:05 +00:00
Arturo Mejia
d201f02bfb [fenix] For https://github.com/mozilla-mobile/fenix/issues/22192 add telemetry for studies 2021-11-01 14:08:52 +00:00
Arturo Mejia
ecb13fa173 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22170: Add telemetry for the auto-close prompt 2021-10-27 13:17:35 +00:00
Elise Richards
1de688e7d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew metrics for December - never expire updates (https://github.com/mozilla-mobile/fenix/pull/21788)
* For https://github.com/mozilla-mobile/fenix/issues/21313: Renew metrics for December - never expire updates

* For https://github.com/mozilla-mobile/fenix/issues/21313: data review

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-26 22:00:06 +00:00
codrut.topliceanu
4b726e786b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21732 - Adds inactive tabs survey on disable + telemetry 2021-10-26 17:50:22 +00:00
Michael Droettboom
7d5bac64d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21025: Set long term business-critical metrics as non-expiring (https://github.com/mozilla-mobile/fenix/pull/21038)
* Set long term business-critical metrics as non-expiring.

* Remove quotes around "never"

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-25 23:53:02 +00:00
Mugurell
18127e2f5d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21841 - New telemetry for Google and Baidu top sites removal 2021-10-21 22:10:26 +00:00
Noah Bond
1c21e2face [fenix] MR2 Inactive tabs telemetry (https://github.com/mozilla-mobile/fenix/pull/21908)
* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added telemetry for interacting with inactive tabs

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added missing inactive tab delete count event to delete all event

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added PR numbers to metrics

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Updated broken unit tests. Resolved critical lint warning.

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Fixed inactive tabs setting toggle metric

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Updated FenixApp unit test

* For https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/21903 - Changed logic check for reporting inactive tab count

* PR: fixed merge conflict

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Removed tab close tracking when the user closes ALL inactive tabs

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Removed individual tab close metric verify from CLOSE ALL test

* For https://github.com/mozilla-mobile/fenix/issues/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
Elise Richards
86029b181c [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew fission metrics expiring in December 2021-10-09 03:42:00 +00:00
Mugurell
e6a73b5118 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21623 - Pocket recommended stories telemetry 2021-10-07 08:36:00 +00:00
Elise Richards
3db298543e [fenix] CI for Fix description for home_screen_displayed metric (https://github.com/mozilla-mobile/fenix/pull/21697)
* Fix description for `home_screen_displayed` metric

The current description appears to be incorrect by my reading of the source.

* Update app/metrics.yaml

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>

Co-authored-by: Will Lachance <wlachance@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-10-04 13:59:02 -07:00
Elise Richards
3631014159 [fenix] CI for Docs: Add extra context to events.browser_menu_action (https://github.com/mozilla-mobile/fenix/pull/21696)
* Docs only: Add extra context to `events.browser_menu_action`

This came up as a potential point of confusion in a discussion with DS. This is a docs only change.

* Update metrics.yaml

Co-authored-by: Will Lachance <wrlach@gmail.com>
2021-10-04 20:10:49 +00:00
Elise Richards
32d6ee0dd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: renewing performance awesomebar metrics (https://github.com/mozilla-mobile/fenix/pull/21315) 2021-09-27 15:40:21 -07:00
Gabriel Luong
450055a729 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 2021-09-22 14:20:16 +00:00
Arturo Mejia
c3df9a26d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04:00
Roger Yang
e7c3145fec [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill 2021-09-07 19:16:04 +00:00