Commit Graph

307 Commits (015be024222c9e1a81f9a33ec96964de2b451279)

Author SHA1 Message Date
Roger Yang 998a10cdc9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17089: Add metric to track both normal and private URI opened (https://github.com/mozilla-mobile/fenix/pull/17935) 3 years ago
Sebastian Kaspari 5fec5b8d61 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Collect telemetry about the content process of tabs getting killed. 3 years ago
Codrut Topliceanu 942195bfae [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Added telemetry for Google Default Top Site (https://github.com/mozilla-mobile/fenix/pull/17637)
* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds channel "ts" to TrackKey

This is used to track if the `InContentTelemetry` is a result of the user using the Google Top Site. It looks for `&channel=ts` within the uri.

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds TopSite PerformedSearch back in

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Check now looks for equality with GOOGLE_URL

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds test for topSite changes
3 years ago
Gabriel Luong 1430e127b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Add event ping telemetry for the Google Top Site click (https://github.com/mozilla-mobile/fenix/pull/17862)
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
3 years ago
Elise Richards b41d6160e5 [fenix] Increase date on expired metrics (https://github.com/mozilla-mobile/fenix/pull/17766) 3 years ago
Michael Comella 76864a8ece [fenix] For https://github.com/mozilla-mobile/fenix/issues/17553: renew storage.stats metrics. 3 years ago
Codrut Topliceanu 5e78e43440 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner (https://github.com/mozilla-mobile/fenix/pull/17049)
* For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner

Specifically: Banner displayed, Dismiss action, Go to Settings action.
3 years ago
Elise Richards fcf3c5f57a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16485: Tabs tray grid view telemetry (https://github.com/mozilla-mobile/fenix/pull/17442)
* Tabs tray CFR telemetry interactions

* Create CFR events and implementation

* Tests for tab tray controller
3 years ago
Codrut Topliceanu 2f57dcfdac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17481 - Remove unused long_press_tapped metric (https://github.com/mozilla-mobile/fenix/pull/17544) 3 years ago
Codrut Topliceanu b71d813d64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage (https://github.com/mozilla-mobile/fenix/pull/16968)
* For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage

Tracks Copy, Search, Select All and Share items from the text selection context menu. Uses AC's DefaultSelectionActionDelegate to achieve this.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
Mugurell 4ee2151e75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Cleanup download telemetry - metrics ping reference
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
4 years ago
Mugurell a50340fd25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - Cleanup metrics ping reference (https://github.com/mozilla-mobile/fenix/pull/17071)
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
4 years ago
mcarare 78195c8368 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Send copy url metrics correctly. 4 years ago
mcarare 4d286d91ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Send synced tabs metrics correctly. 4 years ago
Gabriel Luong 29e329d8f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16941 - [Telemetry] Bookmark Counts (https://github.com/mozilla-mobile/fenix/pull/16942) 4 years ago
Codrut Topliceanu 35eaf646a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15368 - Adds telemetry for fullscreen, pip (https://github.com/mozilla-mobile/fenix/pull/16833) 4 years ago
mcarare 20cff480b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Add documentation for copy url metrics. 4 years ago
mcarare 1e9604d03a [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Add documentation for synced tabs opening metrics. 4 years ago
mcarare d404bd76d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add documentation for recently closed tabs metrics. 4 years ago
Mugurell 6019e8c907 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - DownloadsFragment telemetry (https://github.com/mozilla-mobile/fenix/pull/16728)
Adds a counter for how many times the user does the following action:
- opens the Downloads section inside the app
- tap to open an item from inside Downloads / from the download dialog
- tap to delete one or more downloads at once
4 years ago
Mugurell cf4631c5c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Add telemetry for how many times we download something (https://github.com/mozilla-mobile/fenix/pull/16730) 4 years ago
Roger Yang 9dee73b238 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16075: Add distribution_id in telemetry startup metrics (https://github.com/mozilla-mobile/fenix/pull/16821) 4 years ago
Mugurell 6486465645 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16076 - Link data review for the share_image telemetry (https://github.com/mozilla-mobile/fenix/pull/16534) 4 years ago
ekager c129fa2aba [fenix] For https://github.com/mozilla-mobile/fenix/issues/16132 - Rename normal mode menu item, remove telemetry 4 years ago
Codrut Topliceanu 23ff2851e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15720 - Remove unused telemetry (https://github.com/mozilla-mobile/fenix/pull/15887) 4 years ago
Mihai Adrian Carare 5fb5471df1 [fenix] For # 15929: Remove the search widget discoverability experiment. (https://github.com/mozilla-mobile/fenix/pull/16081)
* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove SearchWidgetCFR telemetry.

* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove SearchWidgetCFR and search widget experiment.

* For https://github.com/mozilla-mobile/fenix/issues/15929: Remove unit tests references to search widget experiment.
4 years ago
ekager 9d876a7076 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15347 - Adds telemetry for tabs settings 4 years ago
Michael Comella 4fedc9d719 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10069 - post: link to issue, data review. 4 years ago
Michael Comella 6c86641cbc [fenix] For https://github.com/mozilla-mobile/fenix/issues/10069 - review: change extra name to firstFramePreDrawNanos. 4 years ago
sraturi e97a48b48f [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 7ad5f26333 [fenix] Adding link data review request 4 years ago
Chenxia Liu 5ffe145425 [fenix] startup.timeline 4 years ago
Chenxia Liu 86db33910d [fenix] sync, sync_items, telemetry, theme, toolbar_position,
tracking_protection, default_engine
4 years ago
Chenxia Liu 073321049c [fenix] accesssibility, open_links, remote_debugging, search_suggestions,
show_search
4 years ago
Chenxia Liu 7f14d314cb [fenix] search_count, search_widget, tabs_count, toolbar_position 4 years ago
Chenxia Liu bba0353993 [fenix] has, count: open_tabs, pwa, top_sites 4 years ago
Chenxia Liu 03b5b9f4e8 [fenix] default*browser, mozilla_products 4 years ago
Chenxia Liu 83d6b8d559 [fenix] browser.search, events.total_uri_count, metrics.adjust* 4 years ago
Chenxia Liu 93a4cab155 [fenix] first_session 4 years ago
Chenxia Liu bf68ea27c5 [fenix] user_specified_search_engine, voice_search 4 years ago
Chenxia Liu ade609c3ac [fenix] top_sites, tracking_protection 4 years ago
Chenxia Liu bb3332478b [fenix] tab, tabs_tray, toolbar_settings 4 years ago
Chenxia Liu 278ac8007d [fenix] syenc_account, sync_auth 4 years ago
Chenxia Liu ed317ac898 [fenix] search_suggestions, search_shortcuts, search_widget 4 years ago
Chenxia Liu 9e4dfdf37c [fenix] private_browsing, qr_scanner 4 years ago
Chenxia Liu 71b1684c5b [fenix] pocket, onboarding 4 years ago
Chenxia Liu 41cb9084bf [fenix] logins, media_notification, media_state 4 years ago
Chenxia Liu 1838f130d1 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/14142 - find_in_page, history, reader_mode, tip 4 years ago
Sawyer Blatz 1a5a88be4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/14565: Add telemetry for top sites 4 years ago
ekager 793b27980d [fenix] For https://github.com/mozilla-mobile/fenix/issues/13926 - MP migration 4 years ago
Michael Droettboom 82e4291457 [fenix] Fix a typo in metric expiry. (https://github.com/mozilla-mobile/fenix/pull/14530)
This was changed to 2020-04-01 in c90c09e2eb697c68b86c1a321c0fca97aa86dca4

I assume this was just a typo, since a lot of metrics got changed to 2021-04-01
in the same commit.
4 years ago
Sachin 8025efc0d7 [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 56821f7270 [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 e2cd23ab93 [fenix] For https://github.com/mozilla-mobile/fenix/issues/14133: warn opened_link telemetry may be wrong. 4 years ago
Michael Droettboom c38fe720ed [fenix] Bug 1608838: Add data sensitivity metadata 4 years ago
Elise Richards 1e7d4c3e80 [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 56b2adf7e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802 - review: update metrics for data review. 4 years ago
Michael Comella 19abae1155 [fenix] For https://github.com/mozilla-mobile/fenix/issues/12802: add StorageStats glean metrics. 4 years ago
Jeff Boek d2d7fceb94 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11579 - Adds telemetry for autoplay settings in Site Permissions 4 years ago
Sawyer Blatz 2a5fdd6054 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9730: Add Login Dialog Prompt telemetry 4 years ago
sraturi adfcf08a49 [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
Elise Richards 5b46f572df [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
Chenxia Liu a564b2a2fc [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12044 - Bump expiry by 1mo for release 4 years ago
Sachin 10a018b0b2 [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 44ef22425b [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 f3b4354e76 [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 f18c517551 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/11909: Metrics for recording number of recently used PWAs 4 years ago
Elise Richards 71cc2e1612 [fenix] Fix illegal arguments for onboarding keys (https://github.com/mozilla-mobile/fenix/pull/12033) 4 years ago
Sawyer Blatz 9834983edc [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 ad9fa8a2ba [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 13e2e1f90b [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 0c7be5c84c [fenix] For https://github.com/mozilla-mobile/fenix/issues/11442 - Telemetry for tab counter menu. 4 years ago
Sawyer Blatz 82766c2043 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add missing telemetry 4 years ago
Sawyer Blatz c75f07a97f [fenix] For https://github.com/mozilla-mobile/fenix/issues/11063: Update telemetry for etp settings 4 years ago
Chenxia Liu 4e4a09c240 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/10616 - Update docs for app_opened to reflect cold-start 4 years ago
Sawyer Blatz 469c553398 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11118: Add toggle states to metrics ping 4 years ago
Gabriel Luong f114509a37 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8920 - [Telemetry] Send add-on ids in a metrics ping 4 years ago
mcarare b4d01b50ec [fenix] For https://github.com/mozilla-mobile/fenix/issues/10434: Handle cases when proc/$pid/stat is not accessible. 4 years ago
Sawyer Blatz 14dca9ab2a [fenix] For https://github.com/mozilla-mobile/fenix/issues/9488 Add telemetry for search widget CFR 4 years ago
Sawyer Blatz 8379ab29eb [fenix] No issue: Update installation docs timestamp for clarity (https://github.com/mozilla-mobile/fenix/pull/10866) 4 years ago
Sawyer Blatz 6d3ff138cd [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
Sawyer Blatz ce07ba1b8c [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
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.
4 years ago
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.
4 years ago
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.
4 years ago
ValentinTimisica bdc8299a36 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10343: Updates metrics accordingly to 'Library' removal 4 years ago
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) 4 years ago
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) 4 years ago
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.
4 years ago
Michael Droettboom bf0ecbc19d [fenix] Update generated docs 4 years ago
Michael Droettboom 20d019f42a [fenix] Fix glinter errors 4 years ago
Mihai Branescu c1e736fdb2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6557 - added metric for in_content 4 years ago
Mihai Branescu 30273fe6de [fenix] For https://github.com/mozilla-mobile/fenix/issues/6558 - cleanup + added unit tests 4 years ago
Mihai Branescu 09fae4d74f [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 81122da15a [fenix] Add 'useEmail' and 'useEmailProblem' metrics event
Fixes https://github.com/mozilla-mobile/fenix/issues/9834
4 years ago
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) 4 years ago
Michael Comella 91ce22f753 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - post: update metrics & pings data review URL. 4 years ago
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.
4 years ago
Michael Comella 3556b5a10f [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupTimeline ping type and framework_start metrics. 4 years ago
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) 4 years ago
ekager ea9add8d2b [fenix] For https://github.com/mozilla-mobile/fenix/issues/8125 - Send top sites count with metrics ping 4 years ago
Mihai Branescu 7c4db6a8af [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9352 - changed capitalisation of 'Open in app' 4 years ago
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) 4 years ago
Jeff Boek ef35bc2c24 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds more documentation for the installation metrics 4 years ago
codrut.topliceanu e328df1f14 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Removes some incorrect data-review links 4 years ago
codrut.topliceanu 0c9efef83c [fenix] For https://github.com/mozilla-mobile/fenix/issues/7295 - Adds new custom ping: 'installation' 4 years ago
ekager fecc5376cf [fenix] For https://github.com/mozilla-mobile/fenix/issues/8126 - Adds default top sites 4 years ago
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).
4 years ago
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.
4 years ago
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) 4 years ago
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>
4 years ago
ValentinTimisica bcc027e1f0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7289: Adds telemetry for selecting dark theme 4 years ago
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.
4 years ago
ValentinTimisica 5c2478c102 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/7881: Send telemetry event when custom search engine is deleted 4 years ago
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 5 years ago
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.
5 years ago
ekager 6377a946f8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5586 - Add telemetry for save logins setting 5 years ago
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
5 years ago
ValentinTimisica d4fa64f541 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7751: Remove 'SearchWithCustomEngine' telemetry event 5 years ago
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.
5 years ago
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.
5 years ago
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
5 years ago
mcarare 7a289d1eb1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6070 Adds telemetry for enabling search suggestions in private 5 years ago
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) 5 years ago
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
5 years ago
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) 5 years ago
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) 5 years ago
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
5 years ago
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) 5 years ago
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
5 years ago
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) 5 years ago
ekager e709201056 [fenix] Use new API for ETP Exceptions 5 years ago
liuche 0eb5656020 [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 506fdc79a8 [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 ed0d2c0c0c [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 8314b378d7 [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 3cd8b5cf30 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5094: Adds telemetry for show search shortcuts 5 years ago
Michael Droettboom eefa0e927f [fenix] Add glinter overrides 5 years ago
Michael Droettboom 1687b09ba0 [fenix] Update bug numbers to URLs 5 years ago
Sawyer Blatz d9881d8211 [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 e3d58b1676 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcuts button (https://github.com/mozilla-mobile/fenix/pull/5739)
* For https://github.com/mozilla-mobile/fenix/issues/5567: Removes search shortcut button

* No issue: Simplifies logic for displaying shortcuts
5 years ago
Sawyer Blatz a95d6d58d0 [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 1519dbf668 [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 937b18c4ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/5312 - Add Telemetry for Tracking Protection 5 years ago
Sawyer Blatz 746016e560 [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 6411072f0d [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
Emily Kager e647d7e8c6 [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 88ecaf12b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4658: Add private browsing mode shortcut telemetry 5 years ago
Jeff Boek 2102e39e4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/5214 - Bumps expiration dates for telemetry 5 years ago
Sawyer Blatz 88996e7f0c [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