{"action":"created","issue":{"url":"https://api.github.com/repos/dotCMS/core/issues/12667","repository_url":"https://api.github.com/repos/dotCMS/core","labels_url":"https://api.github.com/repos/dotCMS/core/issues/12667/labels{/name}","comments_url":"https://api.github.com/repos/dotCMS/core/issues/12667/comments","events_url":"https://api.github.com/repos/dotCMS/core/issues/12667/events","html_url":"https://github.com/dotCMS/core/issues/12667","id":260629673,"node_id":"MDU6SXNzdWUyNjA2Mjk2NzM=","number":12667,"title":"Add fields variables tab to the create/edit fields","user":{"login":"freddyucv","id":10408015,"node_id":"MDQ6VXNlcjEwNDA4MDE1","avatar_url":"https://avatars1.githubusercontent.com/u/10408015?v=4","gravatar_id":"","url":"https://api.github.com/users/freddyucv","html_url":"https://github.com/freddyucv","followers_url":"https://api.github.com/users/freddyucv/followers","following_url":"https://api.github.com/users/freddyucv/following{/other_user}","gists_url":"https://api.github.com/users/freddyucv/gists{/gist_id}","starred_url":"https://api.github.com/users/freddyucv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freddyucv/subscriptions","organizations_url":"https://api.github.com/users/freddyucv/orgs","repos_url":"https://api.github.com/users/freddyucv/repos","events_url":"https://api.github.com/users/freddyucv/events{/privacy}","received_events_url":"https://api.github.com/users/freddyucv/received_events","type":"User","site_admin":false},"labels":[{"id":981951419,"node_id":"MDU6TGFiZWw5ODE5NTE0MTk=","url":"https://api.github.com/repos/dotCMS/core/labels/Release%20:%205.0.1","name":"Release : 5.0.1","color":"fbca04","default":false},{"id":1398031,"node_id":"MDU6TGFiZWwxMzk4MDMx","url":"https://api.github.com/repos/dotCMS/core/labels/Type%20:%20Enhancement","name":"Type : Enhancement","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"freddyucv","id":10408015,"node_id":"MDQ6VXNlcjEwNDA4MDE1","avatar_url":"https://avatars1.githubusercontent.com/u/10408015?v=4","gravatar_id":"","url":"https://api.github.com/users/freddyucv","html_url":"https://github.com/freddyucv","followers_url":"https://api.github.com/users/freddyucv/followers","following_url":"https://api.github.com/users/freddyucv/following{/other_user}","gists_url":"https://api.github.com/users/freddyucv/gists{/gist_id}","starred_url":"https://api.github.com/users/freddyucv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freddyucv/subscriptions","organizations_url":"https://api.github.com/users/freddyucv/orgs","repos_url":"https://api.github.com/users/freddyucv/repos","events_url":"https://api.github.com/users/freddyucv/events{/privacy}","received_events_url":"https://api.github.com/users/freddyucv/received_events","type":"User","site_admin":false},"assignees":[{"login":"freddyucv","id":10408015,"node_id":"MDQ6VXNlcjEwNDA4MDE1","avatar_url":"https://avatars1.githubusercontent.com/u/10408015?v=4","gravatar_id":"","url":"https://api.github.com/users/freddyucv","html_url":"https://github.com/freddyucv","followers_url":"https://api.github.com/users/freddyucv/followers","following_url":"https://api.github.com/users/freddyucv/following{/other_user}","gists_url":"https://api.github.com/users/freddyucv/gists{/gist_id}","starred_url":"https://api.github.com/users/freddyucv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freddyucv/subscriptions","organizations_url":"https://api.github.com/users/freddyucv/orgs","repos_url":"https://api.github.com/users/freddyucv/repos","events_url":"https://api.github.com/users/freddyucv/events{/privacy}","received_events_url":"https://api.github.com/users/freddyucv/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/dotCMS/core/milestones/135","html_url":"https://github.com/dotCMS/core/milestone/135","labels_url":"https://api.github.com/repos/dotCMS/core/milestones/135/labels","id":3539569,"node_id":"MDk6TWlsZXN0b25lMzUzOTU2OQ==","number":135,"title":"Fox Current","description":"","creator":{"login":"fmontes","id":751424,"node_id":"MDQ6VXNlcjc1MTQyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/751424?v=4","gravatar_id":"","url":"https://api.github.com/users/fmontes","html_url":"https://github.com/fmontes","followers_url":"https://api.github.com/users/fmontes/followers","following_url":"https://api.github.com/users/fmontes/following{/other_user}","gists_url":"https://api.github.com/users/fmontes/gists{/gist_id}","starred_url":"https://api.github.com/users/fmontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmontes/subscriptions","organizations_url":"https://api.github.com/users/fmontes/orgs","repos_url":"https://api.github.com/users/fmontes/repos","events_url":"https://api.github.com/users/fmontes/events{/privacy}","received_events_url":"https://api.github.com/users/fmontes/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":0,"state":"open","created_at":"2018-08-01T15:26:36Z","updated_at":"2018-08-01T15:27:13Z","due_on":"2018-09-10T07:00:00Z","closed_at":null},"comments":1,"created_at":"2017-09-26T13:46:48Z","updated_at":"2018-08-01T15:27:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a stakeholder I need that user can add fields variables to fields in the new content types\r\n\r\n### Interface example: \r\n```\r\n{  \r\n   name:“1507132008926”,\r\n   lastModifierFullName:“system user system user”,\r\n   lastModifierId:“system”,\r\n   lastModDate:new Date(1507132009000),\r\n   id:“4d40d61a-0395-4861-bdfb-e89b3f1afa0b”,\r\n   value:“44”,\r\n   key:“tet”,\r\n   fieldId:“86fabb34-01be-486c-95e6-741df13bacc4”\r\n}\r\n```\r\n\r\n![dialog1](https://user-images.githubusercontent.com/751424/31296831-ffc3fcc4-aaa0-11e7-8904-513f4f06d9aa.png)\r\n\r\n1. Add the [tabview](https://www.primefaces.org/primeng/#/tabview) to the dialog.\r\n2. By default the \"Variables\" tabs will be disabled until the user fills the form and it's valid\r\n\r\n![dialog2](https://user-images.githubusercontent.com/751424/31296839-03ad6492-aaa1-11e7-901a-3cbb8fa79353.png)\r\n\r\n3. For the variables, we'll add a [editable datatable](https://www.primefaces.org/primeng/#/datatable/editable)\r\n4. The first row of the datatable will be to create new entries, when user fill the fields and hit enter we'll create a new row\r\n5. In an existing row when user click one of the key or value we open the inline editing mode and the field focus and user will hit enter to save or esc to cancel.\r\n6. When the table grows bigger that the dialog we start scrolling, cancel stick remain at the bottom\r\n\r\n### NOTE\r\nSee that we replace the \"Data Type\" radio buttons with a checkbox.\r\n\r\n### Acceptance Criteria\r\n\r\n1. Match the design\r\n2. Work in all the supported browsers (don't forget IE11 and iPad)\r\n3. Multilanguage\r\n4. Unit test\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotCMS/core/issues/comments/409615406","html_url":"https://github.com/dotCMS/core/issues/12667#issuecomment-409615406","issue_url":"https://api.github.com/repos/dotCMS/core/issues/12667","id":409615406,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTYxNTQwNg==","user":{"login":"freddyucv","id":10408015,"node_id":"MDQ6VXNlcjEwNDA4MDE1","avatar_url":"https://avatars1.githubusercontent.com/u/10408015?v=4","gravatar_id":"","url":"https://api.github.com/users/freddyucv","html_url":"https://github.com/freddyucv","followers_url":"https://api.github.com/users/freddyucv/followers","following_url":"https://api.github.com/users/freddyucv/following{/other_user}","gists_url":"https://api.github.com/users/freddyucv/gists{/gist_id}","starred_url":"https://api.github.com/users/freddyucv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freddyucv/subscriptions","organizations_url":"https://api.github.com/users/freddyucv/orgs","repos_url":"https://api.github.com/users/freddyucv/repos","events_url":"https://api.github.com/users/freddyucv/events{/privacy}","received_events_url":"https://api.github.com/users/freddyucv/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T15:27:25Z","updated_at":"2018-08-01T15:27:25Z","author_association":"CONTRIBUTOR","body":"end points:\r\nGET: /v1/contenttype/{typeId}/fields/id/{fieldId}/variables\r\n\r\nPOST: /v1/contenttype/{typeId}/fields/id/{fieldId}/variables\r\n   data example:                                                                                                                                                                                                                                                                                                                                                                                                                                                 \r\n {\r\n\t\"key\": \"k1\",\r\n\t\"value\":\"v1\",\r\n\t\"clazz\": \"com.dotcms.contenttype.model.field.FieldVariable\",\r\n\t\"fieldId\": \"0c2c306e-de92-4b3b-b1a5-46d5f7007b24\"\r\n}\r\n"}}
{"actor":{"display_login":"freddyucv"}}