{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/367","repository_url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin","labels_url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/367/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/367/comments","events_url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/367/events","html_url":"https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/367","id":328339832,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxOTA1ODIz","number":367,"title":"Archive Plans","user":{"login":"michaelkro","id":15141412,"node_id":"MDQ6VXNlcjE1MTQxNDEy","avatar_url":"https://avatars3.githubusercontent.com/u/15141412?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelkro","html_url":"https://github.com/michaelkro","followers_url":"https://api.github.com/users/michaelkro/followers","following_url":"https://api.github.com/users/michaelkro/following{/other_user}","gists_url":"https://api.github.com/users/michaelkro/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkro/subscriptions","organizations_url":"https://api.github.com/users/michaelkro/orgs","repos_url":"https://api.github.com/users/michaelkro/repos","events_url":"https://api.github.com/users/michaelkro/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkro/received_events","type":"User","site_admin":false},"labels":[{"id":854222421,"node_id":"MDU6TGFiZWw4NTQyMjI0MjE=","url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/labels/p1","name":"p1","color":"b60205","default":false},{"id":951117312,"node_id":"MDU6TGFiZWw5NTExMTczMTI=","url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/labels/sprint9","name":"sprint9","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-06-01T00:22:01Z","updated_at":"2018-06-06T19:37:53Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/pulls/367","html_url":"https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/367","diff_url":"https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/367.diff","patch_url":"https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/367.patch"},"body":"Enable archiving of completed transformation plans (successful & errored)\r\n* Add archive button to Completed Migrations ListView\r\n* Set up fetching so that archived and active (unarchived) plans are\r\n  returned separately.\r\n* Set up POST to archive a plan\r\n* Modify MigrationsCompletedList to also be used for display of\r\n  archived plans\r\n\r\nADDITIONAL CHANGES\r\n* Refactor to remove usage of Object.values() due to node support\r\n* Extract migrations filters strings to constants\r\n\r\nCloses #314, #315, #316\r\n\r\n## Notes\r\n* To quickly unarchive all your plans, use the following command in the rails console\r\n  ```ruby\r\n  ServiceTemplateTransformationPlan.update_all(deleted_on: nil)\r\n  ```\r\n  Alternatively, use the `unarchive!` method on individual records\r\n\r\n* Big thank you to @AparnaKarve for showing me how to set up filters when fetching plans!\r\n\r\n## Screens\r\n### Flow\r\n![archive](https://user-images.githubusercontent.com/15141412/41036774-24937d9a-695f-11e8-85f6-a54252ec710c.gif)\r\n\r\n### Archive Button\r\n<img width=\"1920\" alt=\"archive-button\" src=\"https://user-images.githubusercontent.com/15141412/40814744-2f9b10fc-6510-11e8-8450-b6ceb53fe66d.png\">\r\n\r\n### Archive Modal (Plan with unmigrated VMs)\r\n<img width=\"1920\" alt=\"archive-modal\" src=\"https://user-images.githubusercontent.com/15141412/40814750-3621d88e-6510-11e8-8f85-244e7032b914.png\">\r\n\r\n### Archive List\r\n<img width=\"1440\" alt=\"fullscreen_6_6_18__7_57_am\" src=\"https://user-images.githubusercontent.com/15141412/41036827-55abf010-695f-11e8-9ac7-2fa000ee50b9.png\">\r\n\r\n### Archive Details\r\n<img width=\"1920\" alt=\"archived-plan-details\" src=\"https://user-images.githubusercontent.com/15141412/40814765-44d3d53a-6510-11e8-828a-79e94726140f.png\">\r\n\r\n### Archive Empty\r\n<img width=\"1920\" alt=\"archived-empty-state\" src=\"https://user-images.githubusercontent.com/15141412/40948358-15bc9632-6836-11e8-97ad-fbf79dd9a15e.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/comments/395188572","html_url":"https://github.com/ManageIQ/miq_v2v_ui_plugin/pull/367#issuecomment-395188572","issue_url":"https://api.github.com/repos/ManageIQ/miq_v2v_ui_plugin/issues/367","id":395188572,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTE4ODU3Mg==","user":{"login":"AparnaKarve","id":1538216,"node_id":"MDQ6VXNlcjE1MzgyMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1538216?v=4","gravatar_id":"","url":"https://api.github.com/users/AparnaKarve","html_url":"https://github.com/AparnaKarve","followers_url":"https://api.github.com/users/AparnaKarve/followers","following_url":"https://api.github.com/users/AparnaKarve/following{/other_user}","gists_url":"https://api.github.com/users/AparnaKarve/gists{/gist_id}","starred_url":"https://api.github.com/users/AparnaKarve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AparnaKarve/subscriptions","organizations_url":"https://api.github.com/users/AparnaKarve/orgs","repos_url":"https://api.github.com/users/AparnaKarve/repos","events_url":"https://api.github.com/users/AparnaKarve/events{/privacy}","received_events_url":"https://api.github.com/users/AparnaKarve/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T19:37:52Z","updated_at":"2018-06-06T19:37:52Z","author_association":"COLLABORATOR","body":"Other than the above comment, everything else looks just great!!\r\n\r\nThanks @michaelkro !!"}}
{"actor":{"display_login":"AparnaKarve"}}