{"action":"created","issue":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/5548","labels_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5548/labels{/name}","comments_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5548/comments","events_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5548/events","html_url":"https://github.com/CartoDB/cartodb/pull/5548","id":106755816,"number":5548,"title":"Adds Explore & User Feed pages","user":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CartoDB/cartodb/labels/explore","name":"explore","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CartoDB/cartodb/milestones/47","html_url":"https://github.com/CartoDB/cartodb/milestones/Torrelodones","labels_url":"https://api.github.com/repos/CartoDB/cartodb/milestones/47/labels","id":1258206,"number":47,"title":"Torrelodones","description":"- [ ] TIS (@luisico)\r\n- [ ] Groups (@juanignaciosl)\r\n- [x] LDAP (@kartones & @antonio)\r\n- [ ] Test optimization (@jesusvazquez)\r\n- [ ] Explore Pages (@javier)\r\n- [ ] New public profile page (@javier)\r\n- [ ] Ogr2ogr new version (@rtorre)\r\n- [ ] Data Services Revamp - WIP (@iriberri)\r\n- [ ] Advanced Map creation on Import (@rtorre)\r\n- [ ] Explore API v1.1 (@ethervoid)\r\n- [ ] New embed WIP (@pabloalonso)\r\n- [ ] Wizards refactor (@pabloalonso)\r\n- [ ] CTM - WIP (@rochoa)\r\n\r\nPostponed:\r\n- [ ] Ruby 2.2 (@kartones)","creator":{"login":"saleiva","id":132149,"avatar_url":"https://avatars.githubusercontent.com/u/132149?v=3","gravatar_id":"","url":"https://api.github.com/users/saleiva","html_url":"https://github.com/saleiva","followers_url":"https://api.github.com/users/saleiva/followers","following_url":"https://api.github.com/users/saleiva/following{/other_user}","gists_url":"https://api.github.com/users/saleiva/gists{/gist_id}","starred_url":"https://api.github.com/users/saleiva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleiva/subscriptions","organizations_url":"https://api.github.com/users/saleiva/orgs","repos_url":"https://api.github.com/users/saleiva/repos","events_url":"https://api.github.com/users/saleiva/events{/privacy}","received_events_url":"https://api.github.com/users/saleiva/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":80,"state":"open","created_at":"2015-08-17T13:11:56Z","updated_at":"2015-09-16T19:18:44Z","due_on":"2015-09-15T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-09-16T11:42:53Z","updated_at":"2015-09-17T09:00:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb/pulls/5548","html_url":"https://github.com/CartoDB/cartodb/pull/5548","diff_url":"https://github.com/CartoDB/cartodb/pull/5548.diff","patch_url":"https://github.com/CartoDB/cartodb/pull/5548.patch"},"body":"## Explore\r\n\r\n#### Views\r\n\r\nViews for the /Explore page. The main view inherits from the feed view (see below).\r\nThe view has a feed that contains a collection (which is in charge of requesting the list of interesting datasets and maps). In order to retrieve the map on the header a model is used.\r\n\r\n* [main view](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/view.js)\r\n* [dropdown.js](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/dropdown.js)\r\n\r\n#### Models\r\n* [collection](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/feed_collection.js)\r\n* [model](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/model.js)\r\n\r\n#### Specs\r\n* [spec for the collection](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/test/spec/cartodb/common/views/explore/collection.spec.js)\r\n* [spec for the model](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/test/spec/cartodb/common/views/explore/model.spec.js)\r\n\r\n#### Templates \r\n\r\n* [template.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/template.jst.ejs)\r\n* [dataset_item_template.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/dataset_item_template.jst.ejs)\r\n* [map_item_template.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/map_item_template.jst.ejs)\r\n* [loading.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/loading.jst.ejs)\r\n* [dropdown_template.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/explore/dropdown_template.jst.ejs)\r\n\r\n#### CSS\r\n\r\n* [explore.css.scss](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/app/assets/stylesheets/common/explore.css.scss)\r\n\r\n## User feed \r\n\r\n* [main view](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/view.js)\r\n* [model for the collection](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/feed_collection.js)\r\n\r\n#### Specs\r\n\r\n* [spec for the view](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/test/spec/cartodb/common/views/feed/feed.spec.js)\r\n\r\n#### User feed templates\r\n* [loading.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/loading.jst.ejs)\r\n* [map_item_template](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/map_item_template.jst.ejs)\r\n* [template.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/template.jst.ejs)\r\n* [empty.jst.ejs](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/feed/empty.jst.ejs)\r\n\r\n## Static map previews\r\n\r\nThe view that generate the static previews was changed to allow generating a preview using the new endpoint (using the ID of a visualization):\r\n\r\n* [view](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/mapcard_preview.js)\r\n* [spec](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/test/spec/cartodb/common/views/mapcard_preview.spec.js)\r\n\r\n## Other\r\n\r\n#### Entries \r\n\r\nI've added a couple of entries, one for the explore page and another one for the user_feed page:\r\n\r\n* [entry for the explore](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/explore/entry.js) \r\n* [entry for the user feed](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/user_feed/entry.js)\r\n\r\nThe public_dashboard entry has some changes (to have an sticky header):\r\n* [public dashboard entry](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/public_dashboard/entry.js)\r\n\r\n#### DatasetCards\r\nWe've added a new style for the dataset cards.\r\n\r\n* [dataset-card.css.scss](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/app/assets/stylesheets/common/dataset-card.css.scss)\r\n\r\n#### ScrollableHeader\r\nA new view that allows to make a header sticky.\r\n\r\n* [scrollable_header.js](https://github.com/CartoDB/cartodb/blob/5296-explore-user-feed/lib/assets/javascripts/cartodb/common/views/scrollable_header.js)\r\n\r\nAlso tested under IE10 & IE11.\r\n\r\nCloses #5542, #5298\r\n\r\nReviewer: @xavijam \r\n"},"comment":{"url":"https://api.github.com/repos/CartoDB/cartodb/issues/comments/141016206","html_url":"https://github.com/CartoDB/cartodb/pull/5548#issuecomment-141016206","issue_url":"https://api.github.com/repos/CartoDB/cartodb/issues/5548","id":141016206,"user":{"login":"javierarce","id":4933,"avatar_url":"https://avatars.githubusercontent.com/u/4933?v=3","gravatar_id":"","url":"https://api.github.com/users/javierarce","html_url":"https://github.com/javierarce","followers_url":"https://api.github.com/users/javierarce/followers","following_url":"https://api.github.com/users/javierarce/following{/other_user}","gists_url":"https://api.github.com/users/javierarce/gists{/gist_id}","starred_url":"https://api.github.com/users/javierarce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javierarce/subscriptions","organizations_url":"https://api.github.com/users/javierarce/orgs","repos_url":"https://api.github.com/users/javierarce/repos","events_url":"https://api.github.com/users/javierarce/events{/privacy}","received_events_url":"https://api.github.com/users/javierarce/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T09:00:03Z","updated_at":"2015-09-17T09:00:03Z","body":"My fault, @carlostallon "}}