{"action":"closed","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/6967","repository_url":"https://api.github.com/repos/CartoDB/cartodb","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6967/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6967/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/6967/events","html_url":"https://github.com/CartoDB/cartodb/issues/6967","id":143925728,"number":6967,"title":"Migrate \"add layer\" dialog","user":{"login":"xavijam","id":132146,"avatar_url":"https://avatars.githubusercontent.com/u/132146?v=3","gravatar_id":"","url":"https://api.github.com/users/xavijam","html_url":"https://github.com/xavijam","followers_url":"https://api.github.com/users/xavijam/followers","following_url":"https://api.github.com/users/xavijam/following{/other_user}","gists_url":"https://api.github.com/users/xavijam/gists{/gist_id}","starred_url":"https://api.github.com/users/xavijam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavijam/subscriptions","organizations_url":"https://api.github.com/users/xavijam/orgs","repos_url":"https://api.github.com/users/xavijam/repos","events_url":"https://api.github.com/users/xavijam/events{/privacy}","received_events_url":"https://api.github.com/users/xavijam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/Editor","name":"Editor","color":"006b75"},{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/editor-3","name":"editor-3","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"xavijam","id":132146,"avatar_url":"https://avatars.githubusercontent.com/u/132146?v=3","gravatar_id":"","url":"https://api.github.com/users/xavijam","html_url":"https://github.com/xavijam","followers_url":"https://api.github.com/users/xavijam/followers","following_url":"https://api.github.com/users/xavijam/following{/other_user}","gists_url":"https://api.github.com/users/xavijam/gists{/gist_id}","starred_url":"https://api.github.com/users/xavijam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavijam/subscriptions","organizations_url":"https://api.github.com/users/xavijam/orgs","repos_url":"https://api.github.com/users/xavijam/repos","events_url":"https://api.github.com/users/xavijam/events{/privacy}","received_events_url":"https://api.github.com/users/xavijam/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CartoDB/cartodb/milestones/71","html_url":"https://github.com/CartoDB/cartodb/milestones/Tudanca%20-%20editor%203","labels_url":"https://api.github.com/repos/CartoDB/cartodb/milestones/71/labels","id":1691783,"number":71,"title":"Tudanca - editor 3","description":"","creator":{"login":"xavijam","id":132146,"avatar_url":"https://avatars.githubusercontent.com/u/132146?v=3","gravatar_id":"","url":"https://api.github.com/users/xavijam","html_url":"https://github.com/xavijam","followers_url":"https://api.github.com/users/xavijam/followers","following_url":"https://api.github.com/users/xavijam/following{/other_user}","gists_url":"https://api.github.com/users/xavijam/gists{/gist_id}","starred_url":"https://api.github.com/users/xavijam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xavijam/subscriptions","organizations_url":"https://api.github.com/users/xavijam/orgs","repos_url":"https://api.github.com/users/xavijam/repos","events_url":"https://api.github.com/users/xavijam/events{/privacy}","received_events_url":"https://api.github.com/users/xavijam/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":6,"state":"open","created_at":"2016-04-08T07:52:13Z","updated_at":"2016-04-19T10:48:26Z","due_on":"2016-04-20T22:00:00Z","closed_at":null},"comments":2,"created_at":"2016-03-28T08:25:06Z","updated_at":"2016-04-19T10:48:26Z","closed_at":"2016-04-19T10:48:26Z","body":"## 1st part [COMPLETE]\r\n- [x] Migrate the add-layer-view.\r\n- [x] Migrate necessary models + specs.\r\n  - [x] Add layer model + specs.\r\n  - [x] User model (removed unnecessary stuff, like group models, layers stuff?).\r\n  - [x] Organization model. \r\n  - [x] Visualizations fetch model.\r\n  - [x] ~~Table model (CartoDBTableMetadata).~~ => already migrated :tada:\r\n  - [x] Map model => Using visMap from `layerDefinitionsCollection`.\r\n  - [x] Tables collection.\r\n  - [x] Upload model.\r\n  - [x] Add necessary dependencies:\r\n      - ~~backbone-model-file-upload~~.\r\n      - ~~moment~~ => already as npm module :tada:.\r\n      - ~~tipsy~~.\r\n  - [x] Think about what to do with `cdb.config`. => Working as It used to.\r\n- [x] Migrate footer views + specs + i18n + styles.\r\n- [x] Migrate navigation view + specs + i18n + styles.\r\n\r\n## 2nd part\r\n- [x] Migrate content views.\r\n  - [x] Datasets views.\r\n  - [x] Pagination views.\r\n  - [x] Likes component.\r\n  - [x] Permission model.\r\n  - [x] Pagination component.\r\n- [x] Add new CSS.\r\n- [x] Make tabpane work without menu (setActive).\r\n- [x] Start using localization templates.\r\n- [x] Migrate specs.\r\n- [x] Visualization table model.\r\n- [x] Visualizations collection.\r\n\r\n## 3rd part\r\n- [x] Add layer to current layers collection (there are some methods that we will need to implement, e.g. `this._visMap.addCartodbLayerFromTable(…)`).\r\n- [x] Populate all cdb config keys, as in: `cdb.config.get('oauth_gdrive')`.\r\n- [x] Keep using `cdb.god` as we have, create ticket to implement it in another way.\r\n- [x] Import views.\r\n- [x] ~Migrate import views specs~. -> Issue created https://github.com/CartoDB/cartodb/issues/7140.\r\n- [x] Start using localization strings within import views.\r\n\r\n### Nice to have:\r\n- [x] Metrics within add-layer-modal. -> issue created -> \r\n- [x] Missing specs: -> issue created -> https://github.com/CartoDB/cartodb/issues/7140\r\n  - datasets-paginator-view\r\n  - add-layer-view\r\n  - dataset-item-view\r\n  - remote-dataset-item-view\r\n  - datasets-list-view\r\n  - datasets-view\r\n  - dialog-footer view\r\n"}}