{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9","id":43231142,"html_url":"https://github.com/mozilla/marketplace-submission/pull/9","diff_url":"https://github.com/mozilla/marketplace-submission/pull/9.diff","patch_url":"https://github.com/mozilla/marketplace-submission/pull/9.patch","issue_url":"https://api.github.com/repos/mozilla/marketplace-submission/issues/9","number":9,"state":"open","locked":false,"title":"Refactors IA to go content type -> action, rather than the inverse.","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"body":"A few changes grouped together:\r\n\r\n- The IA originally went from action -> content type. As we add more content types, that scales rather poorly, so I reversed it. The top navigation now lists content types, and the actions for each will live beneath it. Ultimately, [the IA will look like this](https://dpaste.de/sY7E).\r\n    - I also updated the layout of the handlers to reflect this.\r\n- There was a bit of CSS we originally stubbed out to make the MOW submission tools consumer-facing. Since that won't happen until we get real UI work, I stripped some of it out to keep the code simpler.\r\n    - This will also make it easier to start using [CSS modules](http://glenmaddern.com/articles/css-modules).\r\n- For readability and to be more in line with React idioms, I wrapped the return value of `render` functions of multiline components in parens, e.g. https://dpaste.de/Ht4n\r\n\r\nLine counts make this look bigger than it is; it's mostly reindentation.","created_at":"2015-08-24T22:46:09Z","updated_at":"2015-08-24T22:46:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/marketplace-submission/issues/9/comments","statuses_url":"https://api.github.com/repos/mozilla/marketplace-submission/statuses/2fd75d03d6d261ba8c157b34e9d461299140ebf5","head":{"label":"chuckharmston:ia_cleanup","ref":"ia_cleanup","sha":"2fd75d03d6d261ba8c157b34e9d461299140ebf5","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"repo":{"id":36685665,"name":"marketplace-submission","full_name":"chuckharmston/marketplace-submission","owner":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chuckharmston/marketplace-submission","description":"Tools for submitting content to the Firefox Marketplace.","fork":true,"url":"https://api.github.com/repos/chuckharmston/marketplace-submission","forks_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/forks","keys_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/teams","hooks_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/hooks","issue_events_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/issues/events{/number}","events_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/events","assignees_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/assignees{/user}","branches_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/branches{/branch}","tags_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/tags","blobs_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/git/refs{/sha}","trees_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/statuses/{sha}","languages_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/languages","stargazers_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/stargazers","contributors_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/contributors","subscribers_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/subscribers","subscription_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/subscription","commits_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/commits{/sha}","git_commits_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/git/commits{/sha}","comments_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/comments{/number}","issue_comment_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/issues/comments{/number}","contents_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/contents/{+path}","compare_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/merges","archive_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/downloads","issues_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/issues{/number}","pulls_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/pulls{/number}","milestones_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/milestones{/number}","notifications_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/labels{/name}","releases_url":"https://api.github.com/repos/chuckharmston/marketplace-submission/releases{/id}","created_at":"2015-06-01T20:06:03Z","updated_at":"2015-06-01T20:06:04Z","pushed_at":"2015-08-24T22:23:48Z","git_url":"git://github.com/chuckharmston/marketplace-submission.git","ssh_url":"git@github.com:chuckharmston/marketplace-submission.git","clone_url":"https://github.com/chuckharmston/marketplace-submission.git","svn_url":"https://github.com/chuckharmston/marketplace-submission","homepage":null,"size":1032,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"601d9b7f9eb1291dab9fd66398feb26ab6a41ee7","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":36391468,"name":"marketplace-submission","full_name":"mozilla/marketplace-submission","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/marketplace-submission","description":"Tools for submitting content to the Firefox Marketplace.","fork":false,"url":"https://api.github.com/repos/mozilla/marketplace-submission","forks_url":"https://api.github.com/repos/mozilla/marketplace-submission/forks","keys_url":"https://api.github.com/repos/mozilla/marketplace-submission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/marketplace-submission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/marketplace-submission/teams","hooks_url":"https://api.github.com/repos/mozilla/marketplace-submission/hooks","issue_events_url":"https://api.github.com/repos/mozilla/marketplace-submission/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/marketplace-submission/events","assignees_url":"https://api.github.com/repos/mozilla/marketplace-submission/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/marketplace-submission/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/marketplace-submission/tags","blobs_url":"https://api.github.com/repos/mozilla/marketplace-submission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/marketplace-submission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/marketplace-submission/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/marketplace-submission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/marketplace-submission/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/marketplace-submission/languages","stargazers_url":"https://api.github.com/repos/mozilla/marketplace-submission/stargazers","contributors_url":"https://api.github.com/repos/mozilla/marketplace-submission/contributors","subscribers_url":"https://api.github.com/repos/mozilla/marketplace-submission/subscribers","subscription_url":"https://api.github.com/repos/mozilla/marketplace-submission/subscription","commits_url":"https://api.github.com/repos/mozilla/marketplace-submission/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/marketplace-submission/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/marketplace-submission/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/marketplace-submission/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/marketplace-submission/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/marketplace-submission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/marketplace-submission/merges","archive_url":"https://api.github.com/repos/mozilla/marketplace-submission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/marketplace-submission/downloads","issues_url":"https://api.github.com/repos/mozilla/marketplace-submission/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/marketplace-submission/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/marketplace-submission/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/marketplace-submission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/marketplace-submission/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/marketplace-submission/releases{/id}","created_at":"2015-05-27T19:45:33Z","updated_at":"2015-06-01T18:14:46Z","pushed_at":"2015-08-24T21:50:07Z","git_url":"git://github.com/mozilla/marketplace-submission.git","ssh_url":"git@github.com:mozilla/marketplace-submission.git","clone_url":"https://github.com/mozilla/marketplace-submission.git","svn_url":"https://github.com/mozilla/marketplace-submission","homepage":null,"size":1298,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9"},"html":{"href":"https://github.com/mozilla/marketplace-submission/pull/9"},"issue":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/issues/9"},"comments":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/marketplace-submission/statuses/2fd75d03d6d261ba8c157b34e9d461299140ebf5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":554,"deletions":491,"changed_files":25}}