Last active
October 4, 2017 23:52
-
-
Save biancadanforth/f4e0dbdf3406dcdfea02b75e11f617e6 to your computer and use it in GitHub Desktop.
CFR Recipe
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
const cfrRecipe = { | |
triggers: { | |
// what user behaviors trigger the UI presentation | |
}, | |
presentation: { | |
defaultComponent: { | |
// what do all major UI elements, sidebar, notification bar, doorhanger use | |
icon: '', | |
header: '', | |
summary: '', | |
action: '', // affirmative, primary action | |
learnMore: '', // intermediate action, not completely affirmative | |
rationale: '', // why am I seeing this? ?? | |
rating: '' | |
}, | |
presentationComponent: { // e.g. doorhanger | |
// whatever properties in here, overwrite defaultComponent if its key exists | |
}, | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment