[openstreetmap/openstreetmap-website] Update to iD v2.4.0 (#1619)

Bryan Housel notifications at github.com
Fri Aug 25 20:27:34 UTC 2017


# 2.4.0
##### August 25, 2017

#### :mega: Release Highlights

* :artificial_satellite: We added a **new global imagery layer**: Esri World Imagery<br/>
Thank you Esri for making your imagery available for OSM use!<br/>

#### :tada: New Features

* Updates to save workflow ([#4223]):
  * Add `review_requested` changeset tag and checkbox ([#4133], thanks [@kepta])
  * Add `source` changeset tag and multiselect field
  * Add `hashtags` changeset tag, API parameter, and auto fill hashtags from `comment` ([#2834])
  * Write changeset tags for new mappers to indicate walkthrough progress - These tags all start with `ideditor:` ([#3968])
  * Write changeset tag for `changesets_count` - it will contain `"0"` for someone making their first edit ([#3968])
  * Refactor `uiCommit` into several smaller modules
* Add `addr:unit` input to address field for many countries ([#4235], thanks [@JamesKingdom])
* Make rotation and reflection operations available for more geometry types ([#4237])
* Change raw tag editor `readOnlyTags` function to accept array of regular expressions
* `name` field is no longer automatically added to every preset ([#4200], [#4210], [#4201] thanks [@JamesKingdom])
* Field refactor ([#3914], [#4214])
  * Add options for fields, allow unwrapped fields (no label, buttons, etc)
  * `uiField` can now be used anywhere, not just inside the preset editor
  * Rename `uiPreset` -> `uiPresetEditor` (consistent with raw tag editor, raw member editor, etc)

[#4237]: https://github.com/openstreetmap/iD/issues/4237
[#4235]: https://github.com/openstreetmap/iD/issues/4235
[#4133]: https://github.com/openstreetmap/iD/issues/4133
[#4223]: https://github.com/openstreetmap/iD/issues/4223
[#4214]: https://github.com/openstreetmap/iD/issues/4214
[#4210]: https://github.com/openstreetmap/iD/issues/4210
[#4201]: https://github.com/openstreetmap/iD/issues/4201
[#4200]: https://github.com/openstreetmap/iD/issues/4200
[#3968]: https://github.com/openstreetmap/iD/issues/3968
[#3914]: https://github.com/openstreetmap/iD/issues/3914
[#2834]: https://github.com/openstreetmap/iD/issues/2834
[@kepta]: https://github.com/kepta
[@JamesKingdom]: https://github.com/JamesKingdom


#### :sparkles: Usability

* In save mode, <kbd>esc</kbd> should cancel and return to browse mode ([#4230])
* Recognize more kinds of concrete surface as "paved"
* When drawing, ignore accidental clicks on mode buttons ([#4042])
* Change to 80px arrow key panning (this matches Leaflet default) ([#4207])
* Smoother border around the round vertex preset icon circles ([#4190])
* Render railway platform slightly different from sidewalk ([#4182])
* Treat a few special tags as areas even in the absense of a proper `area=yes` tag. ([#4194])

[#4230]: https://github.com/openstreetmap/iD/issues/4230
[#4207]: https://github.com/openstreetmap/iD/issues/4207
[#4194]: https://github.com/openstreetmap/iD/issues/4194
[#4190]: https://github.com/openstreetmap/iD/issues/4190
[#4182]: https://github.com/openstreetmap/iD/issues/4182
[#4042]: https://github.com/openstreetmap/iD/issues/4042


#### :bug: Bugfixes

* Include imagery offset when calculating tiles for background layer ([#4232])
* Return to browse mode when zooming out beyond edit limit ([#4184])
* Make sure bool url params actually contain value 'true' ([#4222])

[#4232]: https://github.com/openstreetmap/iD/issues/4232
[#4222]: https://github.com/openstreetmap/iD/issues/4222
[#4184]: https://github.com/openstreetmap/iD/issues/4184


#### :earth_asia: Localization

* Update Chinese address format ([#4248], thanks [@Stenive])
* Swap placement of increment/decrement spin buttons when RTL
* Fix RTL styling for info panel close buttons
* Fix RTL styling for spin control and form buttons

[#4248]: https://github.com/openstreetmap/iD/issues/4248
[@Stenive]: https://github.com/Stenive


#### :hourglass: Performance

* Use `requestIdleCallback` in supported browsers for deferred data fetching ([#4259], thanks [@kepta])
  * Avoid reparsing duplicate entities that appear across adjacent OSM tiles
  * Schedule parsing as a low priority task
  * Schedule redraws during idle browser times

[#4259]: https://github.com/openstreetmap/iD/issues/4259
[@kepta]: https://github.com/kepta


#### :rocket: Presets

* Add signpost term to guidepost preset ([#4277], thanks [@JamesKingdom])
* Remove maxspeed field from living street ([#4260], thanks [@JamesKingdom])
* Make `office=physician` non-searchable ([#4255], thanks [@M1dgard])
* Add preset for `amenity=shower` ([#4256], thanks [@JamesKingdom])
* Add preset for `emergency=life_ring` ([#4251], thanks [@JamesKingdom])
* Allow traffic mirror preset on vertex ([#4250], thanks [@JamesKingdom])
* Add presets for many theme park attractions ([#4236], thanks [@willemarcel])
* Improve search terms for wetland preset ([#4226], thanks [@boothym])
* Add jetty search term to `amenity=pier` preset ([#4224], thanks [@boothym])
* Remove `bin=yes` from excrement bag vending machine ([#4191])
* Improve search terms for group home and social facility presets ([#4219], thanks [@JamesKingdom])
* Allow aerialway station to be drawn as an area ([#4217], thanks [@JamesKingdom])
* Improve search terms for T-bar lift ([#4217], thanks [@JamesKingdom])
* Add hedge preset to barrier category ([#4215], thanks [@Stalfur])
* Add railway presets for Derailer, Milestone, Signal, Switch, Train Wash and icons ([#4196], thanks [@JamesKingdom])
* Add railway preset for Buffer Stop, and icon ([#4192], thanks [@JamesKingdom])
* Replace generic "Reference" field with more specific named fields ([#4180], thanks [@JamesKingdom])
* Add preset for Telecom Manhole ([#4185], thanks [@JamesKingdom])

[#4277]: https://github.com/openstreetmap/iD/issues/4277
[#4260]: https://github.com/openstreetmap/iD/issues/4260
[#4255]: https://github.com/openstreetmap/iD/issues/4255
[#4256]: https://github.com/openstreetmap/iD/issues/4256
[#4251]: https://github.com/openstreetmap/iD/issues/4251
[#4250]: https://github.com/openstreetmap/iD/issues/4250
[#4236]: https://github.com/openstreetmap/iD/issues/4236
[#4226]: https://github.com/openstreetmap/iD/issues/4226
[#4224]: https://github.com/openstreetmap/iD/issues/4224
[#4219]: https://github.com/openstreetmap/iD/issues/4219
[#4217]: https://github.com/openstreetmap/iD/issues/4217
[#4215]: https://github.com/openstreetmap/iD/issues/4215
[#4196]: https://github.com/openstreetmap/iD/issues/4196
[#4192]: https://github.com/openstreetmap/iD/issues/4192
[#4191]: https://github.com/openstreetmap/iD/issues/4191
[#4185]: https://github.com/openstreetmap/iD/issues/4185
[#4180]: https://github.com/openstreetmap/iD/issues/4180

[@JamesKingdom]: https://github.com/JamesKingdom
[@M1dgard]: https://github.com/M1dgard
[@willemarcel]: https://github.com/willemarcel
[@boothym]: https://github.com/boothym
[@Stalfur]: https://github.com/Stalfur


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Update to iD v2.4.0
  * Add iD hashtags parameter

-- File Changes --

    M app/assets/javascripts/edit/id.js.erb (1)
    M vendor/assets/iD/iD.css.erb (596)
    M vendor/assets/iD/iD.js (2205)
    M vendor/assets/iD/iD/img/iD-sprite.svg (9)
    M vendor/assets/iD/iD/locales/af.json (6)
    M vendor/assets/iD/iD/locales/ar.json (120)
    M vendor/assets/iD/iD/locales/ast.json (15)
    M vendor/assets/iD/iD/locales/bg-BG.json (6)
    M vendor/assets/iD/iD/locales/bn.json (333)
    M vendor/assets/iD/iD/locales/bs.json (16)
    M vendor/assets/iD/iD/locales/ca.json (18)
    M vendor/assets/iD/iD/locales/cs.json (18)
    M vendor/assets/iD/iD/locales/da.json (181)
    M vendor/assets/iD/iD/locales/de.json (193)
    M vendor/assets/iD/iD/locales/dv.json (505)
    M vendor/assets/iD/iD/locales/el.json (386)
    M vendor/assets/iD/iD/locales/en-GB.json (78)
    M vendor/assets/iD/iD/locales/en.json (198)
    M vendor/assets/iD/iD/locales/eo.json (178)
    M vendor/assets/iD/iD/locales/es.json (115)
    M vendor/assets/iD/iD/locales/et.json (176)
    A vendor/assets/iD/iD/locales/eu.json (74)
    M vendor/assets/iD/iD/locales/fa.json (17)
    M vendor/assets/iD/iD/locales/fi.json (15)
    M vendor/assets/iD/iD/locales/fr.json (391)
    M vendor/assets/iD/iD/locales/gl.json (2220)
    M vendor/assets/iD/iD/locales/hi.json (28)
    M vendor/assets/iD/iD/locales/hr.json (15)
    M vendor/assets/iD/iD/locales/hu.json (226)
    M vendor/assets/iD/iD/locales/id.json (13)
    M vendor/assets/iD/iD/locales/is.json (9)
    M vendor/assets/iD/iD/locales/it.json (18)
    M vendor/assets/iD/iD/locales/ja.json (75)
    M vendor/assets/iD/iD/locales/kn.json (15)
    M vendor/assets/iD/iD/locales/ko.json (45)
    M vendor/assets/iD/iD/locales/lt.json (18)
    M vendor/assets/iD/iD/locales/lv.json (6)
    M vendor/assets/iD/iD/locales/mk.json (17)
    M vendor/assets/iD/iD/locales/ml.json (5)
    M vendor/assets/iD/iD/locales/ms.json (1620)
    M vendor/assets/iD/iD/locales/nl.json (985)
    M vendor/assets/iD/iD/locales/no.json (15)
    M vendor/assets/iD/iD/locales/pl.json (132)
    M vendor/assets/iD/iD/locales/pt-BR.json (284)
    M vendor/assets/iD/iD/locales/pt.json (318)
    M vendor/assets/iD/iD/locales/ro.json (4105)
    M vendor/assets/iD/iD/locales/ru.json (35)
    M vendor/assets/iD/iD/locales/sk.json (223)
    M vendor/assets/iD/iD/locales/sl.json (66)
    M vendor/assets/iD/iD/locales/sr.json (389)
    M vendor/assets/iD/iD/locales/sv.json (172)
    M vendor/assets/iD/iD/locales/ta.json (12)
    M vendor/assets/iD/iD/locales/te.json (3)
    M vendor/assets/iD/iD/locales/th.json (3)
    M vendor/assets/iD/iD/locales/tl.json (1)
    M vendor/assets/iD/iD/locales/tr.json (160)
    M vendor/assets/iD/iD/locales/uk.json (276)
    M vendor/assets/iD/iD/locales/vi.json (227)
    M vendor/assets/iD/iD/locales/yue.json (26)
    M vendor/assets/iD/iD/locales/zh-CN.json (381)
    M vendor/assets/iD/iD/locales/zh-HK.json (180)
    M vendor/assets/iD/iD/locales/zh-TW.json (172)
    M vendor/assets/iD/iD/locales/zh.json (6)
    M vendor/assets/iD/iD/mapillary-js/mapillary.js (3195)
    M vendor/assets/iD/iD/mapillary-js/mapillary.js.map (66)
    M vendor/assets/iD/iD/mapillary-js/mapillary.min.css (4)
    M vendor/assets/iD/iD/mapillary-js/mapillary.min.js (2)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1619
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170825/f8ccbfa9/attachment-0001.html>


More information about the rails-dev mailing list