Commit Graph

284 Commits (iceraven)

Author SHA1 Message Date
sraturi d4b2f750c0 [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. 4 years ago
Chenxia Liu c9fa70b093 [fenix] Update docs 4 years ago
Grisha Kruglov 702c3e15d8 [fenix] Glean docs update 4 years ago
Sawyer Blatz 56af2b8954 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14565: Add telemetry for top sites 4 years ago
ekager 9b8e87423a [fenix] For https://github.com/mozilla-mobile/fenix/issues/13926 - MP migration 4 years ago
Sachin 7a0240846f [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) 4 years ago
liuche d843a719b6 [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.
4 years ago
Michael Comella 5b45ffec57 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14133: warn opened_link telemetry may be wrong. 4 years ago
Asif Youssuff 527f47d897 [fenix] Update crash reporting doc to refer to deprecate "preview" 4 years ago
Asif Youssuff 6afd6f55e7 [fenix] Update telemetry doc to refer to depecate "preview" 4 years ago
MarcLeclair 762cf66eb1 [fenix] 13899 fix formatting issue (https://github.com/mozilla-mobile/fenix/pull/13900)
13899 re worded the performance readme and removed the reference to debuggable builds

13899 fixed some nits
4 years ago
Jeff Boek de000b8264 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11656 - Adds docs for new leanplum attributes 4 years ago
ekager fdb97a6c92 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11610 - Fire sign in event for other types of auth events 4 years ago
ekager 3d259568e1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11280 - Adds FxA Signed Up Leanplum Event 4 years ago
Elise Richards c2d1a6ca3f [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
4 years ago
Michael Comella 992b761f21 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802 - review: update metrics for data review. 4 years ago
Michael Comella 5efe3b006a [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802: add StorageStats glean metrics. 4 years ago
Jeff Boek 471ea34358 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11579 - Adds telemetry for autoplay settings in Site Permissions 4 years ago
Sawyer Blatz fa113dbdb9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9730: Add Login Dialog Prompt telemetry 4 years ago
ekager 3c6b8e0e2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/11654 - Adds leanplum ETP changed event 4 years ago
Sawyer Blatz 7beb342038 [fenix] Add documentation 4 years ago
sraturi bf5b393363 [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
4 years ago
Tiger Oakes 713d9936ab [fenix] Suppress YamlConfig deprecation 4 years ago
Sawyer Blatz 8db9d9b995 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12430: Hide the mic when not using Google 4 years ago
Alessio Placitelli bfe05c9dad [fenix] Remove the duplicated/outdated 'activation' ping docs (https://github.com/mozilla-mobile/fenix/pull/12421)
This additionally overhauls the Fenix telemetry docs
to point at the Glean autogenerated docs, to prevent
documentation getting outdated again.
4 years ago
Elise Richards 2b66959834 [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
4 years ago
jhugman 78ae960225 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11704 Add leanplum attributes for tracking protection (https://github.com/mozilla-mobile/fenix/pull/11965) r=sblatz
* For 11657: add LP attribute for tracking protection

* For https://github.com/mozilla-mobile/fenix/issues/11704: added tracking_protection_enabled attribute

* Added docs for the new attributes, linking to data-review to the mma.md

* Rename null to none when no ETP is enabled
4 years ago
James Hugman 3e542fd9bd [fenix] Changed home_* style links to urls_* to reflect that the destination is a set of links, rather than where the screen is 4 years ago
James Hugman 4d5e5700a5 [fenix] Add install_search_widget 4 years ago
James Hugman 1fd6ed5550 [fenix] Add 8 deeplinks to mma.md documentation 4 years ago
jhugman 086d6b9dac [fenix] For https://github.com/mozilla-mobile/fenix/issues/11655: add leanplum event for installing an addon (https://github.com/mozilla-mobile/fenix/pull/12136) r=elise
* For https://github.com/mozilla-mobile/fenix/issues/11655: add leanplum event for installing an addon

* Add link to data-review request in PR

* Addressed CI comments
4 years ago
Chenxia Liu 47c2be477d [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12044 - Bump expiry by 1mo for release 4 years ago
Sachin b55eb4471b [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
4 years ago
Sawyer Blatz 450bb9154e [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) 4 years ago
Sawyer Blatz c61390ca42 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11273: Add tabs tray telemetry (https://github.com/mozilla-mobile/fenix/pull/12036) 4 years ago
Grisha Kruglov 16252da9a0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/11909: Metrics for recording number of recently used PWAs 4 years ago
Elise Richards 561dfeeae0 [fenix] Fix illegal arguments for onboarding keys (https://github.com/mozilla-mobile/fenix/pull/12033) 4 years ago
Sawyer Blatz c66045bc95 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9625: Add telemetry for Tracking Protection CFR (https://github.com/mozilla-mobile/fenix/pull/11923) 4 years ago
Elise Richards 0042c1e683 [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
4 years ago
Sawyer Blatz cd2821d486 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11392: Rename Installation ping to FirstSession (https://github.com/mozilla-mobile/fenix/pull/11869) 4 years ago
person808 4e9ab5164d [fenix] For https://github.com/mozilla-mobile/fenix/issues/11442 - Telemetry for tab counter menu. 4 years ago
Sawyer Blatz 2c9cf4a6c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add missing telemetry 4 years ago
Sawyer Blatz 469dbbab6a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11063: Update telemetry for etp settings 4 years ago
Chenxia Liu 17ae6b1de6 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10616 - Update docs for app_opened to reflect cold-start 4 years ago
Sawyer Blatz 9a908e6952 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add toggle states to metrics ping 4 years ago
Gabriel Luong b156512e20 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8920 - [Telemetry] Send add-on ids in a metrics ping 4 years ago
mcarare ff8a6f8e84 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10434: Handle cases when proc/$pid/stat is not accessible. 4 years ago
Sawyer Blatz d9fea01170 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488 Add telemetry for search widget CFR 4 years ago
Sawyer Blatz 598b973355 [fenix] No issue: Update installation docs timestamp for clarity (https://github.com/mozilla-mobile/fenix/pull/10866) 4 years ago
Sawyer Blatz 0a0d6bac8b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125: Add default top site telemetry (https://github.com/mozilla-mobile/fenix/pull/10752) 4 years ago
Roger Yang 0e66c0670b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10802: Add crash reporting opt in mechanism in doc (https://github.com/mozilla-mobile/fenix/pull/10804) 4 years ago
Sawyer Blatz 1fde455149 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10465: Add telemetry for voice search (https://github.com/mozilla-mobile/fenix/pull/10785) 4 years ago
Roger Yang 2cc5128bea [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10782: Update crash reporting doc with what information breadcrumbs are recording (https://github.com/mozilla-mobile/fenix/pull/10787) 4 years ago
Grisha Kruglov 5f2d7c5842 [fenix] Perf telemetry for awesomebar suggestion provider durations
See https://github.com/mozilla-mobile/android-components/pull/6802 for details; requires that PR.
4 years ago
Mihai Branescu 1505e1cd4c [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.
4 years ago
Simon Chae c8d4a8aed4 [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.
4 years ago
ValentinTimisica be2bd01607 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10343: Updates metrics accordingly to 'Library' removal 4 years ago
Sawyer Blatz 59a5ecbb10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10426: Removes installation ping GAID (https://github.com/mozilla-mobile/fenix/pull/10532) 4 years ago
Sawyer Blatz 2c1d435478 [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) 4 years ago
Mugurell 4468a3ea13 [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.
4 years ago
Michael Droettboom 0129b8d4d8 [fenix] Update generated docs 4 years ago
Mihai Branescu bd66e5f9a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6557 - added metric for in_content 4 years ago
Mihai Branescu 5e3f9b2df8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6558 - cleanup + added unit tests 4 years ago
Mihai Branescu d2c30ca186 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6558 - added handling of web extension + sending metric for has_ads 4 years ago
Vlad Filippov a76b7636f9 [fenix] Add 'useEmail' and 'useEmailProblem' metrics event
Fixes https://github.com/mozilla-mobile/fenix/issues/9834
4 years ago
Sawyer Blatz 08ce2cf909 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9208: Adds in-product prompt to homescreen (https://github.com/mozilla-mobile/fenix/pull/9836) 4 years ago
Jeff Boek 7bdd47c25d [fenix] For https://github.com/mozilla-mobile/fenix/issues/9816 - Adds SessionObserver to session on selection 4 years ago
Michael Comella f01d301334 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - post: update metrics & pings data review URL. 4 years ago
Michael Comella 7f444f2d01 [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.
4 years ago
Michael Comella 0c39fefb7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupTimeline ping type and framework_start metrics. 4 years ago
Sawyer Blatz 2a78610b69 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9892: Set dynamicToolbarMaxHeigtht to 0 for PWAs (https://github.com/mozilla-mobile/fenix/pull/9893) 4 years ago
Gabriel Luong 98d15deb57 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6174 - Add telemetry for WebExtensions (https://github.com/mozilla-mobile/fenix/pull/8318) 4 years ago
ekager 7f95c5d1f4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125 - Send top sites count with metrics ping 4 years ago
Mihai Branescu 03d27f3687 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9352 - changed capitalisation of 'Open in app' 4 years ago
Sawyer Blatz 2df9916dfe [fenix] For https://github.com/mozilla-mobile/fenix/issues/9136: Send all adjust properties to glean (https://github.com/mozilla-mobile/fenix/pull/9253) 4 years ago
Chris 858e07f769 [fenix] markdown formatting fixes 4 years ago
Chenxia Liu 87a7afb1cb [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/106 - Move Adjust documentation from wiki to docs/ 4 years ago
Jeff Boek e242044f53 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4807 - Always navigate to settings after deleting data 4 years ago
Jeff Boek 7119bf2ae3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds more documentation for the installation metrics 4 years ago
codrut.topliceanu 683f2e3b5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Updates auto-generated metrics.md 4 years ago
codrut.topliceanu b99507bcfc [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds new custom ping: 'installation' 4 years ago
ekager 7cc98120b0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8126 - Adds default top sites 4 years ago
Mugurell 6a5f89fa85 [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).
4 years ago
Mugurell dfaa0691ad [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.
4 years ago
Jeff Boek 8b8c6a4ce0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
4 years ago
Jeff Boek 863d3fe887 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8172 - Adds mma docs 4 years ago
Emily Kager ce0c7d8b7b [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) 4 years ago
Gabriel Luong bf24d31b92 [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>
4 years ago
ValentinTimisica ee5af7bf8d [fenix] For https://github.com/mozilla-mobile/fenix/issues/7289: Adds telemetry for selecting dark theme 4 years ago
ValentinTimisica 1cc8994511 [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.
4 years ago
Gabriel Luong 7e5eac67f7 [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 4 years ago
ekager 618b161266 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Add telemetry for save logins setting 4 years ago
Kaaira Gupta dd13174ef2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3813 - Create a save button for bookmark editing 4 years ago
Sawyer Blatz 470397e64d [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
4 years ago
ValentinTimisica 40b4cc54ee [fenix] For https://github.com/mozilla-mobile/fenix/issues/7751: Remove 'SearchWithCustomEngine' telemetry event 4 years ago
ValentinTimisica f33f6b50e9 [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.
4 years ago
ValentinTimisica 34fe5e9996 [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.
4 years ago
Emma Malysz 564397da9f [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
5 years ago
Ryan Kelly e766f41b97 [fenix] Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
Michael Comella b6373291e8 [fenix] No issue: correct glean links in telemetry.md (https://github.com/mozilla-mobile/fenix/pull/6488) 5 years ago
mcarare a370f3f278 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6070 Adds telemetry for enabling search suggestions in private 5 years ago
Mihai Branescu 498b26e82e [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) 5 years ago
Sawyer Blatz 6bd419080e [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
5 years ago
Gabriel Luong 8a2bfe0035 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5583 - Adds telemetry for download notification (https://github.com/mozilla-mobile/fenix/pull/6554) 5 years ago
Gabriel 82db82c26e [fenix] For https://github.com/mozilla-mobile/fenix/issues/5705 - Adds telemetry for media state (https://github.com/mozilla-mobile/fenix/pull/6463) 5 years ago
Emily Kager c4ec6543e3 [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
5 years ago
Severin Rudie 79106704f4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4281: fixed metrics.yaml for QAB removal (https://github.com/mozilla-mobile/fenix/pull/6555) 5 years ago
Severin Rudie 61d30fad59 [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
5 years ago
Sawyer Blatz fcdbdb93c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4456: Updates total_uri_count upload (https://github.com/mozilla-mobile/fenix/pull/6482) 5 years ago
ekager aa0fb40756 [fenix] Use new API for ETP Exceptions 5 years ago
liuche 020590ff13 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6097 - Bump activation ping expiry date. (https://github.com/mozilla-mobile/fenix/pull/6309) 5 years ago
Sawyer Blatz 18e28514dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/5959 & https://github.com/mozilla-mobile/fenix/issues/5958: Integrates download feature into Fenix (https://github.com/mozilla-mobile/fenix/pull/6368) 5 years ago
Sawyer Blatz 761447bb88 [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) 5 years ago
Sawyer Blatz 9f75a9f535 [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) 5 years ago
Sawyer Blatz 963bae6aeb [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) 5 years ago
Sawyer Blatz 135b417d5e [fenix] No issue: Fixes string issues for l10n (https://github.com/mozilla-mobile/fenix/pull/6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
5 years ago
Severin Rudie 9f9667f3ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/5799: document architecture choices (https://github.com/mozilla-mobile/fenix/pull/5800)
* For https://github.com/mozilla-mobile/fenix/issues/5799: add architecture document outline for review

* For 5799: update architecture doc outline

- Remove references to old architecture (Soon it will all have been replaced. No need for the additional cognitive load)
- Add some subheadings
- 'Simplified Example' seems like a good idea. Update the language to clarify that it will be done

* For 5799: add additional known limitations

* For 5799: wrote first draft for architecture 'overview' and 'important objects'

* For 5799: wrote first draft for arch doc 'important notes'

* For 5799: wrote arch doc 'known limitations' section

* For 5799: wrote example code for architecture doc

* For 5799: added example app wireframe for arch docs

* For 5799: update arch docs 'Simplified Example section'

* For 5799: improve formatting for architecture docs

* For 5799: minor tweaks to architecture docs

* For 5799: link 'simplified example' section to example code

* For 5799: update arch doc per review
5 years ago
MozLando 58bcbb620d [fenix] Merge https://github.com/mozilla-mobile/fenix/pull/5633
5633: Add fxa/sync integration tests r=csadilek a=isabelrios

 Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [-] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [-] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

This PR tries to add new tests, sync integration tests, to check the sync process Desktop<->Fenix, first for Bookmarks and in the future for more.

Co-authored-by: Isabel Rios <isabelrios@mackbookirios.home>
Co-authored-by: isabelrios <isabelrios@gmail.com>
5 years ago
Jeff Boek 021f3d7584 [fenix] No Issue - Updates telemetry docs 5 years ago
Isabel Rios ae76432e69 [fenix] Add fxa/sync integration tests
fixing Jenkins path to tests and clean tests

commenting future tests and adding doc with info about the tests
5 years ago
Emily Kager 09a9aa74de [fenix] For https://github.com/mozilla-mobile/fenix/issues/5651 - Set up Standard vs Strict Tracking Protection Experiment 5 years ago
Sawyer Blatz ac2f30667d [fenix] No issue: fixes master (https://github.com/mozilla-mobile/fenix/pull/5777) 5 years ago
Sawyer Blatz 5fef30c7fe [fenix] For https://github.com/mozilla-mobile/fenix/issues/5094: Adds telemetry for suggestion toggles (https://github.com/mozilla-mobile/fenix/pull/5704) 5 years ago
Sawyer Blatz bae42810a4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5679: Hides autoplay behind feature flag (https://github.com/mozilla-mobile/fenix/pull/5685) 5 years ago
Chenxia Liu bc1658d633 [fenix] For https://github.com/mozilla-mobile/fenix/issues/235 - Add Glean crash count + docs. 5 years ago
Chenxia Liu 4534230ca8 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/235 - Add Socorro crash report documentation. 5 years ago
Chenxia Liu 9d25b06c96 [fenix] For https://github.com/mozilla-mobile/fenix/issues/235 - Add crash-reporting.md, and port over Sentry docs. 5 years ago
Sawyer Blatz 0520a90adb [fenix] For https://github.com/mozilla-mobile/fenix/issues/1298: Adds adjustCampaignId to core ping (https://github.com/mozilla-mobile/fenix/pull/5579) 5 years ago
Sawyer Blatz c88b352a47 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5197: Adds telemetry for media notification (https://github.com/mozilla-mobile/fenix/pull/5520) 5 years ago
Emily Kager 61a24637bf [fenix] For https://github.com/mozilla-mobile/fenix/issues/5312 - Add Telemetry for Tracking Protection 5 years ago
Sawyer Blatz e436c9e302 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5197: Adds telemetry for media controls (https://github.com/mozilla-mobile/fenix/pull/5266) 5 years ago
Grisha Kruglov db80772802 [fenix] FxA WebChannels integration
This patch includes:
- WebChannels support enabled by default, with ability to disable it via remote flag
- expanded FxA telemetry (closes https://github.com/mozilla-mobile/fenix/issues/4971)

Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
5 years ago
Alessio Placitelli 5290c9006e [fenix] Automatically generate metrics docs using the Glean SDK (https://github.com/mozilla-mobile/fenix/pull/5101) 5 years ago
Emily Kager 1d77154f2f [fenix] For https://github.com/mozilla-mobile/fenix/issues/3700 - Add Setting to Delete Data on "Quit" menu action 5 years ago
Yeon Taek Jeong 4f5be02df8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4658: Add private browsing mode shortcut telemetry 5 years ago
Sawyer Blatz b5699f339a [fenix] For https://github.com/mozilla-mobile/fenix/issues/964: Adds ability to disable each suggestion provider (https://github.com/mozilla-mobile/fenix/pull/5096)
* For https://github.com/mozilla-mobile/fenix/issues/964: Adds ability to disable each suggestion provider

* Fix nit
5 years ago
Sawyer Blatz 74657c4cfa [fenix] For https://github.com/mozilla-mobile/fenix/issues/5021: Adds metric for what's new button 5 years ago
Sawyer Blatz 57e306e92d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4908: Adds metrics for send tab telemetry 5 years ago
Yeon Taek Jeong 24cc81d4a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4658: Add some private browsing mode telemetry (https://github.com/mozilla-mobile/fenix/pull/4968) 5 years ago
Sawyer Blatz 81ab2c1812 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4969: Removes erroneous FxA sign up ping (https://github.com/mozilla-mobile/fenix/pull/4970) 5 years ago
Sawyer Blatz c5135918e4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2706: Refactor Glean to reduce errors (https://github.com/mozilla-mobile/fenix/pull/4753)
* For https://github.com/mozilla-mobile/fenix/issues/2706: Adds recording for untracked events

* For https://github.com/mozilla-mobile/fenix/issues/2706: Adds key alignment to Metrics
5 years ago
Sawyer Blatz 2aa64e96b8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4421: Fixes issues with new glean events (https://github.com/mozilla-mobile/fenix/pull/4816) 5 years ago
Sawyer Blatz 38479d48a2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4421: Adds Leanplum events and attributes (https://github.com/mozilla-mobile/fenix/pull/4626)
* For https://github.com/mozilla-mobile/fenix/issues/4421: Adds Leanplum events and attributes

* For https://github.com/mozilla-mobile/fenix/issues/4421: Adds Leanplum deep links
5 years ago
Yeon Taek Jeong 05924e8b47 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4421: Add search widget attribute to Leanplum (https://github.com/mozilla-mobile/fenix/pull/4694) 5 years ago
Yeon Taek Jeong dccf7336c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4457: Adds telemetry for search widget actions (https://github.com/mozilla-mobile/fenix/pull/4714) 5 years ago
Michael Cooper 1db8f46fa7 [fenix] Add no-op experiment to test service-experiments integration (https://github.com/mozilla-mobile/fenix/pull/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 48168d4536 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4123: Adds telemetry for quick action open in app (https://github.com/mozilla-mobile/fenix/pull/4629) 5 years ago
Sawyer Blatz aa34af736a [fenix] Fixes feedback 5 years ago
Sawyer Blatz 885da658f5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/969: Adds more telemetry for collections (https://github.com/mozilla-mobile/fenix/pull/4539) 5 years ago
Sawyer Blatz 10be1ae951 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2267: Fixes telemetry for reader view (https://github.com/mozilla-mobile/fenix/pull/4328) 5 years ago