{"action":"created","issue":{"url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/17","labels_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/17/comments","events_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/17/events","html_url":"https://github.com/zopefoundation/Products.GenericSetup/issues/17","id":107235787,"number":17,"title":"Create a nicer UI for importing","user":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-18T16:35:12Z","updated_at":"2015-12-23T01:21:13Z","closed_at":"2015-12-23T01:21:13Z","body":"This is related to pull request #16, which already updates the Import tab in the ZMI.\r\n\r\nPerceived problem: the Import tab is too complicated.\r\n\r\nInitial idea:\r\n- Move the tarball import to a separate tab. Any checkboxes or other options on the current Import tab have no influence at all on importing a tarball. Tab name: Tarball or Archive.\r\n- The rest of the Import tab can stay. The changes I did to the UI in pull request #16 can probably be reverted for this tab. Maybe remove 'Import all steps' and instead have a 'select/deselect steps' button/checkbox, although that might mean adding some javascript, which is currently totally not in use. Rename the 'Include dependencies?' checkbox to 'Include dependencies of selected steps?', because that is what this checkbox does. It has nothing to do with dependency profiles, if you ever thought that. In other words, the Import tab is for when you want to have full control over which steps are imported.\r\n- Create a new tab, say titled Addons. Start with a list of profiles that have upgrade steps that can be run. Then have a list of profiles that can be applied. Add the new UI options from pull request #16 here, giving control over how dependency profiles are handled. Maybe we can actually show the list of dependency profiles and give their current status: installed / not installed / needs upgrade. Do not give the option to select individual import steps: this page is for importing a full profile.\r\n\r\nGiven the new Addons tab, it probably makes sense for the Import tab to not apply or upgrade any dependency profiles. We could warn when we see this is a problem, and point to the Addons tab.\r\n\r\nI am willing to work on this."},"comment":{"url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/comments/166773100","html_url":"https://github.com/zopefoundation/Products.GenericSetup/issues/17#issuecomment-166773100","issue_url":"https://api.github.com/repos/zopefoundation/Products.GenericSetup/issues/17","id":166773100,"user":{"login":"mauritsvanrees","id":210587,"avatar_url":"https://avatars.githubusercontent.com/u/210587?v=3","gravatar_id":"","url":"https://api.github.com/users/mauritsvanrees","html_url":"https://github.com/mauritsvanrees","followers_url":"https://api.github.com/users/mauritsvanrees/followers","following_url":"https://api.github.com/users/mauritsvanrees/following{/other_user}","gists_url":"https://api.github.com/users/mauritsvanrees/gists{/gist_id}","starred_url":"https://api.github.com/users/mauritsvanrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mauritsvanrees/subscriptions","organizations_url":"https://api.github.com/users/mauritsvanrees/orgs","repos_url":"https://api.github.com/users/mauritsvanrees/repos","events_url":"https://api.github.com/users/mauritsvanrees/events{/privacy}","received_events_url":"https://api.github.com/users/mauritsvanrees/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T01:21:12Z","updated_at":"2015-12-23T01:21:12Z","body":"Ah, I knew I had noted some ideas somewhere and here they are. :-) I have meanwhile done part of the above in pull request #23.\r\nThis issue has partially different ideas, which may or may not be better, but let's close it in favour of actual code in that pull request."}}