{"action":"created","comment":{"url":"https://api.github.com/repos/rabix/cottontail/pulls/comments/74932875","id":74932875,"diff_hunk":"@@ -0,0 +1,69 @@\n+import {Component, Input, Output, EventEmitter} from \"@angular/core\";\n+import {FormControl, REACTIVE_FORM_DIRECTIVES, FORM_DIRECTIVES} from \"@angular/forms\";\n+import {CltEditorService} from \"../../../clt-editor/shared/clt-editor.service\";\n+import {SidebarEvent, SidebarEventType} from \"../../../sidebar/shared/sidebar.events\";\n+import {SidebarType} from \"../../../sidebar/shared/sidebar.type\";\n+import {BehaviorSubject} from \"rxjs\";\n+\n+require(\"./expression-input.component.scss\");\n+\n+@Component({\n+    selector: 'expression-input',\n+    directives: [\n+        REACTIVE_FORM_DIRECTIVES,\n+        FORM_DIRECTIVES\n+    ],\n+    template: `\n+            <div class=\"input-group expression-input-group\">\n+                <input #expressionInput \n+                    (keyup)=\"onInputChange(expressionInput.value)\"\n+                    name=\"expression\"\n+                    type=\"text\" \n+                    class=\"form-control\"\n+                    [formControl]=\"inputControl\"\n+                    [(ngModel)]=\"expression\">\n+                    \n+                <span class=\"input-group-addon add-expression\">\n+                    <button type=\"button\" \n+                        class=\"btn btn-secondary expression-form-btn\" \n+                        (click)=\"openExpressionSidebar()\">Add expression</button>\n+                </span>\n+            </div>\n+        `\n+})\n+export class ExpressionInputComponent {\n+    @Input()\n+    private expression: string;\n+\n+    @Output()\n+    private expressionChange: EventEmitter<string> = new EventEmitter<string>();\n+\n+    /** The form control passed from the parent */\n+    @Input()\n+    private inputControl: FormControl;\n+\n+    constructor(private guiEditorService: CltEditorService) { }\n+\n+    onInputChange(expression: string) {","path":"client/src/app/components/forms/inputs/types/expression-input.component.ts","position":47,"original_position":47,"commit_id":"b36954501217df854a6d56de0289c43ca51a7893","original_commit_id":"b36954501217df854a6d56de0289c43ca51a7893","user":{"login":"ivanbatic","id":2086015,"avatar_url":"https://avatars.githubusercontent.com/u/2086015?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanbatic","html_url":"https://github.com/ivanbatic","followers_url":"https://api.github.com/users/ivanbatic/followers","following_url":"https://api.github.com/users/ivanbatic/following{/other_user}","gists_url":"https://api.github.com/users/ivanbatic/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbatic/subscriptions","organizations_url":"https://api.github.com/users/ivanbatic/orgs","repos_url":"https://api.github.com/users/ivanbatic/repos","events_url":"https://api.github.com/users/ivanbatic/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbatic/received_events","type":"User","site_admin":false},"body":"This doesn't look like it should be a public method?","created_at":"2016-08-16T13:24:08Z","updated_at":"2016-08-16T13:24:08Z","html_url":"https://github.com/rabix/cottontail/pull/74#discussion_r74932875","pull_request_url":"https://api.github.com/repos/rabix/cottontail/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/comments/74932875"},"html":{"href":"https://github.com/rabix/cottontail/pull/74#discussion_r74932875"},"pull_request":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/rabix/cottontail/pulls/74","id":81295082,"html_url":"https://github.com/rabix/cottontail/pull/74","diff_url":"https://github.com/rabix/cottontail/pull/74.diff","patch_url":"https://github.com/rabix/cottontail/pull/74.patch","issue_url":"https://api.github.com/repos/rabix/cottontail/issues/74","number":74,"state":"open","locked":false,"title":"Object inspector","user":{"login":"matesk8","id":5684191,"avatar_url":"https://avatars.githubusercontent.com/u/5684191?v=3","gravatar_id":"","url":"https://api.github.com/users/matesk8","html_url":"https://github.com/matesk8","followers_url":"https://api.github.com/users/matesk8/followers","following_url":"https://api.github.com/users/matesk8/following{/other_user}","gists_url":"https://api.github.com/users/matesk8/gists{/gist_id}","starred_url":"https://api.github.com/users/matesk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matesk8/subscriptions","organizations_url":"https://api.github.com/users/matesk8/orgs","repos_url":"https://api.github.com/users/matesk8/repos","events_url":"https://api.github.com/users/matesk8/events{/privacy}","received_events_url":"https://api.github.com/users/matesk8/received_events","type":"User","site_admin":false},"body":"- renamed gui-editor to clt-editor.\r\n- moved the sidebar component outside the clt-editor directory\r\n- added input-ports component\r\n- renamed base-command-input to expression-input\r\n- added object inspector with some basic functionality\r\n- SidebarEvent re-factor","created_at":"2016-08-15T10:30:03Z","updated_at":"2016-08-16T13:24:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"850a49602ea000eff41e2685d8f519b99075862d","assignee":{"login":"ivanbatic","id":2086015,"avatar_url":"https://avatars.githubusercontent.com/u/2086015?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanbatic","html_url":"https://github.com/ivanbatic","followers_url":"https://api.github.com/users/ivanbatic/followers","following_url":"https://api.github.com/users/ivanbatic/following{/other_user}","gists_url":"https://api.github.com/users/ivanbatic/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbatic/subscriptions","organizations_url":"https://api.github.com/users/ivanbatic/orgs","repos_url":"https://api.github.com/users/ivanbatic/repos","events_url":"https://api.github.com/users/ivanbatic/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbatic/received_events","type":"User","site_admin":false},"assignees":[{"login":"ivanbatic","id":2086015,"avatar_url":"https://avatars.githubusercontent.com/u/2086015?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanbatic","html_url":"https://github.com/ivanbatic","followers_url":"https://api.github.com/users/ivanbatic/followers","following_url":"https://api.github.com/users/ivanbatic/following{/other_user}","gists_url":"https://api.github.com/users/ivanbatic/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbatic/subscriptions","organizations_url":"https://api.github.com/users/ivanbatic/orgs","repos_url":"https://api.github.com/users/ivanbatic/repos","events_url":"https://api.github.com/users/ivanbatic/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbatic/received_events","type":"User","site_admin":false},{"login":"mayacoda","id":6614995,"avatar_url":"https://avatars.githubusercontent.com/u/6614995?v=3","gravatar_id":"","url":"https://api.github.com/users/mayacoda","html_url":"https://github.com/mayacoda","followers_url":"https://api.github.com/users/mayacoda/followers","following_url":"https://api.github.com/users/mayacoda/following{/other_user}","gists_url":"https://api.github.com/users/mayacoda/gists{/gist_id}","starred_url":"https://api.github.com/users/mayacoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayacoda/subscriptions","organizations_url":"https://api.github.com/users/mayacoda/orgs","repos_url":"https://api.github.com/users/mayacoda/repos","events_url":"https://api.github.com/users/mayacoda/events{/privacy}","received_events_url":"https://api.github.com/users/mayacoda/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rabix/cottontail/pulls/74/commits","review_comments_url":"https://api.github.com/repos/rabix/cottontail/pulls/74/comments","review_comment_url":"https://api.github.com/repos/rabix/cottontail/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rabix/cottontail/issues/74/comments","statuses_url":"https://api.github.com/repos/rabix/cottontail/statuses/b36954501217df854a6d56de0289c43ca51a7893","head":{"label":"matesk8:object_inspector","ref":"object_inspector","sha":"b36954501217df854a6d56de0289c43ca51a7893","user":{"login":"matesk8","id":5684191,"avatar_url":"https://avatars.githubusercontent.com/u/5684191?v=3","gravatar_id":"","url":"https://api.github.com/users/matesk8","html_url":"https://github.com/matesk8","followers_url":"https://api.github.com/users/matesk8/followers","following_url":"https://api.github.com/users/matesk8/following{/other_user}","gists_url":"https://api.github.com/users/matesk8/gists{/gist_id}","starred_url":"https://api.github.com/users/matesk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matesk8/subscriptions","organizations_url":"https://api.github.com/users/matesk8/orgs","repos_url":"https://api.github.com/users/matesk8/repos","events_url":"https://api.github.com/users/matesk8/events{/privacy}","received_events_url":"https://api.github.com/users/matesk8/received_events","type":"User","site_admin":false},"repo":{"id":52285789,"name":"cottontail","full_name":"matesk8/cottontail","owner":{"login":"matesk8","id":5684191,"avatar_url":"https://avatars.githubusercontent.com/u/5684191?v=3","gravatar_id":"","url":"https://api.github.com/users/matesk8","html_url":"https://github.com/matesk8","followers_url":"https://api.github.com/users/matesk8/followers","following_url":"https://api.github.com/users/matesk8/following{/other_user}","gists_url":"https://api.github.com/users/matesk8/gists{/gist_id}","starred_url":"https://api.github.com/users/matesk8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matesk8/subscriptions","organizations_url":"https://api.github.com/users/matesk8/orgs","repos_url":"https://api.github.com/users/matesk8/repos","events_url":"https://api.github.com/users/matesk8/events{/privacy}","received_events_url":"https://api.github.com/users/matesk8/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matesk8/cottontail","description":"","fork":true,"url":"https://api.github.com/repos/matesk8/cottontail","forks_url":"https://api.github.com/repos/matesk8/cottontail/forks","keys_url":"https://api.github.com/repos/matesk8/cottontail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matesk8/cottontail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matesk8/cottontail/teams","hooks_url":"https://api.github.com/repos/matesk8/cottontail/hooks","issue_events_url":"https://api.github.com/repos/matesk8/cottontail/issues/events{/number}","events_url":"https://api.github.com/repos/matesk8/cottontail/events","assignees_url":"https://api.github.com/repos/matesk8/cottontail/assignees{/user}","branches_url":"https://api.github.com/repos/matesk8/cottontail/branches{/branch}","tags_url":"https://api.github.com/repos/matesk8/cottontail/tags","blobs_url":"https://api.github.com/repos/matesk8/cottontail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matesk8/cottontail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matesk8/cottontail/git/refs{/sha}","trees_url":"https://api.github.com/repos/matesk8/cottontail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matesk8/cottontail/statuses/{sha}","languages_url":"https://api.github.com/repos/matesk8/cottontail/languages","stargazers_url":"https://api.github.com/repos/matesk8/cottontail/stargazers","contributors_url":"https://api.github.com/repos/matesk8/cottontail/contributors","subscribers_url":"https://api.github.com/repos/matesk8/cottontail/subscribers","subscription_url":"https://api.github.com/repos/matesk8/cottontail/subscription","commits_url":"https://api.github.com/repos/matesk8/cottontail/commits{/sha}","git_commits_url":"https://api.github.com/repos/matesk8/cottontail/git/commits{/sha}","comments_url":"https://api.github.com/repos/matesk8/cottontail/comments{/number}","issue_comment_url":"https://api.github.com/repos/matesk8/cottontail/issues/comments{/number}","contents_url":"https://api.github.com/repos/matesk8/cottontail/contents/{+path}","compare_url":"https://api.github.com/repos/matesk8/cottontail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matesk8/cottontail/merges","archive_url":"https://api.github.com/repos/matesk8/cottontail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matesk8/cottontail/downloads","issues_url":"https://api.github.com/repos/matesk8/cottontail/issues{/number}","pulls_url":"https://api.github.com/repos/matesk8/cottontail/pulls{/number}","milestones_url":"https://api.github.com/repos/matesk8/cottontail/milestones{/number}","notifications_url":"https://api.github.com/repos/matesk8/cottontail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matesk8/cottontail/labels{/name}","releases_url":"https://api.github.com/repos/matesk8/cottontail/releases{/id}","deployments_url":"https://api.github.com/repos/matesk8/cottontail/deployments","created_at":"2016-02-22T16:06:08Z","updated_at":"2016-02-22T16:06:09Z","pushed_at":"2016-08-15T16:20:47Z","git_url":"git://github.com/matesk8/cottontail.git","ssh_url":"git@github.com:matesk8/cottontail.git","clone_url":"https://github.com/matesk8/cottontail.git","svn_url":"https://github.com/matesk8/cottontail","homepage":null,"size":1839,"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":"rabix:next","ref":"next","sha":"fca124367be81e011bf42daf2fa4d6c367d6a08a","user":{"login":"rabix","id":7840207,"avatar_url":"https://avatars.githubusercontent.com/u/7840207?v=3","gravatar_id":"","url":"https://api.github.com/users/rabix","html_url":"https://github.com/rabix","followers_url":"https://api.github.com/users/rabix/followers","following_url":"https://api.github.com/users/rabix/following{/other_user}","gists_url":"https://api.github.com/users/rabix/gists{/gist_id}","starred_url":"https://api.github.com/users/rabix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabix/subscriptions","organizations_url":"https://api.github.com/users/rabix/orgs","repos_url":"https://api.github.com/users/rabix/repos","events_url":"https://api.github.com/users/rabix/events{/privacy}","received_events_url":"https://api.github.com/users/rabix/received_events","type":"Organization","site_admin":false},"repo":{"id":39454660,"name":"cottontail","full_name":"rabix/cottontail","owner":{"login":"rabix","id":7840207,"avatar_url":"https://avatars.githubusercontent.com/u/7840207?v=3","gravatar_id":"","url":"https://api.github.com/users/rabix","html_url":"https://github.com/rabix","followers_url":"https://api.github.com/users/rabix/followers","following_url":"https://api.github.com/users/rabix/following{/other_user}","gists_url":"https://api.github.com/users/rabix/gists{/gist_id}","starred_url":"https://api.github.com/users/rabix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabix/subscriptions","organizations_url":"https://api.github.com/users/rabix/orgs","repos_url":"https://api.github.com/users/rabix/repos","events_url":"https://api.github.com/users/rabix/events{/privacy}","received_events_url":"https://api.github.com/users/rabix/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rabix/cottontail","description":"","fork":false,"url":"https://api.github.com/repos/rabix/cottontail","forks_url":"https://api.github.com/repos/rabix/cottontail/forks","keys_url":"https://api.github.com/repos/rabix/cottontail/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rabix/cottontail/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rabix/cottontail/teams","hooks_url":"https://api.github.com/repos/rabix/cottontail/hooks","issue_events_url":"https://api.github.com/repos/rabix/cottontail/issues/events{/number}","events_url":"https://api.github.com/repos/rabix/cottontail/events","assignees_url":"https://api.github.com/repos/rabix/cottontail/assignees{/user}","branches_url":"https://api.github.com/repos/rabix/cottontail/branches{/branch}","tags_url":"https://api.github.com/repos/rabix/cottontail/tags","blobs_url":"https://api.github.com/repos/rabix/cottontail/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rabix/cottontail/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rabix/cottontail/git/refs{/sha}","trees_url":"https://api.github.com/repos/rabix/cottontail/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rabix/cottontail/statuses/{sha}","languages_url":"https://api.github.com/repos/rabix/cottontail/languages","stargazers_url":"https://api.github.com/repos/rabix/cottontail/stargazers","contributors_url":"https://api.github.com/repos/rabix/cottontail/contributors","subscribers_url":"https://api.github.com/repos/rabix/cottontail/subscribers","subscription_url":"https://api.github.com/repos/rabix/cottontail/subscription","commits_url":"https://api.github.com/repos/rabix/cottontail/commits{/sha}","git_commits_url":"https://api.github.com/repos/rabix/cottontail/git/commits{/sha}","comments_url":"https://api.github.com/repos/rabix/cottontail/comments{/number}","issue_comment_url":"https://api.github.com/repos/rabix/cottontail/issues/comments{/number}","contents_url":"https://api.github.com/repos/rabix/cottontail/contents/{+path}","compare_url":"https://api.github.com/repos/rabix/cottontail/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rabix/cottontail/merges","archive_url":"https://api.github.com/repos/rabix/cottontail/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rabix/cottontail/downloads","issues_url":"https://api.github.com/repos/rabix/cottontail/issues{/number}","pulls_url":"https://api.github.com/repos/rabix/cottontail/pulls{/number}","milestones_url":"https://api.github.com/repos/rabix/cottontail/milestones{/number}","notifications_url":"https://api.github.com/repos/rabix/cottontail/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rabix/cottontail/labels{/name}","releases_url":"https://api.github.com/repos/rabix/cottontail/releases{/id}","deployments_url":"https://api.github.com/repos/rabix/cottontail/deployments","created_at":"2015-07-21T15:45:22Z","updated_at":"2016-08-02T07:04:48Z","pushed_at":"2016-08-15T10:30:03Z","git_url":"git://github.com/rabix/cottontail.git","ssh_url":"git@github.com:rabix/cottontail.git","clone_url":"https://github.com/rabix/cottontail.git","svn_url":"https://github.com/rabix/cottontail","homepage":null,"size":1847,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":22,"forks":5,"open_issues":22,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/74"},"html":{"href":"https://github.com/rabix/cottontail/pull/74"},"issue":{"href":"https://api.github.com/repos/rabix/cottontail/issues/74"},"comments":{"href":"https://api.github.com/repos/rabix/cottontail/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rabix/cottontail/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/rabix/cottontail/statuses/b36954501217df854a6d56de0289c43ca51a7893"}}}}
{"actor":{"display_login":"ivanbatic"}}