2023-04-24 14:43:37 +00:00
|
|
|
---
|
|
|
|
features:
|
|
|
|
|
|
|
|
juno-onboarding:
|
|
|
|
description: A feature that shows juno onboarding flow.
|
|
|
|
|
|
|
|
variables:
|
|
|
|
enabled:
|
|
|
|
description: if true, juno onboarding is shown to the user.
|
|
|
|
type: Boolean
|
|
|
|
default: false
|
|
|
|
cards:
|
|
|
|
description: Collection of user facing onboarding cards.
|
|
|
|
type: Map<String, OnboardingCardData>
|
|
|
|
default:
|
|
|
|
default-browser:
|
|
|
|
card-type: default-browser
|
|
|
|
title: juno_onboarding_default_browser_title_nimbus
|
|
|
|
ordering: 10
|
|
|
|
body: juno_onboarding_default_browser_description_nimbus
|
|
|
|
link-text: juno_onboarding_default_browser_description_link_text
|
2023-05-03 08:10:23 +00:00
|
|
|
image-res: ic_onboarding_welcome
|
2023-04-24 14:43:37 +00:00
|
|
|
primary-button-label: juno_onboarding_default_browser_positive_button
|
|
|
|
secondary-button-label: juno_onboarding_default_browser_negative_button
|
|
|
|
|
2023-08-17 09:41:32 +00:00
|
|
|
add-search-widget:
|
|
|
|
card-type: add-search-widget
|
2023-08-28 10:16:25 +00:00
|
|
|
enabled: false
|
2023-08-17 09:41:32 +00:00
|
|
|
title: juno_onboarding_add_search_widget_title
|
|
|
|
body: juno_onboarding_add_search_widget_description
|
|
|
|
image-res: ic_onboarding_search_widget
|
|
|
|
ordering: 15
|
|
|
|
primary-button-label: juno_onboarding_add_search_widget_positive_button
|
|
|
|
secondary-button-label: juno_onboarding_add_search_widget_negative_button
|
|
|
|
|
2023-04-24 14:43:37 +00:00
|
|
|
sync-sign-in:
|
|
|
|
card-type: sync-sign-in
|
|
|
|
title: juno_onboarding_sign_in_title
|
|
|
|
body: juno_onboarding_sign_in_description
|
2023-05-03 08:10:23 +00:00
|
|
|
image-res: ic_onboarding_sync
|
2023-04-24 14:43:37 +00:00
|
|
|
ordering: 20
|
|
|
|
primary-button-label: juno_onboarding_sign_in_positive_button
|
|
|
|
secondary-button-label: juno_onboarding_sign_in_negative_button
|
|
|
|
|
|
|
|
notification-permission:
|
|
|
|
card-type: notification-permission
|
2023-04-26 18:03:33 +00:00
|
|
|
title: juno_onboarding_enable_notifications_title_nimbus
|
|
|
|
body: juno_onboarding_enable_notifications_description_nimbus
|
2023-05-03 08:10:23 +00:00
|
|
|
image-res: ic_notification_permission
|
2023-04-24 14:43:37 +00:00
|
|
|
ordering: 30
|
|
|
|
primary-button-label: juno_onboarding_enable_notifications_positive_button
|
|
|
|
secondary-button-label: juno_onboarding_enable_notifications_negative_button
|
|
|
|
|
|
|
|
defaults:
|
|
|
|
- channel: developer
|
|
|
|
value:
|
|
|
|
enabled: false
|
|
|
|
- channel: nightly
|
|
|
|
value:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
objects:
|
|
|
|
|
|
|
|
OnboardingCardData:
|
|
|
|
description: An object to describe a user facing onboarding card.
|
|
|
|
fields:
|
|
|
|
card-type:
|
|
|
|
type: OnboardingCardType
|
|
|
|
description: The type of the card.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: default-browser
|
2023-08-28 10:16:25 +00:00
|
|
|
enabled:
|
|
|
|
type: Boolean
|
|
|
|
description: If true, this card is shown to the user.
|
|
|
|
default: true
|
2023-04-24 14:43:37 +00:00
|
|
|
title:
|
|
|
|
type: Text
|
|
|
|
description: The title text displayed to the user.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: ""
|
|
|
|
body:
|
|
|
|
type: Text
|
|
|
|
description: The message text displayed to the user. May contain linkable text.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: ""
|
|
|
|
link-text:
|
|
|
|
type: Option<Text>
|
|
|
|
description: >
|
2023-04-26 18:03:33 +00:00
|
|
|
The text to link from the body text. This should match the linkable text from the body text exactly.
|
|
|
|
e.g. body: This is a policy link
|
2023-04-24 14:43:37 +00:00
|
|
|
link-text: policy link
|
|
|
|
default: null
|
2023-05-03 08:10:23 +00:00
|
|
|
image-res:
|
|
|
|
type: Image
|
|
|
|
description: The resource id of the image to be displayed.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: ic_onboarding_welcome
|
2023-04-24 14:43:37 +00:00
|
|
|
ordering:
|
|
|
|
type: Int
|
|
|
|
description: Used to sequence the cards.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: 0
|
|
|
|
primary-button-label:
|
|
|
|
type: Text
|
|
|
|
description: The text to display on the primary button.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: ""
|
|
|
|
secondary-button-label:
|
|
|
|
type: Text
|
|
|
|
description: The text to display on the secondary button.
|
|
|
|
# This should never be defaulted.
|
|
|
|
default: ""
|
|
|
|
|
|
|
|
enums:
|
|
|
|
|
|
|
|
OnboardingCardType:
|
|
|
|
description: An enum to describe a type of card.
|
|
|
|
variants:
|
|
|
|
default-browser:
|
|
|
|
description: Allows user to set Firefox as the default browser.
|
|
|
|
sync-sign-in:
|
|
|
|
description: Allows user to sync with a Firefox account.
|
|
|
|
notification-permission:
|
|
|
|
description: Allows user to enable notification permission.
|
2023-08-17 09:41:32 +00:00
|
|
|
add-search-widget:
|
|
|
|
description: Allows user to add search widget to homescreen.
|