{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4775","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4775/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4775/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4775/events","html_url":"https://github.com/HabitRPG/habitrpg/pull/4775","id":59334221,"number":4775,"title":"Weekly and monthly \"dailies\" feature","user":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-28T09:19:04Z","updated_at":"2015-03-04T01:01:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/4775","html_url":"https://github.com/HabitRPG/habitrpg/pull/4775","diff_url":"https://github.com/HabitRPG/habitrpg/pull/4775.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/4775.patch"},"body":"Here is my suggestion for how the \"weekly\" and \"monthly\" daily types could work. This relates to issue #4173.\r\n\r\nAs said in that issue, the spec is kind of open. I strongly feel that the feature should be kept very simple and that has been the point of this work. In short;\r\n\r\n* Give \"dailies\" a subtype, ie \"daily\", \"weekly\", \"monthly\"\r\n* Subtype can be selected in daily edit, default is the current \"daily\"\r\n* Processing only \"scores\" dailies of subtype \"weekly\" and \"monthly\" if we are currently at the end of that particular period.\r\n* Dailies will \"uncomplete\" only after period, so you only tick them once per period\r\n\r\nI know this doesn't cover all the \"do every 5 days\" or \"do every 21st of every 3rd month\" cases - but again, simplicity is key. Most users I believe would find it handy to set a weekly or monthly task and not have to micromanage too much.\r\n\r\nMissing stuff:\r\n* [ ] Indicate in daily list that task is month/weekly? Is this needed?\r\n* [ ] Make sure unit tests cover new logic\r\n* [ ] Hide 'Repeat' selection for weeklies/monthlies\r\n* [ ] Make sure weeklies/monthlies only uncomplete at end of period\r\n* [ ] Allow user to choose whether week starts monday or sunday\r\n\r\nScreenshots of edit view buttons:\r\n![selection_064](https://cloud.githubusercontent.com/assets/1174866/6425623/bd44f924-bf3a-11e4-89f1-49b44ec5b7af.png)\r\n\r\nI'd really love this feature to get implemented, currently I'm hacking weeklies by using habits and trying to remember only to tick them once a week... But some feedback would be great whether this would be accepted. I'll then asap wrap up the last tasks :)"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/77076631","html_url":"https://github.com/HabitRPG/habitrpg/pull/4775#issuecomment-77076631","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4775","id":77076631,"user":{"login":"lemoness","id":3494081,"avatar_url":"https://avatars.githubusercontent.com/u/3494081?v=3","gravatar_id":"","url":"https://api.github.com/users/lemoness","html_url":"https://github.com/lemoness","followers_url":"https://api.github.com/users/lemoness/followers","following_url":"https://api.github.com/users/lemoness/following{/other_user}","gists_url":"https://api.github.com/users/lemoness/gists{/gist_id}","starred_url":"https://api.github.com/users/lemoness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemoness/subscriptions","organizations_url":"https://api.github.com/users/lemoness/orgs","repos_url":"https://api.github.com/users/lemoness/repos","events_url":"https://api.github.com/users/lemoness/events{/privacy}","received_events_url":"https://api.github.com/users/lemoness/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T01:01:03Z","updated_at":"2015-03-04T01:01:03Z","body":"Okay, we can use repeating To-Dos for the first case, though I think we'll\nget a lot of questions about it. But the second case is pretty critical.\nThink also of something like needing to take the trash out by Wednesday\nevery week, or completing your weekly statistics problem set by Tuesday\nnight. In many cases, people will be using the Weekly feature for those\nkinds of tasks.\n\nOn Tue, Mar 3, 2015 at 4:21 PM, jmessenger235 <notifications@github.com>\nwrote:\n\n> From a user standpoint, example 2 is a very valid use case. Also an annual\n> feature would be VERY nice for things like taxes, gardening, and a few\n> other less common items\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/HabitRPG/habitrpg/pull/4775#issuecomment-77071673>.\n>\n"}}