summaryrefslogtreecommitdiffstats
path: root/toolkit/components/nimbus/test/unit/reference_aboutwelcome_experiment_content.json
blob: e7b89272489b49f42de3cd53c65560b5d3b5c549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
{
  "id": "msw-late-setdefault",
  "template": "multistage",
  "screens": [
    {
      "id": "AW_GET_STARTED",
      "order": 0,
      "content": {
        "zap": true,
        "title": {
          "string_id": "onboarding-multistage-welcome-header"
        },
        "subtitle": {
          "string_id": "onboarding-multistage-welcome-subtitle"
        },
        "primary_button": {
          "label": {
            "string_id": "onboarding-multistage-welcome-primary-button-label"
          },
          "action": {
            "navigate": true
          }
        },
        "secondary_button": {
          "text": {
            "string_id": "onboarding-multistage-welcome-secondary-button-text"
          },
          "label": {
            "string_id": "onboarding-multistage-welcome-secondary-button-label"
          },
          "position": "top",
          "action": {
            "type": "SHOW_FIREFOX_ACCOUNTS",
            "addFlowParams": true,
            "data": {
              "entrypoint": "activity-stream-firstrun"
            }
          }
        }
      }
    },
    {
      "id": "AW_IMPORT_SETTINGS",
      "order": 1,
      "content": {
        "zap": true,
        "disclaimer": {
          "string_id": "onboarding-import-sites-disclaimer"
        },
        "title": {
          "string_id": "onboarding-multistage-import-header"
        },
        "subtitle": {
          "string_id": "onboarding-multistage-import-subtitle"
        },
        "primary_button": {
          "label": {
            "string_id": "onboarding-multistage-import-primary-button-label"
          },
          "action": {
            "type": "SHOW_MIGRATION_WIZARD",
            "navigate": true
          }
        },
        "secondary_button": {
          "label": {
            "string_id": "onboarding-multistage-import-secondary-button-label"
          },
          "action": {
            "navigate": true
          }
        }
      }
    },
    {
      "id": "AW_CHOOSE_THEME",
      "order": 2,
      "content": {
        "zap": true,
        "title": {
          "string_id": "onboarding-multistage-theme-header"
        },
        "subtitle": {
          "string_id": "onboarding-multistage-theme-subtitle"
        },
        "tiles": {
          "type": "theme",
          "action": {
            "theme": "<event>"
          },
          "data": [
            {
              "theme": "automatic",
              "label": {
                "string_id": "onboarding-multistage-theme-label-automatic"
              },
              "tooltip": {
                "string_id": "onboarding-multistage-theme-tooltip-automatic-2"
              },
              "description": {
                "string_id": "onboarding-multistage-theme-description-automatic-2"
              }
            },
            {
              "theme": "light",
              "label": {
                "string_id": "onboarding-multistage-theme-label-light"
              },
              "tooltip": {
                "string_id": "onboarding-multistage-theme-tooltip-light-2"
              },
              "description": {
                "string_id": "onboarding-multistage-theme-description-light"
              }
            },
            {
              "theme": "dark",
              "label": {
                "string_id": "onboarding-multistage-theme-label-dark"
              },
              "tooltip": {
                "string_id": "onboarding-multistage-theme-tooltip-dark-2"
              },
              "description": {
                "string_id": "onboarding-multistage-theme-description-dark"
              }
            },
            {
              "theme": "alpenglow",
              "label": {
                "string_id": "onboarding-multistage-theme-label-alpenglow"
              },
              "tooltip": {
                "string_id": "onboarding-multistage-theme-tooltip-alpenglow-2"
              },
              "description": {
                "string_id": "onboarding-multistage-theme-description-alpenglow"
              }
            }
          ]
        },
        "primary_button": {
          "label": {
            "string_id": "onboarding-multistage-theme-primary-button-label"
          },
          "action": {
            "navigate": true
          }
        },
        "secondary_button": {
          "label": {
            "string_id": "onboarding-multistage-theme-secondary-button-label"
          },
          "action": {
            "theme": "automatic",
            "navigate": true
          }
        }
      }
    },
    {
      "id": "AW_SET_DEFAULT",
      "order": 3,
      "content": {
        "zap": true,
        "title": "Make Firefox your default browser",
        "subtitle": "Speed, safety, and privacy every time you browse.",
        "primary_button": {
          "label": "Make Default",
          "action": {
            "navigate": true,
            "type": "SET_DEFAULT_BROWSER"
          }
        },
        "secondary_button": {
          "label": {
            "string_id": "onboarding-multistage-import-secondary-button-label"
          },
          "action": {
            "navigate": true
          }
        }
      }
    }
  ]
}