{"action":"created","issue":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/2405","repository_url":"https://api.github.com/repos/geosolutions-it/MapStore2","labels_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/2405/labels{/name}","comments_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/2405/comments","events_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/2405/events","html_url":"https://github.com/geosolutions-it/MapStore2/pull/2405","id":274575972,"number":2405,"title":"First implementation of map widgets","user":{"login":"offtherailz","id":1279510,"avatar_url":"https://avatars2.githubusercontent.com/u/1279510?v=4","gravatar_id":"","url":"https://api.github.com/users/offtherailz","html_url":"https://github.com/offtherailz","followers_url":"https://api.github.com/users/offtherailz/followers","following_url":"https://api.github.com/users/offtherailz/following{/other_user}","gists_url":"https://api.github.com/users/offtherailz/gists{/gist_id}","starred_url":"https://api.github.com/users/offtherailz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offtherailz/subscriptions","organizations_url":"https://api.github.com/users/offtherailz/orgs","repos_url":"https://api.github.com/users/offtherailz/repos","events_url":"https://api.github.com/users/offtherailz/events{/privacy}","received_events_url":"https://api.github.com/users/offtherailz/received_events","type":"User","site_admin":false},"labels":[{"id":287796592,"url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels/In%20Test","name":"In Test","color":"B87A00","default":false},{"id":263823223,"url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels/pending%20review","name":"pending review","color":"ededed","default":false},{"id":746695504,"url":"https://api.github.com/repos/geosolutions-it/MapStore2/labels/review","name":"review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"offtherailz","id":1279510,"avatar_url":"https://avatars2.githubusercontent.com/u/1279510?v=4","gravatar_id":"","url":"https://api.github.com/users/offtherailz","html_url":"https://github.com/offtherailz","followers_url":"https://api.github.com/users/offtherailz/followers","following_url":"https://api.github.com/users/offtherailz/following{/other_user}","gists_url":"https://api.github.com/users/offtherailz/gists{/gist_id}","starred_url":"https://api.github.com/users/offtherailz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offtherailz/subscriptions","organizations_url":"https://api.github.com/users/offtherailz/orgs","repos_url":"https://api.github.com/users/offtherailz/repos","events_url":"https://api.github.com/users/offtherailz/events{/privacy}","received_events_url":"https://api.github.com/users/offtherailz/received_events","type":"User","site_admin":false},"assignees":[{"login":"offtherailz","id":1279510,"avatar_url":"https://avatars2.githubusercontent.com/u/1279510?v=4","gravatar_id":"","url":"https://api.github.com/users/offtherailz","html_url":"https://github.com/offtherailz","followers_url":"https://api.github.com/users/offtherailz/followers","following_url":"https://api.github.com/users/offtherailz/following{/other_user}","gists_url":"https://api.github.com/users/offtherailz/gists{/gist_id}","starred_url":"https://api.github.com/users/offtherailz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/offtherailz/subscriptions","organizations_url":"https://api.github.com/users/offtherailz/orgs","repos_url":"https://api.github.com/users/offtherailz/repos","events_url":"https://api.github.com/users/offtherailz/events{/privacy}","received_events_url":"https://api.github.com/users/offtherailz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-11-16T16:20:22Z","updated_at":"2017-11-16T17:41:00Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/pulls/2405","html_url":"https://github.com/geosolutions-it/MapStore2/pull/2405","diff_url":"https://github.com/geosolutions-it/MapStore2/pull/2405.diff","patch_url":"https://github.com/geosolutions-it/MapStore2/pull/2405.patch"},"body":"## Description\r\nThis provides a first implementation of map widgets (charts) functionality.\r\n[See the mockup for details](http://demo.geo-solutions.it/mockups/mapstore2/#/widget)\r\n\r\n## Issues\r\n - connected to #2324 \r\n\r\n**Please check if the PR fulfills these requirements**\r\n- [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md\r\n- [x] Tests for the changes have been added (for bug fixes / features)\r\n- [x] Docs have been added / updated (for bug fixes / features)\r\n\r\n\r\n**What kind of change does this PR introduce?** (check one with \"x\", remove the others)\r\n\r\n - [x] Feature\r\n\r\n**What is the current behavior?** (You can also link to an open issue here)\r\nNo charts available\r\n\r\n**What is the new behavior?**\r\nYou can add charts to the map as in the Mockup.\r\n\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\", remove the other)\r\n - [x] No\r\n\r\n\r\n**Other information**:\r\n - The missing things to improve functionalities are listed in the related issue\r\n - The query builder is now more usable for general purposes (not 2 way binded to the WFS query)\r\n - **Important Note**: This pull request introduces and uses some HOCs that should be used everywere, to provide a more consistent interface and simplify/speed up development: \r\n   - **emptyState**: shows an empty state view (like [this](https://codropspz-tympanus.netdna-ssl.com/codrops/wp-content/uploads/2013/01/IMG_0007.jpg)) instead of the component, providing a test function. Tj\r\n   - **loadingState**: shows a loading spinner instead of the component. By default gets the loading prop but supports also a test function. \r\n   - **propsStreamFactory**: allow to provide a function as argument of a component that generates the properties of the component it is applied: useful to make reusable widgets that do complex async data flows. \r\n \r\n  "},"comment":{"url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/comments/345000973","html_url":"https://github.com/geosolutions-it/MapStore2/pull/2405#issuecomment-345000973","issue_url":"https://api.github.com/repos/geosolutions-it/MapStore2/issues/2405","id":345000973,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2017-11-16T17:41:00Z","updated_at":"2017-11-16T17:41:00Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/14238537/badge)](https://coveralls.io/builds/14238537)\n\nCoverage increased (+0.3%) to 81.006% when pulling **88fc23d2e5346bfc2ed1c54e207b99a2e8a36579 on offtherailz:widgets** into **dff8fb5c98f1a658b4decc128276ad5b22b1bd84 on geosolutions-it:master**.\n"}}
{"actor":{"display_login":"coveralls"}}