{"action":"created","issue":{"url":"https://api.github.com/repos/Talend/ui/issues/1436","repository_url":"https://api.github.com/repos/Talend/ui","labels_url":"https://api.github.com/repos/Talend/ui/issues/1436/labels{/name}","comments_url":"https://api.github.com/repos/Talend/ui/issues/1436/comments","events_url":"https://api.github.com/repos/Talend/ui/issues/1436/events","html_url":"https://github.com/Talend/ui/pull/1436","id":330571148,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTQ2NTk5","number":1436,"title":"feat(cmf): currying some functions where it is usefull","user":{"login":"acateland","id":19344650,"node_id":"MDQ6VXNlcjE5MzQ0NjUw","avatar_url":"https://avatars2.githubusercontent.com/u/19344650?v=4","gravatar_id":"","url":"https://api.github.com/users/acateland","html_url":"https://github.com/acateland","followers_url":"https://api.github.com/users/acateland/followers","following_url":"https://api.github.com/users/acateland/following{/other_user}","gists_url":"https://api.github.com/users/acateland/gists{/gist_id}","starred_url":"https://api.github.com/users/acateland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acateland/subscriptions","organizations_url":"https://api.github.com/users/acateland/orgs","repos_url":"https://api.github.com/users/acateland/repos","events_url":"https://api.github.com/users/acateland/events{/privacy}","received_events_url":"https://api.github.com/users/acateland/received_events","type":"User","site_admin":false},"labels":[{"id":530809343,"node_id":"MDU6TGFiZWw1MzA4MDkzNDM=","url":"https://api.github.com/repos/Talend/ui/labels/easy%20review","name":"easy review","color":"ff69b4","default":false},{"id":520978451,"node_id":"MDU6TGFiZWw1MjA5Nzg0NTE=","url":"https://api.github.com/repos/Talend/ui/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":521021722,"node_id":"MDU6TGFiZWw1MjEwMjE3MjI=","url":"https://api.github.com/repos/Talend/ui/labels/need%20review","name":"need review","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-08T08:45:51Z","updated_at":"2018-06-13T12:13:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Talend/ui/pulls/1436","html_url":"https://github.com/Talend/ui/pull/1436","diff_url":"https://github.com/Talend/ui/pull/1436.diff","patch_url":"https://github.com/Talend/ui/pull/1436.patch"},"body":"**What is the problem this PR is trying to solve?**\r\nSometime using cmf action creator you repeat a lot of same arguments for each use\r\nexample https://github.com/Talend/dataset/pull/486/files#diff-37cb6d1efbfa3cb64f81e34b89df8368R108\r\n\r\n**What is the chosen solution to this problem?**\r\ncurry the functions !\r\nActually 4 functions are curried:\r\nCollectionsActions.addOrReplace\r\nCollectionsActions.mutate \r\nComponentsActions.mergeState\r\nComponentsActions.removeState\r\n**Please check if the PR fulfills these requirements**\r\n\r\nno test added since it would be testing the lodash currying function\r\n\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* [ ] Tests for the changes have been added (for bug fixes / features) And [non reg](./screenshots.md) done before need review\r\n* [x] 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\r\n\r\n<!-- You can add more checkboxes here -->\r\n\r\n**[ ] This PR introduces a breaking change**\r\n\r\n<!-- if the PR introduces a breaking change, add the description here. So when you merge this PR, add this description into the [breaking change wiki](https://github.com/Talend/ui/wiki/BREAKING-CHANGE) in the next version -->\r\n\r\n<!-- **Original Template** -->\r\n\r\n<!-- https://github.com/Talend/tools/blob/master/tools-root-github/.github/PULL_REQUEST_TEMPLATE.md -->\r\n"},"comment":{"url":"https://api.github.com/repos/Talend/ui/issues/comments/396915970","html_url":"https://github.com/Talend/ui/pull/1436#issuecomment-396915970","issue_url":"https://api.github.com/repos/Talend/ui/issues/1436","id":396915970,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjkxNTk3MA==","user":{"login":"build-travis-ci","id":28656273,"node_id":"MDQ6VXNlcjI4NjU2Mjcz","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-06-13T12:13:42Z","updated_at":"2018-06-13T12:13:42Z","author_association":"COLLABORATOR","body":":octocat: [Demo is available here](http://1436.talend.surge.sh) "}}
{"actor":{"display_login":"build-travis-ci"}}