{"action":"created","issue":{"url":"https://api.github.com/repos/Talend/ui/issues/1413","repository_url":"https://api.github.com/repos/Talend/ui","labels_url":"https://api.github.com/repos/Talend/ui/issues/1413/labels{/name}","comments_url":"https://api.github.com/repos/Talend/ui/issues/1413/comments","events_url":"https://api.github.com/repos/Talend/ui/issues/1413/events","html_url":"https://github.com/Talend/ui/pull/1413","id":328520927,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMDM1NTMx","number":1413,"title":"chores(doc): add a new filter","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":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-01T13:31:38Z","updated_at":"2018-06-04T13:07:11Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/Talend/ui/pulls/1413","html_url":"https://github.com/Talend/ui/pull/1413","diff_url":"https://github.com/Talend/ui/pull/1413.diff","patch_url":"https://github.com/Talend/ui/pull/1413.patch"},"body":"**What is the problem this PR is trying to solve?**\r\nwe need a filter that map to a #555 color, whithout making ligh color becoming too light, and keep lighter colors actual\r\n\r\n![image](https://user-images.githubusercontent.com/19344650/40843406-264ca866-65b1-11e8-9f31-3331e0e5152b.png)\r\nhttps://codepen.io/acateland/pen/deoXVE\r\n\r\n**What is the chosen solution to this problem?**\r\n3 steps operation :\r\n- removing the saturation value, so the svg is filtered to simple grayscale (1st feColorMatrix)\r\n- mapping on the 3 color channel to a gamma function parametrized so lighter colors are almost not affected, and light and medium color are strongly darkened. (feComponentTransfer)\r\n- and the last component matrix used to map the luminance information to a scale from white to target color.\r\n\r\n![image](https://user-images.githubusercontent.com/19344650/40843471-539b63fc-65b1-11e8-8845-8a84fb57cc1c.png)\r\nnew https://codepen.io/acateland/pen/yEYLax\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* [ ] 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/394347873","html_url":"https://github.com/Talend/ui/pull/1413#issuecomment-394347873","issue_url":"https://api.github.com/repos/Talend/ui/issues/1413","id":394347873,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM0Nzg3Mw==","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-04T13:07:11Z","updated_at":"2018-06-04T13:07:11Z","author_association":"COLLABORATOR","body":":octocat: [Demo is available here](http://1413.talend.surge.sh) "}}
{"actor":{"display_login":"build-travis-ci"}}