2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00

[fenix] For https://github.com/mozilla-mobile/fenix/issues/25538 - Add the "Wallpapers" tag to the new telemetry

By using a feature tag we can avoid having to define new tags in the Glean
annotations repository.

The list of available tags needed to be regenerated to be able to reference the
new "Wallpapers" tag.
Because the tags regeneration also brought a change in tags from "TopSites" to
"Shortcuts" all previous telemetry using "TopSites" had to be migrated to use
the new "Shortcuts" tag.
This commit is contained in:
Mugurell 2022-06-06 13:57:22 +03:00 committed by mergify[bot]
parent 5edcbb7f73
commit 961e6ad5d8
3 changed files with 43 additions and 24 deletions

View File

@ -1021,7 +1021,7 @@ metrics:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
has_top_sites: has_top_sites:
type: boolean type: boolean
lifetime: application lifetime: application
@ -1045,7 +1045,7 @@ metrics:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
recently_used_pwa_count: recently_used_pwa_count:
type: counter type: counter
lifetime: application lifetime: application
@ -1534,6 +1534,9 @@ metrics:
notification_emails: notification_emails:
- android-probes@mozilla.com - android-probes@mozilla.com
expires: 114 expires: 114
metadata:
tags:
- Wallpapers
customize_home: customize_home:
most_visited_sites: most_visited_sites:
@ -4862,7 +4865,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
open_google_search_attribution: open_google_search_attribution:
type: event type: event
description: | description: |
@ -4883,7 +4886,7 @@ top_sites:
metadata: metadata:
tags: tags:
- Search - Search
- TopSites - Shortcuts
open_baidu_search_attribution: open_baidu_search_attribution:
type: event type: event
description: | description: |
@ -4901,7 +4904,7 @@ top_sites:
metadata: metadata:
tags: tags:
- Search - Search
- TopSites - Shortcuts
open_frecency: open_frecency:
type: event type: event
description: | description: |
@ -4922,7 +4925,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
open_pinned: open_pinned:
type: event type: event
description: | description: |
@ -4943,7 +4946,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
swipe_carousel: swipe_carousel:
type: event type: event
description: | description: |
@ -4969,7 +4972,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
long_press: long_press:
type: event type: event
description: | description: |
@ -4998,7 +5001,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
open_in_new_tab: open_in_new_tab:
type: event type: event
description: | description: |
@ -5019,7 +5022,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
open_in_private_tab: open_in_private_tab:
type: event type: event
description: | description: |
@ -5040,7 +5043,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
remove: remove:
type: event type: event
description: | description: |
@ -5061,7 +5064,7 @@ top_sites:
expires: never expires: never
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
google_top_site_removed: google_top_site_removed:
type: event type: event
description: | description: |
@ -5165,7 +5168,7 @@ top_sites:
expires: 112 expires: 112
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
contile_tile_id: contile_tile_id:
type: quantity type: quantity
description: | description: |
@ -5186,7 +5189,7 @@ top_sites:
unit: integer unit: integer
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
contile_advertiser: contile_advertiser:
type: string type: string
description: | description: |
@ -5206,7 +5209,7 @@ top_sites:
expires: 112 expires: 112
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
contile_reporting_url: contile_reporting_url:
type: url type: url
description: | description: |
@ -5227,7 +5230,7 @@ top_sites:
expires: 112 expires: 112
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
contile_impression: contile_impression:
type: event type: event
description: | description: |
@ -5253,7 +5256,7 @@ top_sites:
expires: 112 expires: 112
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
contile_click: contile_click:
type: event type: event
description: | description: |
@ -5279,7 +5282,7 @@ top_sites:
expires: 112 expires: 112
metadata: metadata:
tags: tags:
- TopSites - Shortcuts
app_theme: app_theme:
dark_theme_selected: dark_theme_selected:
@ -5333,7 +5336,7 @@ pocket:
metadata: metadata:
tags: tags:
- PocketIntegration - PocketIntegration
- TopSites - Shortcuts
pocket_top_site_removed: pocket_top_site_removed:
type: event type: event
description: | description: |
@ -5354,7 +5357,7 @@ pocket:
metadata: metadata:
tags: tags:
- PocketIntegration - PocketIntegration
- TopSites - Shortcuts
home_recs_shown: home_recs_shown:
type: event type: event
description: | description: |
@ -7720,6 +7723,9 @@ wallpapers:
data_sensitivity: data_sensitivity:
- interaction - interaction
expires: 114 expires: 114
metadata:
tags:
- Wallpapers
wallpaper_selected: wallpaper_selected:
type: event type: event
description: | description: |
@ -7740,6 +7746,9 @@ wallpapers:
data_sensitivity: data_sensitivity:
- interaction - interaction
expires: 114 expires: 114
metadata:
tags:
- Wallpapers
wallpaper_switched: wallpaper_switched:
type: event type: event
description: | description: |
@ -7760,6 +7769,9 @@ wallpapers:
data_sensitivity: data_sensitivity:
- interaction - interaction
expires: 114 expires: 114
metadata:
tags:
- Wallpapers
change_wallpaper_logo_toggled: change_wallpaper_logo_toggled:
type: event type: event
description: | description: |
@ -7778,6 +7790,9 @@ wallpapers:
data_sensitivity: data_sensitivity:
- interaction - interaction
expires: 114 expires: 114
metadata:
tags:
- Wallpapers
recently_visited_homepage: recently_visited_homepage:
history_highlight_opened: history_highlight_opened:

