Commit Graph

10238 Commits

Author SHA1 Message Date
Bryan Housel
e0a41656a1 Allow value to be entered before key in raw tag editor
(closes #5872)

This commit also hardens the 'key=value' splitting behavior to actually
check the split result length and avoid overwriting a readonly key
(re: #5024)
2019-02-06 15:03:03 -05:00
Bryan Housel
601524c47c Use color instead of fill for the badge icon
re: 7fe0380d7

Now that the icons are all using `fill=currentColor` this is the way to do it
2019-02-06 11:54:45 -05:00
greenkeeper[bot]
d958844bc0 chore(package): update mapillary-js to version 2.16.0 2019-02-06 10:42:24 -05:00
Bryan Housel
640730d38b Change focus to existing key instead of suffixing it with _1
(re: #3625, re: #2896)
2019-02-06 10:29:09 -05:00
Quincy Morgan
011f82239b Add new icons for Butcher, Cheese Shop, Copy Store, Dairy Shop, and Mexican Restaurant presets
Add Chess Table and Mexican Fast Food presets
2019-02-06 08:55:59 -05:00
Bryan Housel
b87ae4e98b Exclude existing keys from auto-completion in raw tag editor
(closes #3625)
2019-02-05 16:14:18 -05:00
Bryan Housel
51af1f3b13 Don't re-sort the keys in the raw tag editor when tabbing
(closes #5857)
2019-02-05 14:52:13 -05:00
Bryan Housel
13e9e99c4a Allow "Monitoring Station" preset on vertex geometry
(closes #5827)
2019-02-05 11:21:37 -05:00
Bryan Housel
5c10aa397f Merge branch 'SilentSpike-unify' 2019-02-05 11:18:19 -05:00
Quincy Morgan
23ab1b66fb Revert "Update places of worship to use field inheritance"
This reverts commit 44d4f2378d.
2019-02-05 11:06:31 -05:00
Bryan Housel
e71eddd138 Merge branch 'unify' of https://github.com/SilentSpike/iD into SilentSpike-unify 2019-02-05 10:41:08 -05:00
Quincy Morgan
7763626b02 Add access_simple field to library preset
Update Website field placeholder to use https
2019-02-05 10:22:43 -05:00
Quincy Morgan
44d4f2378d Update places of worship to use field inheritance
Add website to defaults fields for places of worship
Add presets for common place of worship denominations
2019-02-05 10:16:22 -05:00
greenkeeper[bot]
91285bc4f0 chore(package): update esm to version 3.2.1 2019-02-05 10:00:15 -05:00
SilentSpike
b55830485d Fix use of old variable name 2019-02-04 22:55:47 +00:00
SilentSpike
781558e56b Remove redundant source property 2019-02-04 18:40:06 +00:00
Bryan Housel
b340b65df4 Improve "club" icons
(closes #5854)
2019-02-04 13:35:12 -05:00
Bryan Housel
002f3ba590 switch far-clock to temaki-clock (one less clock icon) 2019-02-04 13:16:19 -05:00
SilentSpike
ddf44377e8 Fix errors without templates not working 2019-02-04 18:12:21 +00:00
Bryan Housel
2d7800582f Upgrade FontAwesome to 5.7 2019-02-04 13:06:51 -05:00
Bryan Housel
7fe0380d7d Make sure icon fill colors can be overridden 2019-02-04 13:01:35 -05:00
SilentSpike
d7147996ed Merge remote-tracking branch 'upstream/master' into unify 2019-02-04 17:17:17 +00:00
SilentSpike
450c549ea5 Remove old error type files 2019-02-04 16:54:07 +00:00
SilentSpike
40af841d53 Fix sidebar preview for new generic errors 2019-02-04 16:54:07 +00:00
SilentSpike
3ed13e9a4a Convert KeepRight to use generic error type 2019-02-04 16:54:07 +00:00
SilentSpike
20ed8b50c9 Add generic QA error
I've converted the improveOSM errors to use this new generic QA error
structure which should allow for more general code to be used in
behaviour and UI.

Sidebar preview is currently broken, but will be fixed shortly.
2019-02-04 16:53:59 +00:00
Bryan Housel
3efd8dbe2d Merge pull request #5852 from AndreasHae/5844-lanes-preset-usability
Improve number field usability
2019-02-04 10:11:03 -05:00
Andreas Haessler
82ea58d943 Add default value to number field 2019-02-04 15:59:08 +01:00
Bryan Housel
e4e0d9d13a Add oneway icon for ImproveOSM oneway markers 2019-02-03 23:55:16 -05:00
Bryan Housel
ebdf6431f7 Support classing of aerialway and piste, and adjust line widths
(closes #5843)
2019-02-02 15:32:36 -05:00
Bryan Housel
f1b5efc81a Revise the list of oneway aerialways (notably, drop yes)
(re: #5843)
2019-02-02 15:30:42 -05:00
Bryan Housel
96a15934ca Don't snake_case values for destination and destination:ref fields
(closes #5842)

But continue to snake_case the values for `destination:symbol`
2019-02-02 12:05:19 -05:00
Bryan Housel
6be72709d5 Adjust tag_classes perimeter overrides to style barriers as lines
(closes #5761)
2019-02-02 11:52:23 -05:00
Bryan Housel
3f2abbe7c6 Merge pull request #5739 from SilentSpike/ImproveOSM
Add ImproveOSM Q/A Layer
2019-02-01 20:03:36 -05:00
SilentSpike
9403f71140 Track closed ImproveOSM errors via coordinates 2019-02-01 23:31:08 +00:00
SilentSpike
c9e249ee6c Send only relevant query parameters 2019-02-01 23:14:54 +00:00
SilentSpike
e9397aa14f Fix incorrect usage of osm.userDetails callback
Javascript is not my usual domain so still getting used to how scope
works and working with callbacks. Believe this code is now written as
intended.

As a bonus a response status to the error update request which isn't the
expected 200 now returns before visibly removing the error and adding it
to the closed cache.
2019-02-01 22:51:05 +00:00
SilentSpike
03a5c26e74 Refer to ImproveOSM QA as detections 2019-02-01 22:51:05 +00:00
SilentSpike
21824e6377 Fix coincident errors
Potential for multiple missing turn restrictions on one node and I've
also seen a case of missing one-way along the same stretch of road in
opposite directions!

Missing geometry is tile based so can't really be coincident, but
doesn't hurt to check in case they happen to land on a one-way or turn
restriction.
2019-02-01 22:51:04 +00:00
SilentSpike
183dda5999 Pacify eslint 2019-02-01 22:51:04 +00:00
SilentSpike
d82757c392 Include node in turn restriction description
Clarifies some cases where geometry could be unclear with previous
message.
2019-02-01 22:51:04 +00:00
SilentSpike
60128b0402 Fix one-way error positioning and description
The direction of travel in the description was misleading as the way
segment wasn't necessary linear and so the direction could change as you
travel along the way. This is more explicit as it specifies the detected
start/end nodes (also useful to show that it's not the whole way that
might be one-way).

The position is now taken as the central node in the `feature.points`
list (or the average of the central two when there are an even number of
points).
2019-02-01 22:51:03 +00:00
SilentSpike
4157cb1f25 Update QA help string 2019-02-01 22:51:03 +00:00
SilentSpike
45ce4e4c57 Move turn restriction error position slightly 2019-02-01 22:51:02 +00:00
SilentSpike
ee5f9f3bf2 Use consistent short service name 2019-02-01 22:51:02 +00:00
SilentSpike
54e02ec28d Introduce new container icon for errors
As per my last commit, this icon differentiates errors from points and
still allows us to specifiy icons for errors to differentiate them amongst
eachother.

I learned quite a bit about SVGs and using them in HTML while
implementing this 😝Had some issues getting the icon to center in the
header so resorted to using a flexbox instead of absolute positioning
being used elsewhere.
2019-02-01 22:51:02 +00:00
SilentSpike
5d907c1e16 Render errors like points with icons
This allows more diverse representation of the error subject at a glance
than relying on colour alone.

However, it would be good to have a generic error icon that can contain
icons which is differentiated from the point icon for clarity.

Sidebar header currently still uses the bolt icon until I figure out
how to deal with that. Also the font awesome icons don't seem to work,
perhaps there's additional code needed for those that I've missed.
2019-02-01 22:51:01 +00:00
SilentSpike
4a166d7a5b Use more descriptive key names 2019-02-01 22:51:01 +00:00
SilentSpike
88a59cb15f Stop hijacking the inflight cache
This could result in error updates getting aborted when new errors are
loaded as their individual ids are never going to match tile IDs (see
`abortUnwantedRequests` function).
2019-02-01 22:51:01 +00:00
SilentSpike
f6746a28ff Match error red to road sign red 2019-02-01 22:51:00 +00:00