For #3700 - Add Setting to Delete Data on "Quit" menu action #5098
Conversation
60988e7
to
f7653f3
Compare
Codecov Report
@@ Coverage Diff @@
## master #5098 +/- ##
=========================================
Coverage ? 11.72%
Complexity ? 242
=========================================
Files ? 246
Lines ? 10145
Branches ? 1496
=========================================
Hits ? 1189
Misses ? 8882
Partials ? 74
Continue to review full report at Codecov.
|
07bb475
to
f3504aa
Compare
Request for data collection review formAll questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
Until 03/01/2020
|
Tagging @boek for data review and @colintheshots for the feature since it was similar to granular data options and I ended up using your categories and had to modify some of the functions to work with mine |
f3504aa
to
9807fbc
Compare
@@ -252,7 +252,7 @@ sealed class Event { | |||
enum class Item { | |||
SETTINGS, LIBRARY, HELP, DESKTOP_VIEW_ON, DESKTOP_VIEW_OFF, FIND_IN_PAGE, NEW_TAB, | |||
NEW_PRIVATE_TAB, SHARE, REPORT_SITE_ISSUE, BACK, FORWARD, RELOAD, STOP, OPEN_IN_FENIX, | |||
SAVE_TO_COLLECTION, ADD_TO_HOMESCREEN | |||
SAVE_TO_COLLECTION, ADD_TO_HOMESCREEN, QUIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@boek how do new events get into the metrics.md file? Do you have to change more files, or does the documentation automatically get added when you just add an event?
Should these be updated in the metrics.md file as part of the PR? At a quick glance I also didn't see save_to_collection or add_to_homescreen, so I'm wondering if I'm looking in the wrong place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to manually add this to metrics.md
for now. At least until the Glean auto-generate documentation PR is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added to metrics.md
and metrics.yaml
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated, @boek does this mean open_in_fenix, save_to_collection, and add_to_homescreen did not get data review, or need to be updated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@liuche that is correct
https://github.com/mozilla-mobile/fenix/pull/2131/files
and #4925 didn't get data reviews. In the short term I could put myself as a codeowner of metrics.kt
until we get a better process
2776901
to
70895b1
Compare
@@ -78,7 +78,7 @@ events: | |||
description: > | |||
A string containing the name of the item the user tapped. These items include: | |||
Settings, Library, Help, Desktop Site toggle on/off, Find in Page, New Tab, | |||
Private Tab, Share, Report Site Issue, Back/Forward button, Reload Button | |||
Private Tab, Share, Report Site Issue, Back/Forward button, Reload Button, Quit | |||
bugs: | |||
- 1024 | |||
data_reviews: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add a link to this PR for this data review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just did!
70895b1
to
5a5de50
Compare
Yes, updating existing probes w/ documentation
Yes, Fenix data controls
Fenix PM Vesta will monitor, and this has an expiry
Type 2
Default on
No
Yes
Has expiry, 3/2020
No |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Data review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one comment/question! 🚢
app/src/main/java/org/mozilla/fenix/settings/DeleteBrowsingDataOnQuitFragment.kt
Outdated
Show resolved
Hide resolved
5a5de50
to
0cf128b
Compare
Pull Request checklist