View File

@ -187,6 +187,7 @@ class FenixApplicationTest {
assertEquals(listOf("switch", "touch exploration"), Preferences.accessibilityServices.testGetValue()) assertEquals(listOf("switch", "touch exploration"), Preferences.accessibilityServices.testGetValue())
assertEquals(true, Preferences.inactiveTabsEnabled.testGetValue()) assertEquals(true, Preferences.inactiveTabsEnabled.testGetValue())
assertEquals(expectedAppInstallSource, Metrics.installSource.testGetValue()) assertEquals(expectedAppInstallSource, Metrics.installSource.testGetValue())
assertTrue(Metrics.defaultWallpaper.testGetValue())
val contextId = TopSites.contextId.testGetValue()!!.toString() val contextId = TopSites.contextId.testGetValue()!!.toString()

View File

@ -77,6 +77,9 @@ History:
HomeScreen: HomeScreen:
description: Corresponds to the [Feature:HomeScreen](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AHomeScreen) description: Corresponds to the [Feature:HomeScreen](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AHomeScreen)
label on GitHub. label on GitHub.
HomescreenShortcuts:
description: bookmarks on the Android homescreen. Corresponds to the [Feature:HomescreenShortcuts](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AHomescreenShortcuts)
label on GitHub.
IME: IME:
description: Text entry and keyboards. Corresponds to the [Feature:IME](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AIME) description: Text entry and keyboards. Corresponds to the [Feature:IME](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AIME)
label on GitHub. label on GitHub.
@ -167,7 +170,7 @@ Sharing:
description: Corresponds to the [Feature:Sharing](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ASharing) description: Corresponds to the [Feature:Sharing](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ASharing)
label on GitHub. label on GitHub.
Shortcuts: Shortcuts:
description: bookmarks on the Android homescreen. Corresponds to the [Feature:Shortcuts](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AShortcuts) description: Top Sites/Topsites on the Firefox home page. Corresponds to the [Feature:Shortcuts](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AShortcuts)
label on GitHub. label on GitHub.
SitePermissions: SitePermissions:
description: Corresponds to the [Feature:SitePermissions](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ASitePermissions) description: Corresponds to the [Feature:SitePermissions](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ASitePermissions)
@ -197,15 +200,15 @@ Themes:
Toolbar: Toolbar:
description: Address bar, see also Feature:Search. Corresponds to the [Feature:Toolbar](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AToolbar) description: Address bar, see also Feature:Search. Corresponds to the [Feature:Toolbar](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AToolbar)
label on GitHub. label on GitHub.
TopSites:
description: Corresponds to the [Feature:TopSites](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ATopSites)
label on GitHub.
TrackingProtection: TrackingProtection:
description: Corresponds to the [Feature:TrackingProtection](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ATrackingProtection) description: Corresponds to the [Feature:TrackingProtection](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3ATrackingProtection)
label on GitHub. label on GitHub.
Voice: Voice:
description: Corresponds to the [Feature:Voice](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AVoice) description: Corresponds to the [Feature:Voice](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AVoice)
label on GitHub. label on GitHub.
Wallpapers:
description: Corresponds to the [Feature:Wallpapers](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AWallpapers)
label on GitHub.
WebAuthn: WebAuthn:
description: Feature work pertaining to WebAuthn. Corresponds to the [Feature:WebAuthn](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AWebAuthn) description: Feature work pertaining to WebAuthn. Corresponds to the [Feature:WebAuthn](https://github.com/mozilla-mobile/fenix/issues?q=label%3AFeature%3AWebAuthn)
label on GitHub. label on GitHub.