{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/DoSomething/intertwine/pulls/25","id":29037928,"html_url":"https://github.com/DoSomething/intertwine/pull/25","diff_url":"https://github.com/DoSomething/intertwine/pull/25.diff","patch_url":"https://github.com/DoSomething/intertwine/pull/25.patch","issue_url":"https://api.github.com/repos/DoSomething/intertwine/issues/25","number":25,"state":"closed","locked":false,"title":"Importer Basics","user":{"login":"jonuy","id":696595,"avatar_url":"https://avatars.githubusercontent.com/u/696595?v=3","gravatar_id":"","url":"https://api.github.com/users/jonuy","html_url":"https://github.com/jonuy","followers_url":"https://api.github.com/users/jonuy/followers","following_url":"https://api.github.com/users/jonuy/following{/other_user}","gists_url":"https://api.github.com/users/jonuy/gists{/gist_id}","starred_url":"https://api.github.com/users/jonuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonuy/subscriptions","organizations_url":"https://api.github.com/users/jonuy/orgs","repos_url":"https://api.github.com/users/jonuy/repos","events_url":"https://api.github.com/users/jonuy/events{/privacy}","received_events_url":"https://api.github.com/users/jonuy/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\nProvides foundation for importing the SMS game json config files and converting them into Twine stories. Currently only supports the story config passage and regular DS passages.\r\n\r\nAlso some cleanup with the project name and fields in the package.json.\r\n\r\n#### Where should the reviewer start?\r\n###### storylistview.js\r\nThe file being imported is read here. I added pulling the filename and extension in order to know if it should be processed as one of our .json config files instead.\r\n\r\n###### app.js\r\nBasically just acts as a bridge to importsms. Seems like the only reason I have this is to stay consistent with how the original `app.importFile` worked.\r\n\r\n###### importsms.js\r\nReads through all a config object's keys and creates corresponding passages to display in Twine.\r\n\r\n#### How should this be manually tested?\r\nI tested with this file: https://gist.github.com/jonuy/88a949644e3eb437da0e\r\n\r\nImport it using the \"Import From File\" button on the Intertwine homepage. Verify that 4 passages get created with data and are connected.\r\n\r\n@tongxiang ","created_at":"2015-02-10T19:43:52Z","updated_at":"2015-02-11T18:49:09Z","closed_at":"2015-02-11T18:49:08Z","merged_at":"2015-02-11T18:49:08Z","merge_commit_sha":"89f939e6b7a0c4eead0a2c895072502587f2d812","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/intertwine/pulls/25/commits","review_comments_url":"https://api.github.com/repos/DoSomething/intertwine/pulls/25/comments","review_comment_url":"https://api.github.com/repos/DoSomething/intertwine/pulls/comments/{number}","comments_url":"https://api.github.com/repos/DoSomething/intertwine/issues/25/comments","statuses_url":"https://api.github.com/repos/DoSomething/intertwine/statuses/7ff75ab48fa9b83355d89b7b21b98f9e09e748e2","head":{"label":"DoSomething:importer","ref":"importer","sha":"7ff75ab48fa9b83355d89b7b21b98f9e09e748e2","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":29757986,"name":"intertwine","full_name":"DoSomething/intertwine","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/intertwine","description":"Built on top of the main JS port of Twine, this is a tool for creating DoSomething.org interactive SMS stories.","fork":false,"url":"https://api.github.com/repos/DoSomething/intertwine","forks_url":"https://api.github.com/repos/DoSomething/intertwine/forks","keys_url":"https://api.github.com/repos/DoSomething/intertwine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/intertwine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/intertwine/teams","hooks_url":"https://api.github.com/repos/DoSomething/intertwine/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/intertwine/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/intertwine/events","assignees_url":"https://api.github.com/repos/DoSomething/intertwine/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/intertwine/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/intertwine/tags","blobs_url":"https://api.github.com/repos/DoSomething/intertwine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/intertwine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/intertwine/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/intertwine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/intertwine/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/intertwine/languages","stargazers_url":"https://api.github.com/repos/DoSomething/intertwine/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/intertwine/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/intertwine/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/intertwine/subscription","commits_url":"https://api.github.com/repos/DoSomething/intertwine/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/intertwine/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/intertwine/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/intertwine/issues/comments/{number}","contents_url":"https://api.github.com/repos/DoSomething/intertwine/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/intertwine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/intertwine/merges","archive_url":"https://api.github.com/repos/DoSomething/intertwine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/intertwine/downloads","issues_url":"https://api.github.com/repos/DoSomething/intertwine/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/intertwine/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/intertwine/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/intertwine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/intertwine/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/intertwine/releases{/id}","created_at":"2015-01-23T23:20:25Z","updated_at":"2015-02-06T18:53:34Z","pushed_at":"2015-02-11T18:49:09Z","git_url":"git://github.com/DoSomething/intertwine.git","ssh_url":"git@github.com:DoSomething/intertwine.git","clone_url":"https://github.com/DoSomething/intertwine.git","svn_url":"https://github.com/DoSomething/intertwine","homepage":null,"size":2313,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"DoSomething:master","ref":"master","sha":"9596342c167a8b7ad2685005bee3c24ffc34b5b4","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":29757986,"name":"intertwine","full_name":"DoSomething/intertwine","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/intertwine","description":"Built on top of the main JS port of Twine, this is a tool for creating DoSomething.org interactive SMS stories.","fork":false,"url":"https://api.github.com/repos/DoSomething/intertwine","forks_url":"https://api.github.com/repos/DoSomething/intertwine/forks","keys_url":"https://api.github.com/repos/DoSomething/intertwine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/intertwine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/intertwine/teams","hooks_url":"https://api.github.com/repos/DoSomething/intertwine/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/intertwine/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/intertwine/events","assignees_url":"https://api.github.com/repos/DoSomething/intertwine/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/intertwine/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/intertwine/tags","blobs_url":"https://api.github.com/repos/DoSomething/intertwine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/intertwine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/intertwine/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/intertwine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/intertwine/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/intertwine/languages","stargazers_url":"https://api.github.com/repos/DoSomething/intertwine/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/intertwine/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/intertwine/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/intertwine/subscription","commits_url":"https://api.github.com/repos/DoSomething/intertwine/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/intertwine/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/intertwine/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/intertwine/issues/comments/{number}","contents_url":"https://api.github.com/repos/DoSomething/intertwine/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/intertwine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/intertwine/merges","archive_url":"https://api.github.com/repos/DoSomething/intertwine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/intertwine/downloads","issues_url":"https://api.github.com/repos/DoSomething/intertwine/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/intertwine/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/intertwine/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/intertwine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/intertwine/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/intertwine/releases{/id}","created_at":"2015-01-23T23:20:25Z","updated_at":"2015-02-06T18:53:34Z","pushed_at":"2015-02-11T18:49:09Z","git_url":"git://github.com/DoSomething/intertwine.git","ssh_url":"git@github.com:DoSomething/intertwine.git","clone_url":"https://github.com/DoSomething/intertwine.git","svn_url":"https://github.com/DoSomething/intertwine","homepage":null,"size":2313,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/intertwine/pulls/25"},"html":{"href":"https://github.com/DoSomething/intertwine/pull/25"},"issue":{"href":"https://api.github.com/repos/DoSomething/intertwine/issues/25"},"comments":{"href":"https://api.github.com/repos/DoSomething/intertwine/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/intertwine/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/intertwine/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/intertwine/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/intertwine/statuses/7ff75ab48fa9b83355d89b7b21b98f9e09e748e2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tongxiang","id":5678066,"avatar_url":"https://avatars.githubusercontent.com/u/5678066?v=3","gravatar_id":"","url":"https://api.github.com/users/tongxiang","html_url":"https://github.com/tongxiang","followers_url":"https://api.github.com/users/tongxiang/followers","following_url":"https://api.github.com/users/tongxiang/following{/other_user}","gists_url":"https://api.github.com/users/tongxiang/gists{/gist_id}","starred_url":"https://api.github.com/users/tongxiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tongxiang/subscriptions","organizations_url":"https://api.github.com/users/tongxiang/orgs","repos_url":"https://api.github.com/users/tongxiang/repos","events_url":"https://api.github.com/users/tongxiang/events{/privacy}","received_events_url":"https://api.github.com/users/tongxiang/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":5,"additions":206,"deletions":11,"changed_files":6}}