Commit Graph

3655 Commits

Author SHA1 Message Date
Quincy Morgan
c5f0ccf7eb Merge pull request #7339 from nlehuby/motorcar
change car=* to motorcar=* on charging_station
2020-02-26 10:34:57 -08:00
Quincy Morgan
dc30371fb6 Update to temaki 3.18.0 (re: #7068)
Rename Checkpoint to Military Checkpoint
2020-02-25 20:25:02 -08:00
Quincy Morgan
925fd225b2 Condense track presets and add tag references 2020-02-25 15:13:29 -08:00
Quincy Morgan
abf536aa9b Make commit changes its own collapsible section 2020-02-24 14:03:06 -08:00
Bryan Housel
e633f1b69e npm run translations (locale files are minified now) 2020-02-21 12:23:44 -05:00
SilentSpike
4a56d49e9d Add support for more Osmose issue types 2020-02-21 16:34:24 +00:00
Bryan Housel
e8f4452d49 Don't bundle the en.json strings anymore, Promisify locale loading
(re: #4994)
2020-02-21 11:09:59 -05:00
Quincy Morgan
fc0d87ce10 Make bridge support field a typeCombo 2020-02-20 16:43:43 -08:00
Quincy Morgan
b16f37499a Add terms and use direction_vertex field for spike strip preset (re: #7347) 2020-02-18 08:41:23 -08:00
SilentSpike
18287284c6 Remove translations link from Osmose UI
- Not useful to majority of users and clutters the UI
- Anyone interested in translation will already be looking at the iD
project and we can direct them from there
2020-02-16 12:47:38 +00:00
SilentSpike
af0e37f7c5 Add "view on osmose" link to UI footer 2020-02-15 11:48:01 +00:00
Bryan Housel
086cade061 Restore Maxar imagery layers using masked urls
(cherry pick of #7356)
2020-02-14 14:51:03 -05:00
Quincy Morgan
72b43e6142 Add fields to spikes preset 2020-02-13 16:18:08 -08:00
Quincy Morgan
22b9e0a759 Update preset icons for temaki 3.17.0 (re: #7068) 2020-02-13 16:13:49 -08:00
Quincy Morgan
3cff395972 Add YYYY-MM-DD placeholder to date fields (close #7270) 2020-02-13 10:30:06 -08:00
Bryan Housel
204cb2300a Squashed commit of the following:
commit 82e230007fca02d486c3b2fa135d76bca8593d21
Merge: 2ed4acaf2 1cc6237c7
Author: Bryan Housel <bryan@mapbox.com>
Date:   Thu Feb 13 10:30:56 2020 -0500

    Merge branch '7347_new' of https://github.com/animesh-007/iD into animesh-007-7347_new

commit 1cc6237c78d5a582417eae700767d6605fbc7e27
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 20:47:57 2020 +0530

    deleted spike.json

commit 5bba63c36ad040ea8eaf4f139bbc99cb8b941e54
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 20:45:01 2020 +0530

    named properly

commit 96426f3efdf65c9eee2125fd036c077cd4d0a35d
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 01:25:23 2020 +0530

    modified spike.json

commit 40c092c1ea1bc56e078cbf94f2d9e69b5bc4e40f
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 01:22:53 2020 +0530

    deleted spike_strip.json

commit 679a409aacd0320b6cbbb470065c6efd7c9e0429
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 00:55:38 2020 +0530

    renamed to spike strip

commit e484aea0ec4bdf456a697ed9bf170076e12486b4
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Thu Feb 13 00:52:50 2020 +0530

    removed spike.json

commit 60ea432a5e3a4aeba8063232fbf1497305be90a2
Author: animesh-007 <animeshagarwal7@gmail.com>
Date:   Wed Feb 12 19:08:08 2020 +0530

    spike preset
2020-02-13 10:33:05 -05:00
Quincy Morgan
657844b343 Update some Osmose issue icons 2020-02-12 15:13:17 -08:00
Quincy Morgan
7364cb38fe Add "Cycle & Foot Crossing" preset (close #7321) 2020-02-10 13:04:46 -05:00
Quincy Morgan
2003f7804b Update to temaki 3.16.0 (re: #7068) 2020-02-07 13:46:06 -05:00
Bryan Housel
a9a1f945f8 Move the qa_data external
- this means that QAItem now asks the service for the icon rather than knowing it directly
2020-02-07 10:06:47 -05:00
Bryan Housel
4c5e7db2dd Move the iD.data export from data/index.js to coreData
coreData now owns all the data, and data/index.js should eventually go away
(re: #4994)
2020-02-07 09:27:23 -05:00
SilentSpike
51efd5b714 Update and standardise QA implementations
- ES6ify (now using class syntax to define QAItem objects)
- Fix bug with KeepRight marker rendering not updating properly
- Use `qa-` prefix for the UI element classes to differentiate from iD
validation error related UI element classes
- Move away from "error" where possible in source
- Move away from snake_case naming where possible

Note that some function/method names have been untouched to make life
easier for v3 development. Have added note comments where appropriate.
2020-02-06 23:07:50 +00:00
Noémie
acec177e34 change car=* to motorcar=* on charging_station 2020-02-06 20:39:01 +01:00
Bryan Housel
de0ac9d451 Upgrade to name-suggestion-index v4.0.0
(closes #7336)

- json data files are distributed both regular and minified
- json data is no longer exported by index.mjs
2020-02-06 11:28:02 -05:00
Bryan Housel
0ffc7ca19a Merge branch '7313' of https://github.com/animesh-007/iD into animesh-007-7313 2020-02-06 11:17:03 -05:00
animesh-007
7d4c513446 removed facility.json 2020-02-06 21:30:04 +05:30
animesh-007
76033a77a2 changed file name 2020-02-06 13:42:13 +05:30
Bryan Housel
13ead25654 Merge branch 'external_presets' into 2.x
(re: #4994)
2020-02-05 21:32:51 -05:00
Bryan Housel
d68b6090cf Remove extra level of nesting in presets.json, fields.json 2020-02-05 21:22:32 -05:00
animesh-007
9ab525f198 added new preset 2020-02-05 21:15:43 +05:30
Quincy Morgan
4ff634b90f Enable the circularize operation for multiple selected features (close #7326) 2020-02-05 09:57:33 -05:00
Bryan Housel
0fe766d9a4 WIP on external presets
- preset data is no longer bundled into iD.js
- some code pathways commented out re: external presets
- many changes so that tests can run without presets at start, or async
- still need to make sure fallbacks are always there (point, line, area, etc)
2020-02-05 09:38:26 -05:00
Quincy Morgan
f2638c0c1e Merge pull request #7290 from openstreetmap/error-button-strings
Update QA button strings
2020-02-04 17:01:42 -05:00
SilentSpike
4c843f60db Merge pull request #7095 from openstreetmap/osmose
Add Osmose Q/A layer
2020-02-04 21:47:28 +00:00
Quincy Morgan
9f1fc63acf Show Hours field by default on recycling containers (close #7259) 2020-02-04 16:21:58 -05:00
SilentSpike
02f088e5a9 Update some QA translation strings 2020-02-04 21:03:34 +00:00
Quincy Morgan
7dce4409ee Update to temaki 3.15.0 (re: #7068)
Add terms for static caravan and notice board presets
2020-02-04 11:06:20 -05:00
SilentSpike
377e99240f Add Osmose translations link to details footer
Improves structure of the details UI and introduces the use of flexboxes
for this. Does not break UI for other error services with shared classes.
2020-02-03 23:20:45 +00:00
SilentSpike
2d2fa440c1 Use multiple specific Osmose string requests
- Only requesting the data we need (Osmose has many more issue types
than iD will ever display)
2020-02-03 23:20:45 +00:00
SilentSpike
06ac02f89f Use Osmose dynamic subtitile string
Providing a `langs` param that's currently not implemented so these will
all be English until that is done.
2020-02-03 23:20:45 +00:00
SilentSpike
010ca30999 Show more Osmose strings in the UI
Also only add sections where appropriate
2020-02-03 23:20:44 +00:00
SilentSpike
5d93d3cace Prepare to use Osmose issue detail strings
- Remove translation description strings, will be using supplied
translations once the API is updated
- Change the way elements and details are presented since they can't be
easily integrated into the 3rd party description strings
2020-02-03 23:20:44 +00:00
SilentSpike
7d76950d55 Use Osmose translation strings for issue titles
This is just step one in the process while we wait for the API to supply
further strings and filtering to reduce the amount of string data
requested (since we don't need it all).

Strings are requested when the layer is first enabled and cached for the
current language (plus English as a backup).
2020-02-03 23:20:43 +00:00
SilentSpike
316aca091b Change icon for Osmose Unnecessary Tag issue 2020-02-03 23:20:43 +00:00
SilentSpike
9fca611ec1 Add support for even more Osmose error types
- Conflicting tags
- Orthographic errors (excess whitespace and all capital names)
- Deprecated tagging
- Bad use of the "area" tag
2020-02-03 23:20:43 +00:00
SilentSpike
406264c37e Simplify structure of QA error data 2020-02-03 23:20:42 +00:00
SilentSpike
a53f1c0f67 Add support for Osmose unnecessary tag error type 2020-02-03 23:20:42 +00:00
SilentSpike
c13eb15691 Add support for more Osmose error types
- Unconnected level crossings
- Unconnected highway features/barries
- Unexpected punctuation/symbols in tag values
- Unbalanced parentheses/quotes in name values
- Invalid date formats
- Access tagging that permits all transport modes
- Elements with a "name" tag and no main tagging
- Relations missing a "type" value
2020-02-03 23:20:42 +00:00
SilentSpike
cc3039033f Support more subtypes of osmose error type 8300 2020-02-03 23:20:41 +00:00
SilentSpike
896ed762e0 Fix silent failure for some Osmose error types
When I added special handling for mapillary errors the code was trying
to access translation strings nested under the error category (which
doesn't exist for all error types). This code is now moved into it's own
function so that variable hoisting doesn't run it for non-applicable
error types and prevent them from working.

- Also adds support for error type 3040 (bad tag value)
- Updated the Osmose sidebar UI title
2020-02-03 23:20:41 +00:00