{"action":"created","issue":{"url":"https://api.github.com/repos/Talend/ui/issues/1214","repository_url":"https://api.github.com/repos/Talend/ui","labels_url":"https://api.github.com/repos/Talend/ui/issues/1214/labels{/name}","comments_url":"https://api.github.com/repos/Talend/ui/issues/1214/comments","events_url":"https://api.github.com/repos/Talend/ui/issues/1214/events","html_url":"https://github.com/Talend/ui/pull/1214","id":309368972,"number":1214,"title":"feat(cmf): add renderIf feature","user":{"login":"VolodymyrKovalM","id":20522845,"avatar_url":"https://avatars1.githubusercontent.com/u/20522845?v=4","gravatar_id":"","url":"https://api.github.com/users/VolodymyrKovalM","html_url":"https://github.com/VolodymyrKovalM","followers_url":"https://api.github.com/users/VolodymyrKovalM/followers","following_url":"https://api.github.com/users/VolodymyrKovalM/following{/other_user}","gists_url":"https://api.github.com/users/VolodymyrKovalM/gists{/gist_id}","starred_url":"https://api.github.com/users/VolodymyrKovalM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VolodymyrKovalM/subscriptions","organizations_url":"https://api.github.com/users/VolodymyrKovalM/orgs","repos_url":"https://api.github.com/users/VolodymyrKovalM/repos","events_url":"https://api.github.com/users/VolodymyrKovalM/events{/privacy}","received_events_url":"https://api.github.com/users/VolodymyrKovalM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-28T13:33:32Z","updated_at":"2018-03-29T11:54:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Talend/ui/pulls/1214","html_url":"https://github.com/Talend/ui/pull/1214","diff_url":"https://github.com/Talend/ui/pull/1214.diff","patch_url":"https://github.com/Talend/ui/pull/1214.patch"},"body":"**What is the problem this PR is trying to solve?**\r\nCurrently we can hide the Action button if it is not available,\r\nbut we can not hide particular item from dropdown if it is not available\r\n(We have this case on engines tab in TMC, where adding elastic engine is not always available)\r\n\r\n**What is the chosen solution to this problem?**\r\nAdd checking availability to cmfConnected\r\n\r\n**Please check if the PR fulfills these requirements**\r\n\r\n* [x] The PR commit message follows our [guidelines](https://github.com/talend/tools/blob/master/tools-root-github/CONTRIBUTING.md)\r\n* [x] Tests for the changes have been added (for bug fixes / features) And [non reg](./screenshots.md) done before need review\r\n* [ ] Docs have been added / updated (for bug fixes / features)\r\n* [ ] Related design / discussions / pages (not in jira), if any, are all linked or available in the PR"},"comment":{"url":"https://api.github.com/repos/Talend/ui/issues/comments/377211536","html_url":"https://github.com/Talend/ui/pull/1214#issuecomment-377211536","issue_url":"https://api.github.com/repos/Talend/ui/issues/1214","id":377211536,"user":{"login":"build-travis-ci","id":28656273,"avatar_url":"https://avatars0.githubusercontent.com/u/28656273?v=4","gravatar_id":"","url":"https://api.github.com/users/build-travis-ci","html_url":"https://github.com/build-travis-ci","followers_url":"https://api.github.com/users/build-travis-ci/followers","following_url":"https://api.github.com/users/build-travis-ci/following{/other_user}","gists_url":"https://api.github.com/users/build-travis-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/build-travis-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/build-travis-ci/subscriptions","organizations_url":"https://api.github.com/users/build-travis-ci/orgs","repos_url":"https://api.github.com/users/build-travis-ci/repos","events_url":"https://api.github.com/users/build-travis-ci/events{/privacy}","received_events_url":"https://api.github.com/users/build-travis-ci/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T11:54:11Z","updated_at":"2018-03-29T11:54:11Z","author_association":"COLLABORATOR","body":":octocat: [Demo is available here](http://1214.talend.surge.sh) "}}
{"actor":{"display_login":"build-travis-ci"}}