2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
Commit Graph

219 Commits

Author SHA1 Message Date
Chenxia Liu
ca57a2d3ab first_session 2020-10-07 11:02:42 -07:00
Chenxia Liu
815e159183 user_specified_search_engine, voice_search 2020-10-07 11:02:42 -07:00
Chenxia Liu
2edb812663 top_sites, tracking_protection 2020-10-07 11:02:42 -07:00
Chenxia Liu
bf381a6a7c tab, tabs_tray, toolbar_settings 2020-10-07 11:02:42 -07:00
Chenxia Liu
bb7515f76e syenc_account, sync_auth 2020-10-07 11:02:42 -07:00
Chenxia Liu
68ba986fd2 search_suggestions, search_shortcuts, search_widget 2020-10-07 11:02:42 -07:00
Chenxia Liu
965af504ad private_browsing, qr_scanner 2020-10-07 11:02:42 -07:00
Chenxia Liu
04d0e59468 pocket, onboarding 2020-10-07 11:02:42 -07:00
Chenxia Liu
ac28667995 logins, media_notification, media_state 2020-10-07 11:02:42 -07:00
Chenxia Liu
d50fbd062d Issue #14142 - find_in_page, history, reader_mode, tip 2020-10-07 11:02:42 -07:00
Sawyer Blatz
1f17371df6 For #14565: Add telemetry for top sites 2020-09-17 10:06:39 -07:00
ekager
83ffcac57e For #13926 - MP migration 2020-09-01 16:27:51 -07:00
Michael Droettboom
8f71704c1f
Fix a typo in metric expiry. (#14530)
This was changed to 2020-04-01 in b01dbeeebf

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
316b70940f
for #12573, added startup type and hasSavedInstance keys to app_startup_type telemetry (#13494) 2020-08-26 23:14:13 -07:00
liuche
b01dbeeebf
For #12046 - Renew telemetry probes before migration completion (#13958)
* For #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
78a823da87 For #14133: warn opened_link telemetry may be wrong. 2020-08-25 08:39:42 -07:00
Michael Droettboom
1816fbf49f Bug 1608838: Add data sensitivity metadata 2020-08-17 17:17:38 -07:00
Elise Richards
3e8cab19c0
For #10261: PWA Telemetry (#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
849e5b3a09 For #12802 - review: update metrics for data review. 2020-07-31 16:05:06 -07:00
Michael Comella
5d8c900391 For #12802: add StorageStats glean metrics. 2020-07-31 16:05:06 -07:00
Jeff Boek
12b95b4902 For #11579 - Adds telemetry for autoplay settings in Site Permissions 2020-07-29 15:10:25 -07:00
Sawyer Blatz
4b646c03cb For #9730: Add Login Dialog Prompt telemetry 2020-07-29 12:59:35 -07:00
sraturi
537d95c04d for #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
023a4983fa
For #10173: login duplicates and save (#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
f9b756c8c9 Issue #12044 - Bump expiry by 1mo for release 2020-06-26 18:28:46 -07:00
Sachin
4b9cc954fa
for #11830 added new metric for collecting startup method from all startup phases (#11940)
* for #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
8a08cb941e
For #11479: Record open tabs count in metrics ping (#12024) 2020-06-26 17:15:43 -07:00
Sawyer Blatz
101ecfbf66
For #11273: Add tabs tray telemetry (#12036) 2020-06-26 16:37:07 -07:00
Grisha Kruglov
f8cb1d6b48 Closes #11909: Metrics for recording number of recently used PWAs 2020-06-26 14:13:41 -07:00
Elise Richards
eeabcb10ff
Fix illegal arguments for onboarding keys (#12033) 2020-06-26 16:12:18 -05:00
Sawyer Blatz
04aee11d82
For #9625: Add telemetry for Tracking Protection CFR (#11923) 2020-06-25 11:24:55 -07:00
Elise Richards
665fb8d60c
#10824: Onboarding telemetry (#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
2d65faf232
For #11392: Rename Installation ping to FirstSession (#11869) 2020-06-25 10:06:26 -07:00
person808
9e3e95e351 For #11442 - Telemetry for tab counter menu. 2020-06-15 11:48:12 -07:00
Sawyer Blatz
d1cd877374 For #11118: Add missing telemetry 2020-06-12 10:29:05 -07:00
Sawyer Blatz
932a2f3703 For #11063: Update telemetry for etp settings 2020-06-10 22:51:21 -04:00
Chenxia Liu
b82322c225 Closes #10616 - Update docs for app_opened to reflect cold-start 2020-06-04 14:39:43 -07:00
Sawyer Blatz
9302d07d13 For #11118: Add toggle states to metrics ping 2020-06-04 10:08:23 -07:00
Gabriel Luong
9520c9dd32 For #8920 - [Telemetry] Send add-on ids in a metrics ping 2020-06-04 08:15:39 -07:00
mcarare
2090b11c97 For #10434: Handle cases when proc/$pid/stat is not accessible. 2020-06-02 17:57:39 -07:00
Sawyer Blatz
b06be1fcde For #9488 Add telemetry for search widget CFR 2020-05-28 15:15:25 -07:00
Sawyer Blatz
0a3727e1e6
No issue: Update installation docs timestamp for clarity (#10866) 2020-05-22 14:17:47 -07:00
Sawyer Blatz
7067e5c000
For #8125: Add default top site telemetry (#10752) 2020-05-22 13:10:09 -07:00
Sawyer Blatz
477493e197
For #10465: Add telemetry for voice search (#10785) 2020-05-20 14:35:57 -07:00
Grisha Kruglov
d37529e416 Perf telemetry for awesomebar suggestion provider durations
See mozilla-mobile/android-components#6802 for details; requires that PR.
2020-05-14 14:13:53 -07:00
Mihai Branescu
d6b448eeaa For #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
9a30d57db9
Update Android Components version to 41.0.20200512130104 🎲🎲 (#10600)
* Update GLEAN metrics and ping formatting

* Update Android Components version to 41.0.20200512130104.
2020-05-12 14:52:58 -04:00
ValentinTimisica
15dfe0811d For #10343: Updates metrics accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Sawyer Blatz
17fb7c1df7
For #10426: Removes installation ping GAID (#10532) 2020-05-09 10:35:57 -07:00
Sawyer Blatz
02f6e6868e
For #10426: Adds identifier to Glean for 24 hours (#10446) 2020-05-07 08:57:20 -07:00
Mugurell
c6c5777090 For #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
c6086103b4 Update generated docs 2020-04-30 08:37:22 -07:00
Michael Droettboom
c373af5d46 Fix glinter errors 2020-04-30 08:37:22 -07:00
Mihai Branescu
f09bc4566c For #6557 - added metric for in_content 2020-04-24 15:47:48 -07:00
Mihai Branescu
c4d76dce5a For #6558 - cleanup + added unit tests 2020-04-24 09:28:40 -07:00
Mihai Branescu
93ca1f6d9f For #6558 - added handling of web extension + sending metric for has_ads 2020-04-24 09:28:40 -07:00
Vlad Filippov
e51e1c878b Add 'useEmail' and 'useEmailProblem' metrics event
Fixes #9834
2020-04-23 10:33:36 -07:00
Sawyer Blatz
dce16964c0
For #9208: Adds in-product prompt to homescreen (#9836) 2020-04-22 14:29:43 -07:00
Michael Comella
909ee734bf For #8803 - post: update metrics & pings data review URL. 2020-04-17 09:11:58 -07:00
Michael Comella
2888d66ce0 For #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
a0c4b33b0f For #8803: add StartupTimeline ping type and framework_start metrics. 2020-04-17 09:11:58 -07:00
Gabriel Luong
dc6d479da3
For #6174 - Add telemetry for WebExtensions (#8318) 2020-04-02 10:12:31 -07:00
ekager
96c6401457 For #8125 - Send top sites count with metrics ping 2020-04-01 15:27:39 -07:00
Mihai Branescu
3f12c1cdb9 Closes #9352 - changed capitalisation of 'Open in app' 2020-03-27 14:43:32 -07:00
Sawyer Blatz
a356b4b2c4
For #9136: Send all adjust properties to glean (#9253) 2020-03-20 10:06:55 -07:00
Jeff Boek
7aeb5f072d For #7295 - Adds more documentation for the installation metrics 2020-02-14 20:56:49 -08:00
codrut.topliceanu
3b64cabc52 For #7295 - Removes some incorrect data-review links 2020-02-14 20:56:49 -08:00
codrut.topliceanu
d6ae3d4abe For #7295 - Adds new custom ping: 'installation' 2020-02-14 20:56:49 -08:00
ekager
b72550c28a For #8126 - Adds default top sites 2020-02-14 14:39:58 -08:00
Mugurell
b231afb05f For #6577 - Add total_uri_count to the Glean metrics ping
Re-apply the change for #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
ad1144c722 For #6577 - Remove the total_uri_count Glean StringMetricType
This was added as a duplicate to an already existing `total_uri_count`
CounterMetricType in #4456.
2020-02-13 15:54:55 -08:00
Emily Kager
9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 2020-02-07 22:05:35 -05:00
Gabriel Luong
64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #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
0a76fdaa58 For #7289: Adds telemetry for selecting dark theme 2020-02-03 23:20:42 +01:00
ValentinTimisica
2026c60136 For #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
154e11841a Fixes #7881: Send telemetry event when custom search engine is deleted 2020-01-27 12:04:28 +02:00
Gabriel Luong
f93e141d52 For #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
e1863dd3c2 For #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
c556e819bd For #5586 - Add telemetry for save logins setting 2020-01-22 14:19:12 -08:00
Sawyer Blatz
509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
2020-01-17 15:13:20 -08:00
ValentinTimisica
c106d89285 For #7751: Remove 'SearchWithCustomEngine' telemetry event 2020-01-16 10:14:07 -08:00
ValentinTimisica
981d19de13 For #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
7c5c9355ce For #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
13f73c2d2c
For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (#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
c3389dcdb5 For #6070 Adds telemetry for enabling search suggestions in private 2019-12-04 16:44:01 -08:00
Mihai Branescu
7cf71c8ef3
For #6396 - Added metrics for tracking history/bookmarks account sync toggles (#6601) 2019-11-27 11:16:23 +02:00
Sawyer Blatz
769c1e422d For #5694 & #6054: Allows users to change toolbar position (#6608)
* For #5694 & #6054: Adds preference screen for toolbar

* For #5694: Adds changing toolbar position functionality

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

* For #6054: Adds toolbar position to core ping
2019-11-25 16:43:32 -08:00
Gabriel Luong
c6562bff98 For #5583 - Adds telemetry for download notification (#6554) 2019-11-15 16:50:11 -05:00
Gabriel
ebdfe8184e For #5705 - Adds telemetry for media state (#6463) 2019-11-12 17:24:30 -08:00
Emily Kager
cc318021cc For #5586 - Adds Logins Telemetry (#6352)
* For #5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
2019-11-12 15:55:36 -08:00
Severin Rudie
f0468f8099
For #4281: fixed metrics.yaml for QAB removal (#6555) 2019-11-11 18:01:22 -08:00
Severin Rudie
6909a76bcb
4281 remove qab (#6310)
* For #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
284f3cf0f5 For #4456: Updates total_uri_count upload (#6482) 2019-11-06 19:10:56 -08:00
ekager
18c0525ff6 Use new API for ETP Exceptions 2019-11-05 12:45:58 -08:00
liuche
35d60130f2
Closes #6097 - Bump activation ping expiry date. (#6309) 2019-11-01 14:06:44 -07:00
Sawyer Blatz
8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 2019-10-30 11:02:33 -07:00
Sawyer Blatz
2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 2019-10-29 10:09:07 -07:00
Sawyer Blatz
4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 2019-10-24 17:16:49 -07:00
Sawyer Blatz
980b11610b For #5094: Adds telemetry for show search shortcuts 2019-10-10 22:52:41 -07:00
Michael Droettboom
55e6e00355 Add glinter overrides 2019-10-08 21:40:20 -07:00