{"action":"created","issue":{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/446","labels_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/446/comments","events_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/446/events","html_url":"https://github.com/laterpay/laterpay-wordpress-plugin/issues/446","id":47274398,"number":446,"title":"Add filters to the dashboard","user":{"login":"twoldrich","id":6638286,"avatar_url":"https://avatars.githubusercontent.com/u/6638286?v=3","gravatar_id":"","url":"https://api.github.com/users/twoldrich","html_url":"https://github.com/twoldrich","followers_url":"https://api.github.com/users/twoldrich/followers","following_url":"https://api.github.com/users/twoldrich/following{/other_user}","gists_url":"https://api.github.com/users/twoldrich/gists{/gist_id}","starred_url":"https://api.github.com/users/twoldrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twoldrich/subscriptions","organizations_url":"https://api.github.com/users/twoldrich/orgs","repos_url":"https://api.github.com/users/twoldrich/repos","events_url":"https://api.github.com/users/twoldrich/events{/privacy}","received_events_url":"https://api.github.com/users/twoldrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/labels/New+Feature","name":"New Feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"Chrico","id":3417446,"avatar_url":"https://avatars.githubusercontent.com/u/3417446?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrico","html_url":"https://github.com/Chrico","followers_url":"https://api.github.com/users/Chrico/followers","following_url":"https://api.github.com/users/Chrico/following{/other_user}","gists_url":"https://api.github.com/users/Chrico/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrico/subscriptions","organizations_url":"https://api.github.com/users/Chrico/orgs","repos_url":"https://api.github.com/users/Chrico/repos","events_url":"https://api.github.com/users/Chrico/events{/privacy}","received_events_url":"https://api.github.com/users/Chrico/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/milestones/10","labels_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/milestones/10/labels","id":884815,"number":10,"title":"0.9.10","description":"Improved Analytics","creator":{"login":"drdla","id":135148,"avatar_url":"https://avatars.githubusercontent.com/u/135148?v=3","gravatar_id":"","url":"https://api.github.com/users/drdla","html_url":"https://github.com/drdla","followers_url":"https://api.github.com/users/drdla/followers","following_url":"https://api.github.com/users/drdla/following{/other_user}","gists_url":"https://api.github.com/users/drdla/gists{/gist_id}","starred_url":"https://api.github.com/users/drdla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drdla/subscriptions","organizations_url":"https://api.github.com/users/drdla/orgs","repos_url":"https://api.github.com/users/drdla/repos","events_url":"https://api.github.com/users/drdla/events{/privacy}","received_events_url":"https://api.github.com/users/drdla/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":21,"state":"open","created_at":"2014-11-30T13:46:48Z","updated_at":"2015-01-05T14:35:44Z","due_on":"2014-12-08T23:00:00Z","closed_at":null},"comments":2,"created_at":"2014-10-30T14:15:26Z","updated_at":"2015-01-07T06:02:28Z","closed_at":null,"body":"The merchant should be able to choose from several **intervals** for the dashboard. The data should then be calculated and displayed for the respective interval:\r\n\r\n- 1 day\r\n- 1 week (+1 day)\r\n- 2 weeks (+1 day)\r\n- 1 month (+1 day)\r\n\r\nFor the **1 day** option, we should provide data on an **hourly** basis, starting with \"**today**\".\r\nFor all other options, we should provide data on a **daily** basis. The last date that should be available should be \"**yesterday**\", because \"**today**\" (as an incomplete day) would not provide comparable data. \r\n\r\nThere should also be an option to filter the **revenue model**.\r\n- all\r\n- PPU\r\n- SIS\r\n\r\nLastly, the merchant should be able to **jump to different intervals** of the selected time range (i.e. step one day | week | fortnight | month back or forward.\r\n\r\n---------------------\r\n\r\n## TODO's ##\r\n\r\n* [x] adding time intervals\r\n* [ ] adding time ranges \r\n* [ ] adding filter for **revenue model**"},"comment":{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/comments/68982570","html_url":"https://github.com/laterpay/laterpay-wordpress-plugin/issues/446#issuecomment-68982570","issue_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/446","id":68982570,"user":{"login":"Chrico","id":3417446,"avatar_url":"https://avatars.githubusercontent.com/u/3417446?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrico","html_url":"https://github.com/Chrico","followers_url":"https://api.github.com/users/Chrico/followers","following_url":"https://api.github.com/users/Chrico/following{/other_user}","gists_url":"https://api.github.com/users/Chrico/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrico/subscriptions","organizations_url":"https://api.github.com/users/Chrico/orgs","repos_url":"https://api.github.com/users/Chrico/repos","events_url":"https://api.github.com/users/Chrico/events{/privacy}","received_events_url":"https://api.github.com/users/Chrico/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T06:02:28Z","updated_at":"2015-01-07T06:02:28Z","body":"Time intervals are already implemented. Next will be the *time ranges* and *filters*"}}