{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/1712","labels_url":"https://api.github.com/repos/koreader/koreader/issues/1712/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/1712/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/1712/events","html_url":"https://github.com/koreader/koreader/issues/1712","id":115856215,"number":1712,"title":"Statistics planed features, any suggestions? ","user":{"login":"apletnev","id":220872,"avatar_url":"https://avatars.githubusercontent.com/u/220872?v=3","gravatar_id":"","url":"https://api.github.com/users/apletnev","html_url":"https://github.com/apletnev","followers_url":"https://api.github.com/users/apletnev/followers","following_url":"https://api.github.com/users/apletnev/following{/other_user}","gists_url":"https://api.github.com/users/apletnev/gists{/gist_id}","starred_url":"https://api.github.com/users/apletnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apletnev/subscriptions","organizations_url":"https://api.github.com/users/apletnev/orgs","repos_url":"https://api.github.com/users/apletnev/repos","events_url":"https://api.github.com/users/apletnev/events{/privacy}","received_events_url":"https://api.github.com/users/apletnev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-09T11:22:18Z","updated_at":"2015-11-16T13:58:43Z","closed_at":null,"body":"Hello guys, I want to add a few features into the Statistics plugin and want to discuss architecture approach. I'd like to add a \"complete\" window after finish the book. The complete window has next items: score, add note, mark as read, move to folder, show stat, etc. We have the same future request “FR: Marked as read #1576”.\r\nIn this case I can do it like this:\r\nThe Complete component will be independent in reader/modules/ like readercompletebook.lua and save in some format info about completion. The component can throw event like bookFinish in that case e.q the statistics plugin will catch event and add in to it's data info about the complete. The File manager before show the list of books uses the data from the component and marks appropriate books as read.\r\n\r\nAlso we have “FR: Time to Read #1707\" in the status bar. I can’t add this feature because the statistics is a plugin, and has low coupling with other components e.q readerfooter.lua. I do not think it is a good idea to link core components with plugins. Based on that, maybe we move the statistics from plugins to core component? Like readerstatistics.lua?\r\n\r\nAlso i want to add some goals in to the statistics, for example minimum pages to read in day. It is will be like some gamification for reading. Maybe will add some achieves for fun. )\r\n  \r\nThe statistics plugin requires correct time and date, what do you think about add in to the koreader settings synchronisation with some time servers? \r\n\r\nAny suggestions, comments, proposals? \r\n"},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/157035413","html_url":"https://github.com/koreader/koreader/issues/1712#issuecomment-157035413","issue_url":"https://api.github.com/repos/koreader/koreader/issues/1712","id":157035413,"user":{"login":"apletnev","id":220872,"avatar_url":"https://avatars.githubusercontent.com/u/220872?v=3","gravatar_id":"","url":"https://api.github.com/users/apletnev","html_url":"https://github.com/apletnev","followers_url":"https://api.github.com/users/apletnev/followers","following_url":"https://api.github.com/users/apletnev/following{/other_user}","gists_url":"https://api.github.com/users/apletnev/gists{/gist_id}","starred_url":"https://api.github.com/users/apletnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apletnev/subscriptions","organizations_url":"https://api.github.com/users/apletnev/orgs","repos_url":"https://api.github.com/users/apletnev/repos","events_url":"https://api.github.com/users/apletnev/events{/privacy}","received_events_url":"https://api.github.com/users/apletnev/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T13:58:43Z","updated_at":"2015-11-16T13:58:43Z","body":"Gents, \r\nsome final clarifications:\r\n1. Save the statistics data in to the history file e.q \"[..#..#test#] sample.pdf.lua\"\r\n2. Add UI component  #1576 - Complete book (score, add note, mark as read, move to folder, show stat). Any additional suggestions?\r\n3. Add the complete book feature into the readerrolling and readerpaging\r\n4. Add #1707 in to the status bar (get info from history file)\r\n5. I use koreader in the kindle and have a problem with date sync. If it is difficult add time sync, maybe better to add in to the settings menu component like datetimepicker that helps us to set up manually date?\r\n\r\n@chrox, @Frenzie  what do you think? "}}