{"action":"created","issue":{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/218","labels_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/218/comments","events_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/218/events","html_url":"https://github.com/steveswinsburg/gradebookNG/issues/218","id":105728581,"number":218,"title":"Ability to clear a score","user":{"login":"payten","id":608337,"avatar_url":"https://avatars.githubusercontent.com/u/608337?v=3","gravatar_id":"","url":"https://api.github.com/users/payten","html_url":"https://github.com/payten","followers_url":"https://api.github.com/users/payten/followers","following_url":"https://api.github.com/users/payten/following{/other_user}","gists_url":"https://api.github.com/users/payten/gists{/gist_id}","starred_url":"https://api.github.com/users/payten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payten/subscriptions","organizations_url":"https://api.github.com/users/payten/orgs","repos_url":"https://api.github.com/users/payten/repos","events_url":"https://api.github.com/users/payten/events{/privacy}","received_events_url":"https://api.github.com/users/payten/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/labels/for%20discussion","name":"for discussion","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-10T04:12:23Z","updated_at":"2015-09-10T10:19:03Z","closed_at":null,"body":"Hi @kyleblythe, @jeffpasch, @steveswinsburg,\r\n\r\nI was wondering if there's a requirement for an instructor to clear a score?  We currently allow a score to be zero or a positive number, but I noticed in the old gradebook you could remove a score by clearing the input field and clicking Save Changes.  \r\n\r\nI can imagine a case where an instructor wants to clear a bunch of scores before applying the \"Set Scoresfor Empty Cells\"... or perhaps clearing out a mistake to leave the cell blank."},"comment":{"url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/comments/139197252","html_url":"https://github.com/steveswinsburg/gradebookNG/issues/218#issuecomment-139197252","issue_url":"https://api.github.com/repos/steveswinsburg/gradebookNG/issues/218","id":139197252,"user":{"login":"steveswinsburg","id":129129,"avatar_url":"https://avatars.githubusercontent.com/u/129129?v=3","gravatar_id":"","url":"https://api.github.com/users/steveswinsburg","html_url":"https://github.com/steveswinsburg","followers_url":"https://api.github.com/users/steveswinsburg/followers","following_url":"https://api.github.com/users/steveswinsburg/following{/other_user}","gists_url":"https://api.github.com/users/steveswinsburg/gists{/gist_id}","starred_url":"https://api.github.com/users/steveswinsburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveswinsburg/subscriptions","organizations_url":"https://api.github.com/users/steveswinsburg/orgs","repos_url":"https://api.github.com/users/steveswinsburg/repos","events_url":"https://api.github.com/users/steveswinsburg/events{/privacy}","received_events_url":"https://api.github.com/users/steveswinsburg/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T10:19:03Z","updated_at":"2015-09-10T10:19:03Z","body":"I reckon its ok as a first slice if the grader needs to edit each cell to\nremove the grade. We can handle this really simply when checking if a grade\nwas sent.\nLonger term we could probably support the delete key mechanism, perhaps we\nshould raise onto the backlog for future work.\n\nOn Thu, Sep 10, 2015 at 3:49 PM, Payten Giles <notifications@github.com>\nwrote:\n\n> Thanks @jeffpasch <https://github.com/jeffpasch>. I think we can easily\n> support the \"click to edit and remove value\" mechanism. The \"hitting delete\n> key\" might require a custom endpoint (please correct if I'm wrong\n> @steveswinsburg <https://github.com/steveswinsburg>) as the Wicket\n> editable label needs the input to be present before the update can be\n> performed -- basically the cell is readonly and only becomes editable once\n> Wicket pulls in the input field when the user clicks on it.\n>\n> I've had a quick play to get the click-edit-then-remove-value mechanism\n> working. Will hold off on PR until we discuss tomorrow -\n> master...payten:allow-clearing-of-score\n> <https://github.com/steveswinsburg/gradebookNG/compare/master...payten:allow-clearing-of-score>\n>\n> Regarding the \"delete key\" mechanism, upon detecting a delete key we might\n> be able to line up some custom javascript to perform the activation of the\n> input field, clear the field then post the field.. feels dirty so will hold\n> off exploring that one.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/steveswinsburg/gradebookNG/issues/218#issuecomment-139123583>\n> .\n>\n"}}