{"action":"opened","number":656,"pull_request":{"url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656","id":78423738,"html_url":"https://github.com/autodesk-bionano/genome-designer/pull/656","diff_url":"https://github.com/autodesk-bionano/genome-designer/pull/656.diff","patch_url":"https://github.com/autodesk-bionano/genome-designer/pull/656.patch","issue_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/656","number":656,"state":"open","locked":false,"title":"Extensions Refactor","user":{"login":"maxbates","id":3815620,"avatar_url":"https://avatars.githubusercontent.com/u/3815620?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbates","html_url":"https://github.com/maxbates","followers_url":"https://api.github.com/users/maxbates/followers","following_url":"https://api.github.com/users/maxbates/following{/other_user}","gists_url":"https://api.github.com/users/maxbates/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbates/subscriptions","organizations_url":"https://api.github.com/users/maxbates/orgs","repos_url":"https://api.github.com/users/maxbates/repos","events_url":"https://api.github.com/users/maxbates/events{/privacy}","received_events_url":"https://api.github.com/users/maxbates/received_events","type":"User","site_admin":false},"body":"Big rewrite, merging extensions and plugins, and lots of documentation for writing extensions.\r\n\r\n- Extensions can have both client and server pieces. Server pieces expose a router at `/extensions/api/<extensionName>/:route`. Client pieces run on the client and can display a widget in defined regions (currently just sequenceDetail). \r\n- Documentation of extensions, plus much more documentation than was originally added by the docs branch. These documents are markdown, and are accessible from the ReadMe of the GitHub repository.\r\n- JSDocs added to the repository, and can be regenerated with `npm run jsdoc`\r\n- There are several example extensions in `/extensions/`\r\n- CSV + Genbank plugins are now separate. CSV extension rewritten in javascript entirely. Genbank plugin is separate. update middleware routes accordingly, and all middleware uses `fetch()`\r\n\r\n-----\r\n\r\nBreaking changes to extensions (see the docs):\r\n\r\n- field `geneticConstructor` required on package.json\r\n- `window.gd` => `window.constructor`\r\n- `window.gd.registerExtension` => `window.constructor.extensions.register`, now with signature `(extensionKey, render)`\r\n\r\n----\r\n\r\nNeed to happen concurrent with merge:\r\n\r\n- Update onion to new extension format\r\n- Update CSV google doc + scaffold CSV (headers should be lower case and match those in `/test/res/simplecsv.csv`, remove the need to prefix fields with `@`)\r\n\r\n----\r\n\r\nTodo:\r\n\r\n- document selectors (only actions documented)\r\n- custom JSDoc template + handle application structure\r\n- investigate search (e.g. EGF, IGEM) as another non-visual extension\r\n","created_at":"2016-07-22T04:42:57Z","updated_at":"2016-07-22T04:42:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656/commits","review_comments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656/comments","review_comment_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/656/comments","statuses_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/statuses/385a2d0a28b6f7a8975d9aa36b2e020a149c7f59","head":{"label":"autodesk-bionano:extensions","ref":"extensions","sha":"385a2d0a28b6f7a8975d9aa36b2e020a149c7f59","user":{"login":"autodesk-bionano","id":15031738,"avatar_url":"https://avatars.githubusercontent.com/u/15031738?v=3","gravatar_id":"","url":"https://api.github.com/users/autodesk-bionano","html_url":"https://github.com/autodesk-bionano","followers_url":"https://api.github.com/users/autodesk-bionano/followers","following_url":"https://api.github.com/users/autodesk-bionano/following{/other_user}","gists_url":"https://api.github.com/users/autodesk-bionano/gists{/gist_id}","starred_url":"https://api.github.com/users/autodesk-bionano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autodesk-bionano/subscriptions","organizations_url":"https://api.github.com/users/autodesk-bionano/orgs","repos_url":"https://api.github.com/users/autodesk-bionano/repos","events_url":"https://api.github.com/users/autodesk-bionano/events{/privacy}","received_events_url":"https://api.github.com/users/autodesk-bionano/received_events","type":"Organization","site_admin":false},"repo":{"id":43890900,"name":"genome-designer","full_name":"autodesk-bionano/genome-designer","owner":{"login":"autodesk-bionano","id":15031738,"avatar_url":"https://avatars.githubusercontent.com/u/15031738?v=3","gravatar_id":"","url":"https://api.github.com/users/autodesk-bionano","html_url":"https://github.com/autodesk-bionano","followers_url":"https://api.github.com/users/autodesk-bionano/followers","following_url":"https://api.github.com/users/autodesk-bionano/following{/other_user}","gists_url":"https://api.github.com/users/autodesk-bionano/gists{/gist_id}","starred_url":"https://api.github.com/users/autodesk-bionano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autodesk-bionano/subscriptions","organizations_url":"https://api.github.com/users/autodesk-bionano/orgs","repos_url":"https://api.github.com/users/autodesk-bionano/repos","events_url":"https://api.github.com/users/autodesk-bionano/events{/privacy}","received_events_url":"https://api.github.com/users/autodesk-bionano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autodesk-bionano/genome-designer","description":"Genome Designer","fork":false,"url":"https://api.github.com/repos/autodesk-bionano/genome-designer","forks_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/forks","keys_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/teams","hooks_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/hooks","issue_events_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/events{/number}","events_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/events","assignees_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/assignees{/user}","branches_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/branches{/branch}","tags_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/tags","blobs_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/statuses/{sha}","languages_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/languages","stargazers_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/stargazers","contributors_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/contributors","subscribers_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/subscribers","subscription_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/subscription","commits_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/contents/{+path}","compare_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/merges","archive_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/downloads","issues_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues{/number}","pulls_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls{/number}","milestones_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/milestones{/number}","notifications_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/labels{/name}","releases_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/releases{/id}","deployments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/deployments","created_at":"2015-10-08T13:39:22Z","updated_at":"2016-07-05T22:27:51Z","pushed_at":"2016-07-22T04:32:56Z","git_url":"git://github.com/autodesk-bionano/genome-designer.git","ssh_url":"git@github.com:autodesk-bionano/genome-designer.git","clone_url":"https://github.com/autodesk-bionano/genome-designer.git","svn_url":"https://github.com/autodesk-bionano/genome-designer","homepage":"","size":30164,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":6,"default_branch":"master"}},"base":{"label":"autodesk-bionano:master","ref":"master","sha":"f60fec4ab06b0ccf13f3fac92ddc0ff84735fc05","user":{"login":"autodesk-bionano","id":15031738,"avatar_url":"https://avatars.githubusercontent.com/u/15031738?v=3","gravatar_id":"","url":"https://api.github.com/users/autodesk-bionano","html_url":"https://github.com/autodesk-bionano","followers_url":"https://api.github.com/users/autodesk-bionano/followers","following_url":"https://api.github.com/users/autodesk-bionano/following{/other_user}","gists_url":"https://api.github.com/users/autodesk-bionano/gists{/gist_id}","starred_url":"https://api.github.com/users/autodesk-bionano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autodesk-bionano/subscriptions","organizations_url":"https://api.github.com/users/autodesk-bionano/orgs","repos_url":"https://api.github.com/users/autodesk-bionano/repos","events_url":"https://api.github.com/users/autodesk-bionano/events{/privacy}","received_events_url":"https://api.github.com/users/autodesk-bionano/received_events","type":"Organization","site_admin":false},"repo":{"id":43890900,"name":"genome-designer","full_name":"autodesk-bionano/genome-designer","owner":{"login":"autodesk-bionano","id":15031738,"avatar_url":"https://avatars.githubusercontent.com/u/15031738?v=3","gravatar_id":"","url":"https://api.github.com/users/autodesk-bionano","html_url":"https://github.com/autodesk-bionano","followers_url":"https://api.github.com/users/autodesk-bionano/followers","following_url":"https://api.github.com/users/autodesk-bionano/following{/other_user}","gists_url":"https://api.github.com/users/autodesk-bionano/gists{/gist_id}","starred_url":"https://api.github.com/users/autodesk-bionano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autodesk-bionano/subscriptions","organizations_url":"https://api.github.com/users/autodesk-bionano/orgs","repos_url":"https://api.github.com/users/autodesk-bionano/repos","events_url":"https://api.github.com/users/autodesk-bionano/events{/privacy}","received_events_url":"https://api.github.com/users/autodesk-bionano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/autodesk-bionano/genome-designer","description":"Genome Designer","fork":false,"url":"https://api.github.com/repos/autodesk-bionano/genome-designer","forks_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/forks","keys_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/teams","hooks_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/hooks","issue_events_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/events{/number}","events_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/events","assignees_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/assignees{/user}","branches_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/branches{/branch}","tags_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/tags","blobs_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/refs{/sha}","trees_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/statuses/{sha}","languages_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/languages","stargazers_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/stargazers","contributors_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/contributors","subscribers_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/subscribers","subscription_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/subscription","commits_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/commits{/sha}","git_commits_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/git/commits{/sha}","comments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/comments{/number}","issue_comment_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/comments{/number}","contents_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/contents/{+path}","compare_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/merges","archive_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/downloads","issues_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues{/number}","pulls_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls{/number}","milestones_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/milestones{/number}","notifications_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/labels{/name}","releases_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/releases{/id}","deployments_url":"https://api.github.com/repos/autodesk-bionano/genome-designer/deployments","created_at":"2015-10-08T13:39:22Z","updated_at":"2016-07-05T22:27:51Z","pushed_at":"2016-07-22T04:32:56Z","git_url":"git://github.com/autodesk-bionano/genome-designer.git","ssh_url":"git@github.com:autodesk-bionano/genome-designer.git","clone_url":"https://github.com/autodesk-bionano/genome-designer.git","svn_url":"https://github.com/autodesk-bionano/genome-designer","homepage":"","size":30164,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656"},"html":{"href":"https://github.com/autodesk-bionano/genome-designer/pull/656"},"issue":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/656"},"comments":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/issues/656/comments"},"review_comments":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656/comments"},"review_comment":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/pulls/656/commits"},"statuses":{"href":"https://api.github.com/repos/autodesk-bionano/genome-designer/statuses/385a2d0a28b6f7a8975d9aa36b2e020a149c7f59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":46,"additions":37796,"deletions":563,"changed_files":209}}
{"actor":{"display_login":"maxbates"}}