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

125 Commits

Author SHA1 Message Date
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