{"action":"opened","issue":{"url":"https://api.github.com/repos/18F/tock/issues/308","repository_url":"https://api.github.com/repos/18F/tock","labels_url":"https://api.github.com/repos/18F/tock/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/18F/tock/issues/308/comments","events_url":"https://api.github.com/repos/18F/tock/issues/308/events","html_url":"https://github.com/18F/tock/issues/308","id":131473549,"number":308,"title":"Micropurchase candidate: Load project/line items from previous week when opening a current week's timesheet","user":{"login":"porta-antiporta","id":16668007,"avatar_url":"https://avatars.githubusercontent.com/u/16668007?v=3","gravatar_id":"","url":"https://api.github.com/users/porta-antiporta","html_url":"https://github.com/porta-antiporta","followers_url":"https://api.github.com/users/porta-antiporta/followers","following_url":"https://api.github.com/users/porta-antiporta/following{/other_user}","gists_url":"https://api.github.com/users/porta-antiporta/gists{/gist_id}","starred_url":"https://api.github.com/users/porta-antiporta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/porta-antiporta/subscriptions","organizations_url":"https://api.github.com/users/porta-antiporta/orgs","repos_url":"https://api.github.com/users/porta-antiporta/repos","events_url":"https://api.github.com/users/porta-antiporta/events{/privacy}","received_events_url":"https://api.github.com/users/porta-antiporta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T21:05:29Z","updated_at":"2016-02-04T21:05:29Z","closed_at":null,"body":"From week to week, chances are the projects a user is logging to changes very little.\r\nHowever, currently when a new timesheet is opened, it starts out blank.\r\nUsers have to add in each line item again; and this often leads to people asking for a search function (search for \"search\" in #tock).  Search can be a pretty complex feature to develop.\r\n\r\nIf we come back to the original assumption: week to week projects a user logs time to changes very little; a natural enhancement is for the current timesheet to default with the projects from last week's timesheet when opened for the first time (rather than being blank).\r\n\r\n*_Acceptance Criteria:_*\r\n\r\n* When the user opens a **new** timesheet the timesheet is pre-populated with the previous week's projects.\r\n* When the user opens a **saved** timesheet the timesheet does not pre-populate with the previous week's projects (i.e. the saved timesheet is not overwritten with last week's projects when re-opened)\r\n*  A user can remove line items from an **unsubmitted** (i.e a new or saved) timesheet.  (One may argue scope creep here, but without the ability to delete a line item, this feature becomes unusable).\r\n*  A user can add line items to an **unsubmitted** timesheet.  (This is current functionality that should be preserved).\r\n"}}