{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments/39088539","id":39088539,"diff_hunk":"@@ -90,14 +101,56 @@\n \t\t\tmargin: 40px 0 0;\n \t\t}\n \t}\n-\t\n+\n \t.import-browse {\n \n-\t\ti {\n+\t\ti:not(.rf-icon-cancel) {\n \t\t\t@include font-size(200);\n \t\t\tcolor: $off-white;\n \t\t\tmargin-bottom: -20px;\n \t\t}\n+\n+\t\t.list-group {\n+\t\t\theight: 190px;\n+\t\t\tborder: 1px solid $gray-lightest;\n+\t\t\tborder-radius: $border-radius-base;\n+\t\t\toverflow: auto;\n+\t\t\tmargin-top: -10px;\n+\n+\t\t\t.list-group-item {\n+\t\t\t\tborder-top: none;\n+\t\t\t\tborder-left: none;\n+\t\t\t\tborder-right: none;\n+\t\t\t\tborder-radius: 0;\n+\t\t\t\tmargin: 0;\n+\t\t\t}\n+\t\t}\n+\n+\t\t@-webkit-keyframes new-import-fade {\n+\t\t\tfrom { background-color: rgba($brand-primary, .1); }\n+\t\t\tto { background-color: transparent; }\n+\t\t\t}\n+\t\t@-moz-keyframes new-import-fade {\n+\t\t\tfrom { background-color: rgba($brand-primary, .1); }\n+\t\t\tto { background-color: transparent; }\n+\t\t}\n+\t\t@-o-keyframes new-import-fade {\n+\t\t\tfrom { background-color: rgba($brand-primary, .1); }\n+\t\t\tto { background-color: transparent; }\n+\t\t}\n+\t\t@keyframes new-import-fade {\n+\t\t\tfrom { background-color: rgba($brand-primary, .1); }\n+\t\t\tto { background-color: transparent; }\n+\t\t}\n+\n+\t\t.newest-import {","path":"src/rf/sass/components/_modal.scss","position":82,"original_position":82,"commit_id":"34b176075a7e373d1742f01d42b0c801a90a45ff","original_commit_id":"34b176075a7e373d1742f01d42b0c801a90a45ff","user":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"body":"Same thing here with the indentation. ","created_at":"2015-09-09T19:59:39Z","updated_at":"2015-09-09T19:59:39Z","html_url":"https://github.com/azavea/raster-foundry/pull/72#discussion_r39088539","pull_request_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments/39088539"},"html":{"href":"https://github.com/azavea/raster-foundry/pull/72#discussion_r39088539"},"pull_request":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/azavea/raster-foundry/pulls/72","id":44441205,"html_url":"https://github.com/azavea/raster-foundry/pull/72","diff_url":"https://github.com/azavea/raster-foundry/pull/72.diff","patch_url":"https://github.com/azavea/raster-foundry/pull/72.patch","issue_url":"https://api.github.com/repos/azavea/raster-foundry/issues/72","number":72,"state":"open","locked":false,"title":"Drag and drop files into upload modal","user":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"body":"This PR integrates the new upload design from https://github.com/azavea/raster-foundry/pull/68 and adds support for dragging and dropping files to the upload modal. \r\n\r\nTo test: \r\n * Add some files via the browse link. Add some more files. The new files should be prepended to the list. \r\n * Click the red X to delete some files.\r\n * Drag some files onto the upload area. While dragging over the left side of the upload modal, a dashed border should appear. The file list should be updated on dropping the files.\r\n * Click continue to upload files. \r\n * Close the modal and then reopen it. The file list should be clear.\r\n\r\nKnown issues:\r\n * Originally, I wanted to only add files to the list if they are new. This isn't possible, as far as I can tell, because there's no way to tell if two files are identical. The file object only contains the file name, and it's possible that two files can have the same name but different paths. However, the desired behavior (of only adding if new) does occur when the user attempts to add the same file twice in a row using the file chooser. In this case, the onchange event is not fired on the second attempt to add the file. This is somewhat problematic because it's inconsistent, but I don't think it will be a real problem because I doubt users will try to add the same file twice in a row.\r\n * When files are added to the list, an animation is supposed to run. I can't get it to work correctly, but will ask Design for assistance.\r\n\r\nConnects #43 ","created_at":"2015-09-08T14:48:04Z","updated_at":"2015-09-09T19:59:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27116aa85271eb415c9e2440cdf7aeb9342117e3","assignee":{"login":"lliss","id":903219,"avatar_url":"https://avatars.githubusercontent.com/u/903219?v=3","gravatar_id":"","url":"https://api.github.com/users/lliss","html_url":"https://github.com/lliss","followers_url":"https://api.github.com/users/lliss/followers","following_url":"https://api.github.com/users/lliss/following{/other_user}","gists_url":"https://api.github.com/users/lliss/gists{/gist_id}","starred_url":"https://api.github.com/users/lliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lliss/subscriptions","organizations_url":"https://api.github.com/users/lliss/orgs","repos_url":"https://api.github.com/users/lliss/repos","events_url":"https://api.github.com/users/lliss/events{/privacy}","received_events_url":"https://api.github.com/users/lliss/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/72/commits","review_comments_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/72/comments","review_comment_url":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/issues/72/comments","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/34b176075a7e373d1742f01d42b0c801a90a45ff","head":{"label":"lewfish:feature/drop-files2","ref":"feature/drop-files2","sha":"34b176075a7e373d1742f01d42b0c801a90a45ff","user":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"repo":{"id":40567584,"name":"raster-foundry","full_name":"lewfish/raster-foundry","owner":{"login":"lewfish","id":1896461,"avatar_url":"https://avatars.githubusercontent.com/u/1896461?v=3","gravatar_id":"","url":"https://api.github.com/users/lewfish","html_url":"https://github.com/lewfish","followers_url":"https://api.github.com/users/lewfish/followers","following_url":"https://api.github.com/users/lewfish/following{/other_user}","gists_url":"https://api.github.com/users/lewfish/gists{/gist_id}","starred_url":"https://api.github.com/users/lewfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lewfish/subscriptions","organizations_url":"https://api.github.com/users/lewfish/orgs","repos_url":"https://api.github.com/users/lewfish/repos","events_url":"https://api.github.com/users/lewfish/events{/privacy}","received_events_url":"https://api.github.com/users/lewfish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lewfish/raster-foundry","description":"Raster Foundry.","fork":true,"url":"https://api.github.com/repos/lewfish/raster-foundry","forks_url":"https://api.github.com/repos/lewfish/raster-foundry/forks","keys_url":"https://api.github.com/repos/lewfish/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lewfish/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lewfish/raster-foundry/teams","hooks_url":"https://api.github.com/repos/lewfish/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/lewfish/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/lewfish/raster-foundry/events","assignees_url":"https://api.github.com/repos/lewfish/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/lewfish/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/lewfish/raster-foundry/tags","blobs_url":"https://api.github.com/repos/lewfish/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lewfish/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lewfish/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/lewfish/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lewfish/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/lewfish/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/lewfish/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/lewfish/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/lewfish/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/lewfish/raster-foundry/subscription","commits_url":"https://api.github.com/repos/lewfish/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/lewfish/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/lewfish/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/lewfish/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/lewfish/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/lewfish/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lewfish/raster-foundry/merges","archive_url":"https://api.github.com/repos/lewfish/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lewfish/raster-foundry/downloads","issues_url":"https://api.github.com/repos/lewfish/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/lewfish/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/lewfish/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/lewfish/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lewfish/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/lewfish/raster-foundry/releases{/id}","created_at":"2015-08-11T22:08:56Z","updated_at":"2015-08-11T22:08:57Z","pushed_at":"2015-09-08T14:56:26Z","git_url":"git://github.com/lewfish/raster-foundry.git","ssh_url":"git@github.com:lewfish/raster-foundry.git","clone_url":"https://github.com/lewfish/raster-foundry.git","svn_url":"https://github.com/lewfish/raster-foundry","homepage":null,"size":12202,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"azavea:develop","ref":"develop","sha":"06ff579d51f2782169c5abb0034d163da504b050","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":36464140,"name":"raster-foundry","full_name":"azavea/raster-foundry","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/raster-foundry","description":"Raster Foundry.","fork":false,"url":"https://api.github.com/repos/azavea/raster-foundry","forks_url":"https://api.github.com/repos/azavea/raster-foundry/forks","keys_url":"https://api.github.com/repos/azavea/raster-foundry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/raster-foundry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/raster-foundry/teams","hooks_url":"https://api.github.com/repos/azavea/raster-foundry/hooks","issue_events_url":"https://api.github.com/repos/azavea/raster-foundry/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/raster-foundry/events","assignees_url":"https://api.github.com/repos/azavea/raster-foundry/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/raster-foundry/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/raster-foundry/tags","blobs_url":"https://api.github.com/repos/azavea/raster-foundry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/raster-foundry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/raster-foundry/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/raster-foundry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/raster-foundry/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/raster-foundry/languages","stargazers_url":"https://api.github.com/repos/azavea/raster-foundry/stargazers","contributors_url":"https://api.github.com/repos/azavea/raster-foundry/contributors","subscribers_url":"https://api.github.com/repos/azavea/raster-foundry/subscribers","subscription_url":"https://api.github.com/repos/azavea/raster-foundry/subscription","commits_url":"https://api.github.com/repos/azavea/raster-foundry/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/raster-foundry/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/raster-foundry/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/raster-foundry/issues/comments{/number}","contents_url":"https://api.github.com/repos/azavea/raster-foundry/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/raster-foundry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/raster-foundry/merges","archive_url":"https://api.github.com/repos/azavea/raster-foundry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/raster-foundry/downloads","issues_url":"https://api.github.com/repos/azavea/raster-foundry/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/raster-foundry/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/raster-foundry/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/raster-foundry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/raster-foundry/labels{/name}","releases_url":"https://api.github.com/repos/azavea/raster-foundry/releases{/id}","created_at":"2015-05-28T20:25:45Z","updated_at":"2015-09-03T18:17:55Z","pushed_at":"2015-09-09T18:57:46Z","git_url":"git://github.com/azavea/raster-foundry.git","ssh_url":"git@github.com:azavea/raster-foundry.git","clone_url":"https://github.com/azavea/raster-foundry.git","svn_url":"https://github.com/azavea/raster-foundry","homepage":null,"size":12803,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":28,"forks":7,"open_issues":28,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/72"},"html":{"href":"https://github.com/azavea/raster-foundry/pull/72"},"issue":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/72"},"comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/azavea/raster-foundry/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/raster-foundry/statuses/34b176075a7e373d1742f01d42b0c801a90a45ff"}}}}