{"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject/pulls/comments/38752300","id":38752300,"diff_hunk":"@@ -35,6 +35,13 @@ module.exports = function(WorkPackageFieldService, EditableFieldsState) {\n       return WorkPackageFieldService.isEditable(EditableFieldsState.workPackage, this.field);\n     };\n \n+    this.isRequired = function() {\n+      return WorkPackageFieldService.isRequired(\n+        EditableFieldsState.workPackage,\n+        fieldController.field","path":"frontend/app/work_packages/directives/work-package-field-directive.js","position":7,"original_position":7,"commit_id":"50d093ee8fee60352c675ee9e8e4b351212d3370","original_commit_id":"50d093ee8fee60352c675ee9e8e4b351212d3370","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"'fieldController' is not defined.","created_at":"2015-09-04T13:42:02Z","updated_at":"2015-09-04T13:42:02Z","html_url":"https://github.com/opf/openproject/pull/3463#discussion_r38752300","pull_request_url":"https://api.github.com/repos/opf/openproject/pulls/3463","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/38752300"},"html":{"href":"https://github.com/opf/openproject/pull/3463#discussion_r38752300"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject/pulls/3463"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/3463","id":44093759,"html_url":"https://github.com/opf/openproject/pull/3463","diff_url":"https://github.com/opf/openproject/pull/3463.diff","patch_url":"https://github.com/opf/openproject/pull/3463.patch","issue_url":"https://api.github.com/repos/opf/openproject/issues/3463","number":3463,"state":"open","locked":false,"title":"[20208] new comment field for work package split/full screen view","user":{"login":"HDinger","id":7457313,"avatar_url":"https://avatars.githubusercontent.com/u/7457313?v=3","gravatar_id":"","url":"https://api.github.com/users/HDinger","html_url":"https://github.com/HDinger","followers_url":"https://api.github.com/users/HDinger/followers","following_url":"https://api.github.com/users/HDinger/following{/other_user}","gists_url":"https://api.github.com/users/HDinger/gists{/gist_id}","starred_url":"https://api.github.com/users/HDinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HDinger/subscriptions","organizations_url":"https://api.github.com/users/HDinger/orgs","repos_url":"https://api.github.com/users/HDinger/repos","events_url":"https://api.github.com/users/HDinger/events{/privacy}","received_events_url":"https://api.github.com/users/HDinger/received_events","type":"User","site_admin":false},"body":"This creates a new comment field for the work package split and full screen view.\r\nRequirements:\r\n- [ ] Design after the visual (http://clients.zzmedia.net/openproject/workpackages/fullscreen/small/)\r\n- [ ] Initially the field is small and with text in it\r\n- [ ] On click the field grows\r\n- [ ] When something is written, the text disappears and a 'save'-button appears\r\n- [ ] The 'save'-button should look like on the other input fields and actually save the comment\r\n- [ ] When the text grows, the field grows, too (jQuery-autogrow-Plugin)\r\n- [ ] The box should appear above or below the rest depending on the sort direction\r\n- [ ] The field shall be available in split and full screen\r\n \r\nhttps://community.openproject.org/work_packages/20208","created_at":"2015-09-03T11:03:37Z","updated_at":"2015-09-04T13:42:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a87e100780576af800d518fd83276cb2806101f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opf/openproject/pulls/3463/commits","review_comments_url":"https://api.github.com/repos/opf/openproject/pulls/3463/comments","review_comment_url":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opf/openproject/issues/3463/comments","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/50d093ee8fee60352c675ee9e8e4b351212d3370","head":{"label":"HDinger:epic/20208-edit-comment-one-step-details-view","ref":"epic/20208-edit-comment-one-step-details-view","sha":"50d093ee8fee60352c675ee9e8e4b351212d3370","user":{"login":"HDinger","id":7457313,"avatar_url":"https://avatars.githubusercontent.com/u/7457313?v=3","gravatar_id":"","url":"https://api.github.com/users/HDinger","html_url":"https://github.com/HDinger","followers_url":"https://api.github.com/users/HDinger/followers","following_url":"https://api.github.com/users/HDinger/following{/other_user}","gists_url":"https://api.github.com/users/HDinger/gists{/gist_id}","starred_url":"https://api.github.com/users/HDinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HDinger/subscriptions","organizations_url":"https://api.github.com/users/HDinger/orgs","repos_url":"https://api.github.com/users/HDinger/repos","events_url":"https://api.github.com/users/HDinger/events{/privacy}","received_events_url":"https://api.github.com/users/HDinger/received_events","type":"User","site_admin":false},"repo":{"id":37517273,"name":"openproject","full_name":"HDinger/openproject","owner":{"login":"HDinger","id":7457313,"avatar_url":"https://avatars.githubusercontent.com/u/7457313?v=3","gravatar_id":"","url":"https://api.github.com/users/HDinger","html_url":"https://github.com/HDinger","followers_url":"https://api.github.com/users/HDinger/followers","following_url":"https://api.github.com/users/HDinger/following{/other_user}","gists_url":"https://api.github.com/users/HDinger/gists{/gist_id}","starred_url":"https://api.github.com/users/HDinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HDinger/subscriptions","organizations_url":"https://api.github.com/users/HDinger/orgs","repos_url":"https://api.github.com/users/HDinger/repos","events_url":"https://api.github.com/users/HDinger/events{/privacy}","received_events_url":"https://api.github.com/users/HDinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HDinger/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":true,"url":"https://api.github.com/repos/HDinger/openproject","forks_url":"https://api.github.com/repos/HDinger/openproject/forks","keys_url":"https://api.github.com/repos/HDinger/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HDinger/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HDinger/openproject/teams","hooks_url":"https://api.github.com/repos/HDinger/openproject/hooks","issue_events_url":"https://api.github.com/repos/HDinger/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/HDinger/openproject/events","assignees_url":"https://api.github.com/repos/HDinger/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/HDinger/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/HDinger/openproject/tags","blobs_url":"https://api.github.com/repos/HDinger/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HDinger/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HDinger/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/HDinger/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HDinger/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/HDinger/openproject/languages","stargazers_url":"https://api.github.com/repos/HDinger/openproject/stargazers","contributors_url":"https://api.github.com/repos/HDinger/openproject/contributors","subscribers_url":"https://api.github.com/repos/HDinger/openproject/subscribers","subscription_url":"https://api.github.com/repos/HDinger/openproject/subscription","commits_url":"https://api.github.com/repos/HDinger/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/HDinger/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/HDinger/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/HDinger/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/HDinger/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/HDinger/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HDinger/openproject/merges","archive_url":"https://api.github.com/repos/HDinger/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HDinger/openproject/downloads","issues_url":"https://api.github.com/repos/HDinger/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/HDinger/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/HDinger/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/HDinger/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HDinger/openproject/labels{/name}","releases_url":"https://api.github.com/repos/HDinger/openproject/releases{/id}","created_at":"2015-06-16T08:18:06Z","updated_at":"2015-06-16T08:18:14Z","pushed_at":"2015-09-04T13:41:51Z","git_url":"git://github.com/HDinger/openproject.git","ssh_url":"git@github.com:HDinger/openproject.git","clone_url":"https://github.com/HDinger/openproject.git","svn_url":"https://github.com/HDinger/openproject","homepage":"https://www.openproject.org","size":69508,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"opf:dev","ref":"dev","sha":"f3e38290af36c822e8b1c2060f025bac0bc7c639","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2015-09-04T11:19:10Z","pushed_at":"2015-09-04T13:41:52Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":209507,"stargazers_count":721,"watchers_count":721,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":296,"mirror_url":null,"open_issues_count":22,"forks":296,"open_issues":22,"watchers":721,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/3463"},"html":{"href":"https://github.com/opf/openproject/pull/3463"},"issue":{"href":"https://api.github.com/repos/opf/openproject/issues/3463"},"comments":{"href":"https://api.github.com/repos/opf/openproject/issues/3463/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject/pulls/3463/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject/pulls/3463/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject/statuses/50d093ee8fee60352c675ee9e8e4b351212d3370"}}}}