{"action":"created","comment":{"url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/comments/31685753","id":31685753,"diff_hunk":"@@ -73,25 +36,66 @@ class ProjectOverlay extends React.Component {\n         <ProjectList>\n           {projects.map((name) => <Project\n             key={name}\n-            onSelect={this.onAccept}\n-            onDelete={this.onDelete}\n+            onSelect={this._onAccept}\n+            onDelete={this._onDelete}\n             current={name === cwd}\n             name={name} />)}\n         </ProjectList>\n         <h3 style={styles.overlayTitle}>Or start a brand new one.</h3>\n         <TextField\n-          value={this.state.value}\n+          value={this.props.projectName}\n           placeHolder=\"project name\"\n           styles={styles.textField}\n           floatingLabel\n-          onChange={this.updateName} />\n+          onChange={ProjectActions.updateName} />","path":"plugins/sidebar/overlays/project.js","position":94,"original_position":94,"commit_id":"ac6e67b1cb148f8abd25b553c5175f6e7e9f806e","original_commit_id":"ac6e67b1cb148f8abd25b553c5175f6e7e9f806e","user":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"body":"should be destructured","created_at":"2015-06-04T00:55:54Z","updated_at":"2015-06-04T00:55:54Z","html_url":"https://github.com/parallaxinc/ChromeIDE/pull/137#discussion_r31685753","pull_request_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/comments/31685753"},"html":{"href":"https://github.com/parallaxinc/ChromeIDE/pull/137#discussion_r31685753"},"pull_request":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137","id":36890604,"html_url":"https://github.com/parallaxinc/ChromeIDE/pull/137","diff_url":"https://github.com/parallaxinc/ChromeIDE/pull/137.diff","patch_url":"https://github.com/parallaxinc/ChromeIDE/pull/137.patch","issue_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/137","number":137,"state":"open","locked":false,"title":"Flux","user":{"login":"drquinn","id":2586086,"avatar_url":"https://avatars.githubusercontent.com/u/2586086?v=3","gravatar_id":"","url":"https://api.github.com/users/drquinn","html_url":"https://github.com/drquinn","followers_url":"https://api.github.com/users/drquinn/followers","following_url":"https://api.github.com/users/drquinn/following{/other_user}","gists_url":"https://api.github.com/users/drquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/drquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drquinn/subscriptions","organizations_url":"https://api.github.com/users/drquinn/orgs","repos_url":"https://api.github.com/users/drquinn/repos","events_url":"https://api.github.com/users/drquinn/events{/privacy}","received_events_url":"https://api.github.com/users/drquinn/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\nInitial base Flux implementation to clean state changes out of components.\r\n\r\n#### Where should the reviewer start?\r\nTest the full application to ensure everything is working as expected. The changes will mainly impact download to the Basic Stamp, new file, and new project.\r\n\r\n#### How should this be manually tested?\r\nSee above.\r\n\r\n#### Any background context you want to provide?\r\nThis changes React state within the overlays download.js, new-file.js, and project.js. Instead of setting state within these React components, state is now set via actions through a store. A store was created for each data type in use. This means three stores were created:\r\n- DeviceStore\r\n- FileStore\r\n- ProjectStore\r\n\r\nAlong with these stores, three actions file were also created.\r\n\r\nThis Flux implementation uses the Alt framework to manage the Flux pattern and Sovereign to create higher order components. It also takes notes from Facebook Flux for organizational and naming techniques. Such as _ for private methods within components.\r\n\r\n#### What are the relevant tickets?\r\nReferences #115 \r\n","created_at":"2015-06-03T23:55:28Z","updated_at":"2015-06-04T00:55:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3eb8da7ed8b02ebec594a31b45762e1b6d4d8db","assignee":{"login":"phated","id":992373,"avatar_url":"https://avatars.githubusercontent.com/u/992373?v=3","gravatar_id":"","url":"https://api.github.com/users/phated","html_url":"https://github.com/phated","followers_url":"https://api.github.com/users/phated/followers","following_url":"https://api.github.com/users/phated/following{/other_user}","gists_url":"https://api.github.com/users/phated/gists{/gist_id}","starred_url":"https://api.github.com/users/phated/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phated/subscriptions","organizations_url":"https://api.github.com/users/phated/orgs","repos_url":"https://api.github.com/users/phated/repos","events_url":"https://api.github.com/users/phated/events{/privacy}","received_events_url":"https://api.github.com/users/phated/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137/commits","review_comments_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137/comments","review_comment_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/137/comments","statuses_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/statuses/ac6e67b1cb148f8abd25b553c5175f6e7e9f806e","head":{"label":"parallaxinc:flux","ref":"flux","sha":"ac6e67b1cb148f8abd25b553c5175f6e7e9f806e","user":{"login":"parallaxinc","id":1985825,"avatar_url":"https://avatars.githubusercontent.com/u/1985825?v=3","gravatar_id":"","url":"https://api.github.com/users/parallaxinc","html_url":"https://github.com/parallaxinc","followers_url":"https://api.github.com/users/parallaxinc/followers","following_url":"https://api.github.com/users/parallaxinc/following{/other_user}","gists_url":"https://api.github.com/users/parallaxinc/gists{/gist_id}","starred_url":"https://api.github.com/users/parallaxinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallaxinc/subscriptions","organizations_url":"https://api.github.com/users/parallaxinc/orgs","repos_url":"https://api.github.com/users/parallaxinc/repos","events_url":"https://api.github.com/users/parallaxinc/events{/privacy}","received_events_url":"https://api.github.com/users/parallaxinc/received_events","type":"Organization","site_admin":false},"repo":{"id":30904895,"name":"ChromeIDE","full_name":"parallaxinc/ChromeIDE","owner":{"login":"parallaxinc","id":1985825,"avatar_url":"https://avatars.githubusercontent.com/u/1985825?v=3","gravatar_id":"","url":"https://api.github.com/users/parallaxinc","html_url":"https://github.com/parallaxinc","followers_url":"https://api.github.com/users/parallaxinc/followers","following_url":"https://api.github.com/users/parallaxinc/following{/other_user}","gists_url":"https://api.github.com/users/parallaxinc/gists{/gist_id}","starred_url":"https://api.github.com/users/parallaxinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallaxinc/subscriptions","organizations_url":"https://api.github.com/users/parallaxinc/orgs","repos_url":"https://api.github.com/users/parallaxinc/repos","events_url":"https://api.github.com/users/parallaxinc/events{/privacy}","received_events_url":"https://api.github.com/users/parallaxinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parallaxinc/ChromeIDE","description":"Parallax microcontroller development environment based on Chrome applications.","fork":false,"url":"https://api.github.com/repos/parallaxinc/ChromeIDE","forks_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/forks","keys_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/teams","hooks_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/hooks","issue_events_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/events{/number}","events_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/events","assignees_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/assignees{/user}","branches_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/branches{/branch}","tags_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/tags","blobs_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/refs{/sha}","trees_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/statuses/{sha}","languages_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/languages","stargazers_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/stargazers","contributors_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/contributors","subscribers_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/subscribers","subscription_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/subscription","commits_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/commits{/sha}","git_commits_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/commits{/sha}","comments_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/comments{/number}","issue_comment_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/comments{/number}","contents_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/contents/{+path}","compare_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/merges","archive_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/downloads","issues_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues{/number}","pulls_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls{/number}","milestones_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/milestones{/number}","notifications_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/labels{/name}","releases_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/releases{/id}","created_at":"2015-02-17T06:05:36Z","updated_at":"2015-05-19T20:16:35Z","pushed_at":"2015-06-03T23:55:29Z","git_url":"git://github.com/parallaxinc/ChromeIDE.git","ssh_url":"git@github.com:parallaxinc/ChromeIDE.git","clone_url":"https://github.com/parallaxinc/ChromeIDE.git","svn_url":"https://github.com/parallaxinc/ChromeIDE","homepage":null,"size":2631,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":49,"forks":1,"open_issues":49,"watchers":10,"default_branch":"master"}},"base":{"label":"parallaxinc:master","ref":"master","sha":"dffa9ce2ca3292b9cb44f5597138f80aa6ea84bc","user":{"login":"parallaxinc","id":1985825,"avatar_url":"https://avatars.githubusercontent.com/u/1985825?v=3","gravatar_id":"","url":"https://api.github.com/users/parallaxinc","html_url":"https://github.com/parallaxinc","followers_url":"https://api.github.com/users/parallaxinc/followers","following_url":"https://api.github.com/users/parallaxinc/following{/other_user}","gists_url":"https://api.github.com/users/parallaxinc/gists{/gist_id}","starred_url":"https://api.github.com/users/parallaxinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallaxinc/subscriptions","organizations_url":"https://api.github.com/users/parallaxinc/orgs","repos_url":"https://api.github.com/users/parallaxinc/repos","events_url":"https://api.github.com/users/parallaxinc/events{/privacy}","received_events_url":"https://api.github.com/users/parallaxinc/received_events","type":"Organization","site_admin":false},"repo":{"id":30904895,"name":"ChromeIDE","full_name":"parallaxinc/ChromeIDE","owner":{"login":"parallaxinc","id":1985825,"avatar_url":"https://avatars.githubusercontent.com/u/1985825?v=3","gravatar_id":"","url":"https://api.github.com/users/parallaxinc","html_url":"https://github.com/parallaxinc","followers_url":"https://api.github.com/users/parallaxinc/followers","following_url":"https://api.github.com/users/parallaxinc/following{/other_user}","gists_url":"https://api.github.com/users/parallaxinc/gists{/gist_id}","starred_url":"https://api.github.com/users/parallaxinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parallaxinc/subscriptions","organizations_url":"https://api.github.com/users/parallaxinc/orgs","repos_url":"https://api.github.com/users/parallaxinc/repos","events_url":"https://api.github.com/users/parallaxinc/events{/privacy}","received_events_url":"https://api.github.com/users/parallaxinc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/parallaxinc/ChromeIDE","description":"Parallax microcontroller development environment based on Chrome applications.","fork":false,"url":"https://api.github.com/repos/parallaxinc/ChromeIDE","forks_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/forks","keys_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/teams","hooks_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/hooks","issue_events_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/events{/number}","events_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/events","assignees_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/assignees{/user}","branches_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/branches{/branch}","tags_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/tags","blobs_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/refs{/sha}","trees_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/statuses/{sha}","languages_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/languages","stargazers_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/stargazers","contributors_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/contributors","subscribers_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/subscribers","subscription_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/subscription","commits_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/commits{/sha}","git_commits_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/git/commits{/sha}","comments_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/comments{/number}","issue_comment_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/comments{/number}","contents_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/contents/{+path}","compare_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/merges","archive_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/downloads","issues_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues{/number}","pulls_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls{/number}","milestones_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/milestones{/number}","notifications_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/labels{/name}","releases_url":"https://api.github.com/repos/parallaxinc/ChromeIDE/releases{/id}","created_at":"2015-02-17T06:05:36Z","updated_at":"2015-05-19T20:16:35Z","pushed_at":"2015-06-03T23:55:29Z","git_url":"git://github.com/parallaxinc/ChromeIDE.git","ssh_url":"git@github.com:parallaxinc/ChromeIDE.git","clone_url":"https://github.com/parallaxinc/ChromeIDE.git","svn_url":"https://github.com/parallaxinc/ChromeIDE","homepage":null,"size":2631,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":49,"forks":1,"open_issues":49,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137"},"html":{"href":"https://github.com/parallaxinc/ChromeIDE/pull/137"},"issue":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/137"},"comments":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/parallaxinc/ChromeIDE/statuses/ac6e67b1cb148f8abd25b553c5175f6e7e9f806e"}}}}