Last active
June 12, 2020 17:25
-
-
Save punamdahiya/49cce603d01e76cf827dcd0a3e20f855 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To test Get Started and Import screen | |
browser.aboutwelcome.overrideContent={"id": "multi-stage-welcome","template": "multistage","screens": [{"id": "AW_GET_STARTED","order": 0,"content": {"title": { "string_id": "onboarding-welcome-header" }, "subtitle": "The fast, safe, and private browser that's backed by a non-profit.", "primary_button": {"label": "Start Setup","action":{"navigate": true}}, "secondary_button": {"text": "Have an account?", "label": "Sign in","position": "top", "action":{"type": "OPEN_URL","addFlowParams": true, "data":{"args": "https://accounts.firefox.com/?service=sync&action=email&context=fx_desktop_v3&entrypoint=activity-stream-firstrun&style=trailhead","where": "current"}}}}},{"id": "AW_IMPORT_SETTINGS","order": 1,"content": {"title": "Import your passwords, bookmarks,\u00a0and more","subtitle": "Coming from another browser? It's easy to bring everything to Firefox.","tiles": {}, "primary_button": {"label": "Start Import", "action":{"type": "SHOW_MIGRATION_WIZARD","navigate": true}},"secondary_button": {"label": "Not now","action":{"navigate": true}}}}]} | |
--------- | |
JSON | |
{ | |
"id": "multi-stage-welcome", | |
"template": "multistage", | |
"screens": [{ | |
"id": "AW_GET_STARTED", | |
"order": 0, | |
"content": { | |
"title": { | |
"string_id": "onboarding-welcome-header" | |
}, | |
"subtitle": "The fast, safe, and private browser that's backed by a non-profit.", | |
"primary_button": { | |
"label": "Start Setup", | |
"action": { | |
"navigate": true | |
} | |
}, | |
"secondary_button": { | |
"text": "Have an account?", | |
"label": "Sign in", | |
"position": "top", | |
"action": { | |
"type": "OPEN_URL", | |
"addFlowParams": true, | |
"data": { | |
"args": "https://accounts.firefox.com/?service=sync&action=email&context=fx_desktop_v3&entrypoint=activity-stream-firstrun&style=trailhead", | |
"where": "current" | |
} | |
} | |
} | |
} | |
}, { | |
"id": "AW_IMPORT_SETTINGS", | |
"order": 1, | |
"content": { | |
"title": "Import your passwords, bookmarks,\u00a0and more", | |
"subtitle": "Coming from another browser? It's easy to bring everything to Firefox.", | |
"tiles": {}, | |
"primary_button": { | |
"label": "Start Import", | |
"action": { | |
"type": "SHOW_MIGRATION_WIZARD", | |
"navigate": true | |
} | |
}, | |
"secondary_button": { | |
"label": "Not now", | |
"action": { | |
"navigate": true | |
} | |
} | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment