{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/carto-vl/issues/1085","repository_url":"https://api.github.com/repos/CartoDB/carto-vl","labels_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/1085/comments","events_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/1085/events","html_url":"https://github.com/CartoDB/carto-vl/pull/1085","id":373117413,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1MTI2OTA2","number":1085,"title":"Use interactivity-features in viewportFeatures expression","user":{"login":"VictorVelarde","id":458196,"node_id":"MDQ6VXNlcjQ1ODE5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/458196?v=4","gravatar_id":"","url":"https://api.github.com/users/VictorVelarde","html_url":"https://github.com/VictorVelarde","followers_url":"https://api.github.com/users/VictorVelarde/followers","following_url":"https://api.github.com/users/VictorVelarde/following{/other_user}","gists_url":"https://api.github.com/users/VictorVelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorVelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorVelarde/subscriptions","organizations_url":"https://api.github.com/users/VictorVelarde/orgs","repos_url":"https://api.github.com/users/VictorVelarde/repos","events_url":"https://api.github.com/users/VictorVelarde/events{/privacy}","received_events_url":"https://api.github.com/users/VictorVelarde/received_events","type":"User","site_admin":false},"labels":[{"id":835243742,"node_id":"MDU6TGFiZWw4MzUyNDM3NDI=","url":"https://api.github.com/repos/CartoDB/carto-vl/labels/%F0%9F%94%80%20Expressions","name":"🔀 Expressions","color":"f99d98","default":false}],"state":"open","locked":false,"assignee":{"login":"VictorVelarde","id":458196,"node_id":"MDQ6VXNlcjQ1ODE5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/458196?v=4","gravatar_id":"","url":"https://api.github.com/users/VictorVelarde","html_url":"https://github.com/VictorVelarde","followers_url":"https://api.github.com/users/VictorVelarde/followers","following_url":"https://api.github.com/users/VictorVelarde/following{/other_user}","gists_url":"https://api.github.com/users/VictorVelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorVelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorVelarde/subscriptions","organizations_url":"https://api.github.com/users/VictorVelarde/orgs","repos_url":"https://api.github.com/users/VictorVelarde/repos","events_url":"https://api.github.com/users/VictorVelarde/events{/privacy}","received_events_url":"https://api.github.com/users/VictorVelarde/received_events","type":"User","site_admin":false},"assignees":[{"login":"VictorVelarde","id":458196,"node_id":"MDQ6VXNlcjQ1ODE5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/458196?v=4","gravatar_id":"","url":"https://api.github.com/users/VictorVelarde","html_url":"https://github.com/VictorVelarde","followers_url":"https://api.github.com/users/VictorVelarde/followers","following_url":"https://api.github.com/users/VictorVelarde/following{/other_user}","gists_url":"https://api.github.com/users/VictorVelarde/gists{/gist_id}","starred_url":"https://api.github.com/users/VictorVelarde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictorVelarde/subscriptions","organizations_url":"https://api.github.com/users/VictorVelarde/orgs","repos_url":"https://api.github.com/users/VictorVelarde/repos","events_url":"https://api.github.com/users/VictorVelarde/events{/privacy}","received_events_url":"https://api.github.com/users/VictorVelarde/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-10-23T17:39:26Z","updated_at":"2018-10-26T14:32:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/CartoDB/carto-vl/pulls/1085","html_url":"https://github.com/CartoDB/carto-vl/pull/1085","diff_url":"https://github.com/CartoDB/carto-vl/pull/1085.diff","patch_url":"https://github.com/CartoDB/carto-vl/pull/1085.patch"},"body":"### Related to https://github.com/CartoDB/carto-vl/issues/954\r\n\r\nThis PR ensures that `viewportFeatures` expression returns the same type as `Interactivity` object.\r\nThose features are defined in _interactivity/feature.js_ (**Feature** class) and they have:\r\n- `id`\r\n- `FeatureVizProperty` properties: `color`, `width`, `colorStroke`, `widthStroke`, `symbol` and `symbolPlacement` (+ `reset()` method). + missing `filter` and `transform`\r\n- access to `variables`"},"comment":{"url":"https://api.github.com/repos/CartoDB/carto-vl/issues/comments/433428147","html_url":"https://github.com/CartoDB/carto-vl/pull/1085#issuecomment-433428147","issue_url":"https://api.github.com/repos/CartoDB/carto-vl/issues/1085","id":433428147,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQyODE0Nw==","user":{"login":"davidmanzanares","id":1692175,"node_id":"MDQ6VXNlcjE2OTIxNzU=","avatar_url":"https://avatars2.githubusercontent.com/u/1692175?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmanzanares","html_url":"https://github.com/davidmanzanares","followers_url":"https://api.github.com/users/davidmanzanares/followers","following_url":"https://api.github.com/users/davidmanzanares/following{/other_user}","gists_url":"https://api.github.com/users/davidmanzanares/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmanzanares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmanzanares/subscriptions","organizations_url":"https://api.github.com/users/davidmanzanares/orgs","repos_url":"https://api.github.com/users/davidmanzanares/repos","events_url":"https://api.github.com/users/davidmanzanares/events{/privacy}","received_events_url":"https://api.github.com/users/davidmanzanares/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T14:32:17Z","updated_at":"2018-10-26T14:32:17Z","author_association":"COLLABORATOR","body":"I also found that the API is not very consistent with the Interactivity one.\r\n\r\nThe interactivity one provides top-level `blendTo` and `reset` methods to allow setting all styling properties at the same time, this functionality is not added by this PR.\r\n\r\nWe should discuss this, and the need to add another namespace with the properties."}}
{"actor":{"display_login":"davidmanzanares"}}