Commit Graph

55 Commits (9654b4dfb122b54b04369fe80a2f9c95811478e8)

Author SHA1 Message Date
Gabriel Luong 9654b4dfb1 For #27667 - Remove import-ordering from the list of disabled ktlint rules 2 years ago
mcarare ffcef5ff2e For #26844: Fix ktlint issues and remove them from baseline. 2 years ago
Alexandru2909 2345eb22a8 For #26089 - Record metrics for save credit card prompt shown 2 years ago
mcarare 6719eeb129 For #24857: Add metrics for addresses autofill. 2 years ago
Mugurell fd28889d71 For #25658 - Track the site permissions prompt and user actions
Track when the prompt is shown and when the permissions are allowed/denied.
2 years ago
Jan-Erik Rediger ba7028ec6a Upgrade to Glean v50 and adopt new Glean APIs 2 years ago
Alexandru Putanu b9b1124b66
For #25397 - Telemetry for credit card save and update (#25411)
* For #25397 - Telemetry for credit card save and update

* Use Fenix Issue fro Bugs

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
Alexandru2909 56c31cd675 For #24514 - Remove Fact.toEvent from MetricController 2 years ago
sarah541 538e06d73c No issue: Renew/Remove metrics set to expire in v102
No issue: Renew/Remove metrics set to expire in v102
2 years ago
mcarare 927ab1ccae For #24758: Remove wrapper from browser search metrics. 2 years ago
Alexandru2909 5a21e75267 For #24760 - Remove Event.wrapper for suggestions telemetry 2 years ago
mcarare c28476c9cb For #24206: Fix extra key values for context menu metrics. 2 years ago
mcarare 14082b117c For #24789: Remove wrapper from PWA metrics. 2 years ago
Alexandru2909 dea01450e5 For #24759 - Remove Event.wrapper for text selection context menu telemetry 2 years ago
Alexandru2909 9ff4f373ec For #24707 - Remove Event.wrapper for CreditCards telemetry 2 years ago
Alexandru2909 cc893aa641 For #24706 - Remove Event.wrapper for Autofill related telemetry 2 years ago
mcarare eb82cfef78 For #24206: Remove wrapper from context menu metrics. 2 years ago
mcarare b0c5148de9 For #24715: Remove wrapper from addons metrics. 2 years ago
Alexandru2909 120176f3b4 For #24605 - Remove Event.wrapper for MediaState telemetry 2 years ago
Alexandru2909 3c78b14321 For #24215 - Remove Event.wrapper for CustomTab metrics 2 years ago
Alexandru2909 eaaa5ddcdb For #24603 - Remove Event.wrapper for MediaNotification telemetry 2 years ago
mcarare 6f2de0e2bd For #24210: Remove wrapper from displaying toolbar menu event. 2 years ago
Alexandru2909 7cedc8b440 For #24208 - Remove Event.wrapper for LoginDialogFacts telemetry 2 years ago
Roger Yang 7dc969103b No issue: Renew/remove metrics set to expire in March 2022 2 years ago
MickeyMoz 96b96fbfdb Update Android Components version to 97.0.20220104190053. 2 years ago
Michael Comella 365983d4b0 For #21294: suppress MaxLineLength in Fact.toEvent.
These double comparisons are easier to read and see the pattern of on one line
so I'd rather keep them on one line. Additionally, it's difficult to
test each change individually so I'd rather not make additional changes.
To do this, I suppressed the max line length warning.
3 years ago
Michael Comella c10f41164d For #21294: remove allocations in Fact.toEvent.
This commit was generated primarily by a macro that:
- appends `== component &&`
- appends `== item`
- (if applicable) Skips to the ending brace
- Go down one line and move cursor to the front of the line to prep for repeat

My only intervention was to skip extra lines to line it up to run again
and specify how many times in a row it should run.

---

The `to` in this code is an infix function that calls instantiates a
Pair under the hood. Subjectively observed, when this method is called
it generally hits the else case so 35 Pairs are instantiated each call -
that's 560 bytes. This method is called frequently - for example, an estimated
4 times each time a letter is typed on the homescreen and a measured 116 times
in a simple navigation (see the issue). The latter generates an estimated
63.4 KiB.

It was straightforward to remove these allocations so that's what this
change does.

The primary risk from this change is that it's difficult to test each
case to ensure it's working.
3 years ago
Michael Comella d33e38e020 For #21294: change `when (condition) {` `when {` in Fact.toEvent.
This will not compile. However, it enables the subsequent PR to remove
allocations from Fact.toEvent.
3 years ago
Sebastian Kaspari 6d99c34f12 Issue #21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 3 years ago
Roger Yang 5d22bb4707 Issue #18711: Telemetry for credit card autofill 3 years ago
Elise Richards f1cf6f4651 Remove find in page telemetry 3 years ago
Elise Richards 8455886ca8 Remove downloads misc telemetry. 3 years ago
Elise Richards c4ec8aa520 Remove download notification telemetry. 3 years ago
Roger Yang 64cd72871f Update Android Components version 3 years ago
Roger Yang 2ac5a38120 Revert "For #18711: Telemetry for credit card autofill (#19548)"
This reverts commit e0b410efdf.
3 years ago
Roger Yang 2ed4115a6c Revert "For #18711 - Refactor credit card telemetry under the Metrics ping (#19733)"
This reverts commit 172a118a51.
3 years ago
Sebastian Kaspari 24e9f64cff Add telemetry for Android Autofill feature. 3 years ago
Mugurell f95567912f For #20229 - Use the AC common implementation for ads/search telemetry
Everything should work exactly as before.
3 years ago
Gabriel Luong 172a118a51
For #18711 - Refactor credit card telemetry under the Metrics ping (#19733) 3 years ago
Elise Richards e0b410efdf
For #18711: Telemetry for credit card autofill (#19548) 3 years ago
Christian Sadilek 9d1e51dfff Fix breaking change in MetricController 3 years ago
Roger Yang 59de530a9c
Closes #18253: Remove spaces from Addons telemetry comma-separated list (#19292) 3 years ago
Sebastian Kaspari 7d690219ea Issue #19040: Remove Leanplum (Nightly) 3 years ago
Arturo Mejia a3f4cee388 Telemetry for #18855, #18851 and #18857
For #18857 [Telemetry] Send a Glean event when users change their default browser

For #18855 [Telemetry] Send an event when users open the toolbar menu

For #18851 [Telemetry] Send an event when users click on the "set as default browser" entry in the toolbar menu
3 years ago
Roger Yang d2ffaa85f9
Closes #17531: Use shared preference to store top sites count for telemetry (#18557) 3 years ago
Roger Yang 8a7c50bbef
For #17644: Always update add-on's telemetry values before sending metric ping (#18529) 3 years ago
Mugurell 1e30744c64 For #17869 - New AndroidKeystoreExperiment telemetry 3 years ago
Roger Yang 2322cbdd0e
Closes #18068: Use AwesomeBarFacts for AwesomeBar Telemetry (#18090) 3 years ago
Roger Yang aada459428
Closes #18163: Use SyncedTabsFacts for Synced Tab Telemetry (#18172) 3 years ago
Roger Yang 124c2baf30
Closes #17531: Use top sites count fact for top sites telemetry (#17664) 3 years ago