Reasons
Tools to support the collection of and analysis of user reasons, as per http://nxhx.org/maximizing/
Usage
There's a database API, and several React widgets that work with that database.
The database is built on Firebase, and in order to use it you’ll need to have users authenticate into the db, using code like this:
let FIREBASE = 'https://lifestyles.firebaseio.com/'FIREBASE
The database lets you add reasons, list them, and find completions for a partially typed reason string.
consolelet newReasonId = ReasonsReasons
There are widgets for picking reasons, and collecting reasons and outcomes from users about a chain of activities.
And activity looks like the following:
let exampleActivity = blame: 'http://facebook.com' elapsed: 30*60*1000 over: Date-24*60*60*1000 Date recognizer: 'indirect' favIconUrl: 'https://static.xx.fbcdn.net/rsrc.php/yl/r/H3nktOa7ZMg.ico' verbPhrase: ‘browsing links’ examples: ‘A B and C’
An assessment
consist of the reported reasons and outcomes for an activity:
let assessment = author: userID assessment: feeling reasons: reasonid time: Date blame: activityblame elapsed: activityelapsed over: activityover recognizer: activityrecognizer verbPhrase: activityverbPhrase
Getting started
npm install