{"action":"created","issue":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/580","repository_url":"https://api.github.com/repos/SEED-platform/seed","labels_url":"https://api.github.com/repos/SEED-platform/seed/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/SEED-platform/seed/issues/580/comments","events_url":"https://api.github.com/repos/SEED-platform/seed/issues/580/events","html_url":"https://github.com/SEED-platform/seed/issues/580","id":122434069,"number":580,"title":"Add Label Feature to Data Cleansing view","user":{"login":"RDmitchell","id":6314950,"avatar_url":"https://avatars.githubusercontent.com/u/6314950?v=3","gravatar_id":"","url":"https://api.github.com/users/RDmitchell","html_url":"https://github.com/RDmitchell","followers_url":"https://api.github.com/users/RDmitchell/followers","following_url":"https://api.github.com/users/RDmitchell/following{/other_user}","gists_url":"https://api.github.com/users/RDmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/RDmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDmitchell/subscriptions","organizations_url":"https://api.github.com/users/RDmitchell/orgs","repos_url":"https://api.github.com/users/RDmitchell/repos","events_url":"https://api.github.com/users/RDmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/RDmitchell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SEED-platform/seed/labels/1","name":"1","color":"f7c6c7"},{"url":"https://api.github.com/repos/SEED-platform/seed/labels/Data%20Cleansing","name":"Data Cleansing","color":"d1aeff"},{"url":"https://api.github.com/repos/SEED-platform/seed/labels/Label%20Feature","name":"Label Feature","color":"ff9fcd"}],"state":"open","locked":false,"assignee":{"login":"danielmcquillen","id":119496,"avatar_url":"https://avatars.githubusercontent.com/u/119496?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmcquillen","html_url":"https://github.com/danielmcquillen","followers_url":"https://api.github.com/users/danielmcquillen/followers","following_url":"https://api.github.com/users/danielmcquillen/following{/other_user}","gists_url":"https://api.github.com/users/danielmcquillen/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmcquillen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmcquillen/subscriptions","organizations_url":"https://api.github.com/users/danielmcquillen/orgs","repos_url":"https://api.github.com/users/danielmcquillen/repos","events_url":"https://api.github.com/users/danielmcquillen/events{/privacy}","received_events_url":"https://api.github.com/users/danielmcquillen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SEED-platform/seed/milestones/30","html_url":"https://github.com/SEED-platform/seed/milestones/Feburary%202016%20Release","labels_url":"https://api.github.com/repos/SEED-platform/seed/milestones/30/labels","id":1409148,"number":30,"title":"Feburary 2016 Release","description":"","creator":{"login":"RDmitchell","id":6314950,"avatar_url":"https://avatars.githubusercontent.com/u/6314950?v=3","gravatar_id":"","url":"https://api.github.com/users/RDmitchell","html_url":"https://github.com/RDmitchell","followers_url":"https://api.github.com/users/RDmitchell/followers","following_url":"https://api.github.com/users/RDmitchell/following{/other_user}","gists_url":"https://api.github.com/users/RDmitchell/gists{/gist_id}","starred_url":"https://api.github.com/users/RDmitchell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RDmitchell/subscriptions","organizations_url":"https://api.github.com/users/RDmitchell/orgs","repos_url":"https://api.github.com/users/RDmitchell/repos","events_url":"https://api.github.com/users/RDmitchell/events{/privacy}","received_events_url":"https://api.github.com/users/RDmitchell/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":28,"state":"open","created_at":"2015-11-12T20:05:28Z","updated_at":"2016-02-03T22:57:46Z","due_on":"2016-02-26T08:00:00Z","closed_at":null},"comments":38,"created_at":"2015-12-16T05:48:59Z","updated_at":"2016-02-04T01:29:09Z","closed_at":null,"body":"In the Data Cleansing Results that are displayed from the Mapping screen, add the Label feature. This would allow a user to filter on the Data Cleansing Results, and then add appropriate labels. \r\n\r\nFor example, it would be possible to filter on a field and the error message, and then label all the resulting records.\r\n![image](https://cloud.githubusercontent.com/assets/6314950/11833222/635deea0-a375-11e5-8024-62000cc277ca.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/6314950/11833171/e78367d8-a374-11e5-85e6-74972cd4cb3d.png)\r\n\r\nIt may or may not be necessary in this first iteration to add a check box. When the developer starts on this issue we can develop a design document and decide how far to take this feature with a given level of effort. It can be enhanced in later versions. In the future we can add an \"automated\" labeling capability to add labels for all the records with data cleansing errors, if this is desirable."},"comment":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/comments/179564407","html_url":"https://github.com/SEED-platform/seed/issues/580#issuecomment-179564407","issue_url":"https://api.github.com/repos/SEED-platform/seed/issues/580","id":179564407,"user":{"login":"nicholasserra","id":512288,"avatar_url":"https://avatars.githubusercontent.com/u/512288?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholasserra","html_url":"https://github.com/nicholasserra","followers_url":"https://api.github.com/users/nicholasserra/followers","following_url":"https://api.github.com/users/nicholasserra/following{/other_user}","gists_url":"https://api.github.com/users/nicholasserra/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholasserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholasserra/subscriptions","organizations_url":"https://api.github.com/users/nicholasserra/orgs","repos_url":"https://api.github.com/users/nicholasserra/repos","events_url":"https://api.github.com/users/nicholasserra/events{/privacy}","received_events_url":"https://api.github.com/users/nicholasserra/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T01:29:09Z","updated_at":"2016-02-04T01:29:09Z","body":"Adjusted payload\r\n\r\n```\r\n        {\r\n            label_ids: [1, 2],\r\n            building_ids: [1, 2, 3, 4],\r\n            updates: [\r\n                { \r\n                  label_id: 1,\r\n                  building_ids: [1,2,3]\r\n                },\r\n                { \r\n                  label_id: 2,\r\n                  building_ids: [3,4,]\r\n                },\r\n                { \r\n                   label_id: null,\r\n                   label_name: \"new label\",\r\n                   label_color: \"red\",\r\n                   label_label: \"primary\",\r\n                   building_ids : [1, 4]\r\n                }\r\n            ]\r\n        }\r\n```"}}