[openstreetmap-website] Reorganize export/share UI (#351)

John Firebaugh notifications at github.com
Fri Jul 19 14:49:50 UTC 2013


This is a followup to the [map-ui](https://github.com/openstreetmap/openstreetmap-website/pull/328) changes, making better use of the new "Share" sidebar. It moves the more consumer-oriented options -- "Embeddable HTML" and "Image" -- alongside the "Link" option for sharing. The OSM XML "Export" option remains, but no longer needs the prominence of a top bar tab, so is moved to the sidebar alongside GPS Traces under a new "Data" section.

Two additional enhancements are included:

* The oft-requested ability to include a marker in the permalink.
* A shortlist of sources for bulk data downloads is provided when the selected area is too large for export.
You can merge this Pull Request by running:

  git pull https://github.com/osmlab/openstreetmap-website map-ui

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/351

-- Commit Summary --

  * Reorganize share/export UI
  * Add option to include marker in permalinks
  * Link to sources for bulk downloads

-- File Changes --

    M app/assets/javascripts/application.js (59)
    M app/assets/javascripts/index.js (2)
    M app/assets/javascripts/index/export.js (229)
    M app/assets/javascripts/leaflet.extend.js.erb (94)
    M app/assets/javascripts/leaflet.share.js (247)
    M app/assets/stylesheets/common.css.scss (27)
    M app/views/export/start.html.erb (60)
    M app/views/layouts/site.html.erb (17)
    M app/views/site/_sidebar.html.erb (1)
    M config/locales/en.yml (28)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/351.patch
https://github.com/openstreetmap/openstreetmap-website/pull/351.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130719/a9a713e7/attachment.html>


More information about the rails-dev mailing list