Commit Graph

247 Commits (2380d518081c7e003b8737bfd18af40d414ef8ee)

Author SHA1 Message Date
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
4 years ago
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
4 years ago
Chenxia Liu f9b756c8c9 Issue #12044 - Bump expiry by 1mo for release 4 years ago
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
4 years ago
Sawyer Blatz 8a08cb941e
For #11479: Record open tabs count in metrics ping (#12024) 4 years ago
Sawyer Blatz 101ecfbf66
For #11273: Add tabs tray telemetry (#12036) 4 years ago
Grisha Kruglov f8cb1d6b48 Closes #11909: Metrics for recording number of recently used PWAs 4 years ago
Elise Richards eeabcb10ff
Fix illegal arguments for onboarding keys (#12033) 4 years ago
Sawyer Blatz 04aee11d82
For #9625: Add telemetry for Tracking Protection CFR (#11923) 4 years ago
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
4 years ago
Sawyer Blatz 2d65faf232
For #11392: Rename Installation ping to FirstSession (#11869) 4 years ago
person808 9e3e95e351 For #11442 - Telemetry for tab counter menu. 4 years ago
Sawyer Blatz d1cd877374 For #11118: Add missing telemetry 4 years ago
Sawyer Blatz 932a2f3703 For #11063: Update telemetry for etp settings 4 years ago
Chenxia Liu b82322c225 Closes #10616 - Update docs for app_opened to reflect cold-start 4 years ago
Sawyer Blatz 9302d07d13 For #11118: Add toggle states to metrics ping 4 years ago
Gabriel Luong 9520c9dd32 For #8920 - [Telemetry] Send add-on ids in a metrics ping 4 years ago
mcarare 2090b11c97 For #10434: Handle cases when proc/$pid/stat is not accessible. 4 years ago
Sawyer Blatz b06be1fcde For #9488 Add telemetry for search widget CFR 4 years ago
Sawyer Blatz 0a3727e1e6
No issue: Update installation docs timestamp for clarity (#10866) 4 years ago
Sawyer Blatz 7067e5c000
For #8125: Add default top site telemetry (#10752) 4 years ago
Sawyer Blatz 477493e197
For #10465: Add telemetry for voice search (#10785) 4 years ago
Grisha Kruglov d37529e416 Perf telemetry for awesomebar suggestion provider durations
See mozilla-mobile/android-components#6802 for details; requires that PR.
4 years ago
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.
4 years ago
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.
4 years ago
ValentinTimisica 15dfe0811d For #10343: Updates metrics accordingly to 'Library' removal 4 years ago
Sawyer Blatz 17fb7c1df7
For #10426: Removes installation ping GAID (#10532) 4 years ago
Sawyer Blatz 02f6e6868e
For #10426: Adds identifier to Glean for 24 hours (#10446) 4 years ago
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.
4 years ago
Michael Droettboom c6086103b4 Update generated docs 4 years ago
Michael Droettboom c373af5d46 Fix glinter errors 4 years ago
Mihai Branescu f09bc4566c For #6557 - added metric for in_content 4 years ago
Mihai Branescu c4d76dce5a For #6558 - cleanup + added unit tests 4 years ago
Mihai Branescu 93ca1f6d9f For #6558 - added handling of web extension + sending metric for has_ads 4 years ago
Vlad Filippov e51e1c878b Add 'useEmail' and 'useEmailProblem' metrics event
Fixes #9834
4 years ago
Sawyer Blatz dce16964c0
For #9208: Adds in-product prompt to homescreen (#9836) 4 years ago
Michael Comella 909ee734bf For #8803 - post: update metrics & pings data review URL. 4 years ago
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.
4 years ago
Michael Comella a0c4b33b0f For #8803: add StartupTimeline ping type and framework_start metrics. 4 years ago
Gabriel Luong dc6d479da3
For #6174 - Add telemetry for WebExtensions (#8318) 4 years ago
ekager 96c6401457 For #8125 - Send top sites count with metrics ping 4 years ago
Mihai Branescu 3f12c1cdb9 Closes #9352 - changed capitalisation of 'Open in app' 4 years ago
Sawyer Blatz a356b4b2c4
For #9136: Send all adjust properties to glean (#9253) 4 years ago
Jeff Boek 7aeb5f072d For #7295 - Adds more documentation for the installation metrics 4 years ago
codrut.topliceanu 3b64cabc52 For #7295 - Removes some incorrect data-review links 4 years ago
codrut.topliceanu d6ae3d4abe For #7295 - Adds new custom ping: 'installation' 4 years ago
ekager b72550c28a For #8126 - Adds default top sites 4 years ago
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).
4 years ago
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.
4 years ago
Emily Kager 9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 4 years ago
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>
4 years ago
ValentinTimisica 0a76fdaa58 For #7289: Adds telemetry for selecting dark theme 4 years ago
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.
4 years ago
ValentinTimisica 154e11841a Fixes #7881: Send telemetry event when custom search engine is deleted 4 years ago
Gabriel Luong f93e141d52 For #7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 4 years ago
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.
4 years ago
ekager c556e819bd For #5586 - Add telemetry for save logins setting 4 years ago
Sawyer Blatz 509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
4 years ago
ValentinTimisica c106d89285 For #7751: Remove 'SearchWithCustomEngine' telemetry event 4 years ago
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.
4 years ago
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.
4 years ago
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
4 years ago
mcarare c3389dcdb5 For #6070 Adds telemetry for enabling search suggestions in private 5 years ago
Mihai Branescu 7cf71c8ef3
For #6396 - Added metrics for tracking history/bookmarks account sync toggles (#6601) 5 years ago
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
5 years ago
Gabriel Luong c6562bff98 For #5583 - Adds telemetry for download notification (#6554) 5 years ago
Gabriel ebdfe8184e For #5705 - Adds telemetry for media state (#6463) 5 years ago
Emily Kager cc318021cc For #5586 - Adds Logins Telemetry (#6352)
* For #5586 - Adds Logins Telemetry

* Adds Logins Sync Telemetry to PreferenceToggled event
5 years ago
Severin Rudie f0468f8099
For #4281: fixed metrics.yaml for QAB removal (#6555) 5 years ago
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
5 years ago
Sawyer Blatz 284f3cf0f5 For #4456: Updates total_uri_count upload (#6482) 5 years ago
ekager 18c0525ff6 Use new API for ETP Exceptions 5 years ago
liuche 35d60130f2
Closes #6097 - Bump activation ping expiry date. (#6309) 5 years ago
Sawyer Blatz 8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 5 years ago
Sawyer Blatz 2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 5 years ago
Sawyer Blatz 4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 5 years ago
Sawyer Blatz 980b11610b For #5094: Adds telemetry for show search shortcuts 5 years ago
Michael Droettboom 55e6e00355 Add glinter overrides 5 years ago
Michael Droettboom 2b17052326 Update bug numbers to URLs 5 years ago
Sawyer Blatz e8216e3079
For #5094: Adds telemetry for suggestion toggles (#5704) 5 years ago
Sawyer Blatz 785b8b9519
For #5567: Removes search shortcuts button (#5739)
* For #5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
5 years ago
Sawyer Blatz 7f328a6dc4
For #1298: Adds adjustCampaignId to core ping (#5579) 5 years ago
Sawyer Blatz 6babf72352
For #5197: Adds telemetry for media notification (#5520) 5 years ago
Emily Kager 9d9ff959b5 For #5312 - Add Telemetry for Tracking Protection 5 years ago
Sawyer Blatz 4a6e647167
For #5197: Adds telemetry for media controls (#5266) 5 years ago
Grisha Kruglov c2fb99a73f FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes #4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
Emily Kager e3209dcc84 For #3700 - Add Setting to Delete Data on "Quit" menu action 5 years ago
Yeon Taek Jeong ddc1b2e648 For #4658: Add private browsing mode shortcut telemetry 5 years ago
Jeff Boek 215e66fb08 For #5214 - Bumps expiration dates for telemetry 5 years ago
Sawyer Blatz 2653b5966e
For #964: Adds ability to disable each suggestion provider (#5096)
* For #964: Adds ability to disable each suggestion provider

* Fix nit
5 years ago
Sawyer Blatz 56128b6303 For #5021: Adds metric for what's new button 5 years ago
Sawyer Blatz 1669b437ed For #4908: Adds metrics for send tab telemetry 5 years ago
Yeon Taek Jeong d87b8a8a5c
For #4658: Add some private browsing mode telemetry (#4968) 5 years ago
Sawyer Blatz 09ed721015 For #4969: Removes erroneous FxA sign up ping (#4970) 5 years ago
Sawyer Blatz 0d4eceed56 For #2706: Refactor Glean to reduce errors (#4753)
* For #2706: Adds recording for untracked events

* For #2706: Adds key alignment to Metrics
5 years ago
Sawyer Blatz 4731977f5d
For #4421: Fixes issues with new glean events (#4816) 5 years ago
Sawyer Blatz b7ca520787 For #4421: Adds Leanplum events and attributes (#4626)
* For #4421: Adds Leanplum events and attributes

* For #4421: Adds Leanplum deep links
5 years ago
Yeon Taek Jeong f5ffe3734c
For #4457: Adds telemetry for search widget actions (#4714) 5 years ago
Michael Cooper 12371ca9c1 Add no-op experiment to test service-experiments integration (#4551)
* Add no-op experiment to test service-experiments integration

* Shorten metric name to meet schema

* Add active_experiment metric to docs

* Add approved data review
5 years ago
Sawyer Blatz 0ec92d716f
For #4123: Adds telemetry for quick action open in app (#4629) 5 years ago
Sawyer Blatz 969d17b4a9
For #969: Adds more telemetry for collections (#4539) 5 years ago
Sawyer Blatz 97f7d5ba87 For #2267: Fixes telemetry for reader view (#4328) 5 years ago
Sawyer Blatz 2e7a61860a For #969: Adds more telemetry for collections (#4358) 5 years ago
Sawyer Blatz 13198f56df For #969: Adds telemetry for collections (#3935) 5 years ago
Sawyer Blatz e544827e83 For #2267: Adds telemetry for reader mode (#3941) 5 years ago
Jeff Boek e294521c92
Fix search metrics (#4150)
* For #4082 - Changes lifecycles for metrics

* For #4082 - Replaces the SearchEngine name with the identifier for
countLabel
5 years ago
Sawyer Blatz 11d36b5a00
For #2362: Adds telemetry for history (#3940) 5 years ago
Sawyer Blatz dbe29ebbda
For #3174: Adds telemetry for bookmarks (#3724) 5 years ago
Jeff Boek cce41afb7e For #3351 - Adds docs for search_default_engine telemetry 5 years ago
Sawyer Blatz 3e5b6ca007 For #975: Removes leakcanary and default browser telemetry (#3350) 5 years ago
Sawyer Blatz c17d024452
For #975: Adds preferenceToggled event (#3316)
🤦🏼‍♂️
5 years ago
Colin Lee 9e5d0a2408 For #1301: Change ping for total_uri_count 5 years ago
Sawyer Blatz 47c14b07dd For #1190: Removes syncing items from FxA telemetry 5 years ago
Jeff Boek 031ba5355e For #1158 - Add the search count to the baseline ping 5 years ago
Sawyer Blatz 8e24feefc2 For #1192: Updates detection for Lockwise 5 years ago
Jeff Boek e15ab3f958 For #1158 - Use a dot instead of an underscore to seperate values 5 years ago
Jeff Boek 2b8a354612 Fixes #2920 - Adds missing data review links 5 years ago
Sawyer Blatz 9aa4f48e77 For #1190: Adds additional telemetry for FxA login 5 years ago
Sawyer Blatz 62bed0cd06 For #1190: Adds telemetry for FxA login 5 years ago
Sawyer Blatz aa9e5c46ae For #1242: Adds telemetry for error pages 5 years ago
Sawyer Blatz c334c77bbe For #976: Adds telemetry for library 5 years ago
Sawyer Blatz 9e50b55340 For #1857: Adds telemetry for QR scanner 5 years ago
Jeff Boek f1665f12ed For #2260 - Sends valid keys to the labeled counter (#2330) 5 years ago
Alessio Placitelli 0d82431195 Generate the `activation` ping and send it with Glean (#1707)
This fetches the Google Advertising ID, salts it and
then applies hashing before sending a ping with it,
at startup. Hashing and salting are used in order
to prevent ourselves to correlate advertising IDs
from the same user running different products we
own off a single device. We will never send the
client_id and the Google Advertising ID in the same
ping.
5 years ago
Sawyer Blatz 8928822e99
For #975: Adds telemetry for settings toggles (#1896)
* For #975: Adds telemetry for settings toggles

* For #975: Uses failable constructor
5 years ago
Colin Lee 3450c6bcf1
Merge pull request #1785 from colintheshots/fix1301
For #1301: Add uri_count to metrics ping
5 years ago
Sawyer Blatz 191786c671
For #1192: Adds telemetry for Mozilla products (#1953) 5 years ago
Colin Lee 849764d23a For #974: Telemetry for Bookmarks 5 years ago
Sawyer Blatz aa117b1ea6
Closes #977: Adds telemetry for custom tabs (#1697) 5 years ago
Jeff Boek cb7ad32b62 For #1158 - Add search counts 5 years ago
Jeff Boek a2666c4f74 For #800 - Adds metrics for the default search engine 5 years ago
Jeff Boek 5ffaa94150 No Issue - Remove data team from notifications emails list 5 years ago
Jeff Boek 0666864418 Fixes #1157 - Addes Fenix Core to the telemetry notification list 5 years ago
Sören Hentzschel cf500ee266 For #469: remove "Your" from "Your library" string
(see https://github.com/mozilla-mobile/fenix/issues/469#issuecomment-480400794)
5 years ago
Sawyer Blatz 5fc1e9227f
Closes #1195: Adds telemetry for quick action sheet (#1362) 5 years ago
Jeff Boek 4b4d172e2e Fixes #1024 - Adds metrics for browser menu items 5 years ago
Jeff Boek 0944180407 Fixes #1191 - Crash reporter metrics 5 years ago
Jeff Boek a737568936 Adds data review link and an entry to the changelog 5 years ago
Jeff Boek e19e13c768 For #957 - Adds telemetry for context menu items 5 years ago
Jeff Boek 5764450e34 For #1036 - Adds Glean metrics for find in page 5 years ago
Sawyer Blatz 471b08d97a Closes #1194: Adds shortcut telemetry 5 years ago
Jeff Boek ea01ae43be Addresses metrics nits 5 years ago
Jeff Boek 51e778ead5 Documents new telemetry events 5 years ago
Jeff Boek 32f8e06e98 For #959 - Adds search related telemetry 5 years ago
Jeff Boek 786592e8d0 For #959 - Adds telemetry for when the search bar is tapped 5 years ago
Jeff Boek 71a155c8f1 For #968 - Adds telemetry for app entry point 5 years ago
Jeff Boek 0e9400730b For #960 - Adds metrics to measure if Fenix is the default browser 5 years ago