{"action":"created","issue":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/2260","repository_url":"https://api.github.com/repos/syndesisio/syndesis","labels_url":"https://api.github.com/repos/syndesisio/syndesis/issues/2260/labels{/name}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/issues/2260/comments","events_url":"https://api.github.com/repos/syndesisio/syndesis/issues/2260/events","html_url":"https://github.com/syndesisio/syndesis/issues/2260","id":311876380,"number":2260,"title":"Enable option to rename integration when importing from file","user":{"login":"mcada","id":14313995,"avatar_url":"https://avatars1.githubusercontent.com/u/14313995?v=4","gravatar_id":"","url":"https://api.github.com/users/mcada","html_url":"https://github.com/mcada","followers_url":"https://api.github.com/users/mcada/followers","following_url":"https://api.github.com/users/mcada/following{/other_user}","gists_url":"https://api.github.com/users/mcada/gists{/gist_id}","starred_url":"https://api.github.com/users/mcada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcada/subscriptions","organizations_url":"https://api.github.com/users/mcada/orgs","repos_url":"https://api.github.com/users/mcada/repos","events_url":"https://api.github.com/users/mcada/events{/privacy}","received_events_url":"https://api.github.com/users/mcada/received_events","type":"User","site_admin":false},"labels":[{"id":751428615,"url":"https://api.github.com/repos/syndesisio/syndesis/labels/cat/feature","name":"cat/feature","color":"bdd9f4","default":false},{"id":751428771,"url":"https://api.github.com/repos/syndesisio/syndesis/labels/group/uxd","name":"group/uxd","color":"fdc5d8","default":false},{"id":751428822,"url":"https://api.github.com/repos/syndesisio/syndesis/labels/notif/uxd","name":"notif/uxd","color":"f382d0","default":false},{"id":751428832,"url":"https://api.github.com/repos/syndesisio/syndesis/labels/prio/p1","name":"prio/p1","color":"e68b8a","default":false},{"id":846592522,"url":"https://api.github.com/repos/syndesisio/syndesis/labels/target/postGA","name":"target/postGA","color":"ccaef2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-06T07:43:37Z","updated_at":"2018-04-10T15:16:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## This is a...\r\n<!-- Check ONLY one of the following options with \"x\" -->\r\n<pre><code>\r\n[x] Feature request\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Documentation issue or request\r\n</code></pre>\r\n\r\n\r\n## The problem\r\n<!--\r\nBriefly describe the issue you are experiencing (or the feature you want to see implemented on Syndesis).\r\n+ For BUGS, tell us what you were trying to do and what happened instead.\r\n+ For NEW FEATURES, describe the _User Persona_ demanding it and its use case.\r\n-->\r\n\r\n## Expected behaviour\r\n<!-- Describe what the desired behaviour would be, enlistin gthe acceptance criteria. -->\r\nAllow user to rename integration when importing. Importing integration which shares name with existing integration overrides the existing one and there is no option to rename the integration before importing. I think that it would be nice to first select file with integration to be imported and fill new name of the integration and then click on some button to actually do the import and then see result of imported integration.\r\n\r\n## Screenshot\r\n<!--\r\nFor features/bugs tackling with UI functionality, drag and drop a screenshot depicting the desired presentation layer or supporting the UX narrative for the new functionality.\r\n-->\r\n\r\n## Request and Response Data\r\n<!--\r\nMany issues involve both the UI and it's backend, if possible capture relevant request and response data JSON messages and include it here.\r\nRequest and response data can be gathered from your browser's developer tools on the 'Network' tab.  \r\n + As you reproduce the issue, take note of any network requests that are made.  \r\n + Requests that result in an error will be highlighted red.  \r\n + Click on line in the network tab and then the 'Headers' tab to get the request data\r\n + Click on the 'Preview' or 'Response' tabs to get the response data.  \r\n + Pretty print the json too -> http://jsonprettyprint.com/\r\n\r\nBE CAREFUL NOT TO INCLUDE ANY USER TOKENS!!!!  \r\nThings like connection objects can contain sensitive data in their configuration, make sure to rip these out\r\n-->\r\n\r\n## API Endpoints and Schemas\r\n<!--\r\nFor features or bugfixes entailing data exchanges between the UI and the REST API,\r\nenlist the different endpoints available and the payload/response schemas.\r\n-->\r\n\r\n## Tasks involved / Steps to Reproduce\r\n<!--\r\nEnlist all the acceptance criteria for new features or the steps required to reproduce the bug/regression reported.\r\n-->\r\n1.\r\n2.\r\n3.\r\n4.\r\n"},"comment":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/comments/380138694","html_url":"https://github.com/syndesisio/syndesis/issues/2260#issuecomment-380138694","issue_url":"https://api.github.com/repos/syndesisio/syndesis/issues/2260","id":380138694,"user":{"login":"sjcox-rh","id":16257540,"avatar_url":"https://avatars2.githubusercontent.com/u/16257540?v=4","gravatar_id":"","url":"https://api.github.com/users/sjcox-rh","html_url":"https://github.com/sjcox-rh","followers_url":"https://api.github.com/users/sjcox-rh/followers","following_url":"https://api.github.com/users/sjcox-rh/following{/other_user}","gists_url":"https://api.github.com/users/sjcox-rh/gists{/gist_id}","starred_url":"https://api.github.com/users/sjcox-rh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjcox-rh/subscriptions","organizations_url":"https://api.github.com/users/sjcox-rh/orgs","repos_url":"https://api.github.com/users/sjcox-rh/repos","events_url":"https://api.github.com/users/sjcox-rh/events{/privacy}","received_events_url":"https://api.github.com/users/sjcox-rh/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T15:16:31Z","updated_at":"2018-04-10T15:16:31Z","author_association":"CONTRIBUTOR","body":"@gashcrumb Makes feature makes sense. Easy if user selects the chooses file button. Since that opens a file folder, we can allow the user to change the name there. \r\n\r\nHowever, for drag and drop, the upload is instant, like you said. I think we can still allow the import to initiate after dragging and dropping, but before it's complete can we show a modal giving the user the option to rename? They can certainly have the option to skip renaming but that way there is the functionality available. \r\n\r\nThis might be jarring though, having a modal appear when it wasn't triggered.\r\n\r\n@dongniwang fyi"}}
{"actor":{"display_login":"sjcox-rh"}}