Commit Graph

11217 Commits

Author SHA1 Message Date
Bryan Housel
e4fc821eb0 Just use reduce 2019-04-22 09:49:17 -04:00
Bryan Housel
3557e3c711 Don't allow disconnecting a way if parts extend to undownloaded tiles
(re: #2248, #4245)
2019-04-20 00:02:46 -04:00
Bryan Housel
bbf4495f5c pacify eslint 2019-04-19 23:44:49 -04:00
Bryan Housel
7c85cc997e Merge branch 'master' into validation_and_change_perf 2019-04-19 22:44:04 -04:00
Bryan Housel
860454d982 Show "Unknown" for opening hours placeholder
(closes #6207)
2019-04-19 19:55:24 -04:00
Quincy Morgan
b566ef05b5 Add Option+W shortcut to toggle the OSM data layer (close #6104) 2019-04-19 14:51:53 -07:00
Quincy Morgan
c2b13357bb Improve the order of property descriptions in the preset documentation and clarify some of the descriptions 2019-04-19 14:12:10 -07:00
Quincy Morgan
a892114351 Fix disconnection code test (close #4245) 2019-04-19 13:26:16 -07:00
Bryan Housel
51c1088c1b Merge branch 'master' into validation_and_change_perf 2019-04-19 15:18:23 -04:00
Quincy Morgan
130e9909f6 Allow disconnecting an entire way from other ways at once (close #4245) 2019-04-19 11:54:13 -07:00
Bryan Housel
b5c5a00abc Get rid of the many_deletions validation 🔪
It just doesn't fit in with all of the other validations that work on
entities, and it's not an actionable warning anyway.
https://github.com/openstreetmap/iD/pull/6140#issuecomment-483014618
2019-04-19 13:33:29 -04:00
Bryan Housel
2ebbb68604 Restore tooltips on rule checkboxes, separate 'tip' and 'reference'
Reference will show on clicking info button, and can contain more
useful information than a tooltip can.
2019-04-19 13:24:55 -04:00
Quincy Morgan
f8299cb205 Add field for the guest_house subkey to tourism=guest_house 2019-04-19 09:50:53 -07:00
Bryan Housel
4d66cacb27 Nodes needs Array.length not Set.size 2019-04-19 11:04:41 -04:00
Bryan Housel
1092ddb125 Make sure to update the save count when restoring changes too 2019-04-19 10:56:00 -04:00
Bryan Housel
ae06e28f9b Try to avoid style recalculation when typing on the comment box
I think this doesn't completely work.. It reduces the amount
of unnecessary DOM changes, but there are still some more.
2019-04-19 10:02:25 -04:00
Bryan Housel
ca02f7ed06 Must use context.graph to validate entities instead of validatedgraph
This is because all the validators use it, and it's the right thing to do.
As entites load from the OSM or are restored from history, the most
updated version of them will be in context.graph, not validatedGraph
2019-04-19 10:00:38 -04:00
Quincy Morgan
14965cb3c3 Ensure arbitrary emergency tag values imply area 2019-04-18 16:58:05 -07:00
Quincy Morgan
443ee3bb62 Add fallback preset for the "emergency" tag and a combo field to set the type 2019-04-18 16:38:16 -07:00
Bryan Housel
c4209515a5 Only consider hiding features matched to a rule
(Fixes accidental hiding of vertices)
2019-04-18 19:26:17 -04:00
Bryan Housel
a56c1af725 pacify eslint 2019-04-18 19:26:05 -04:00
Bryan Housel
a55b4387fe Make sure the notification badge starts out hidden 2019-04-18 19:06:23 -04:00
Bryan Housel
0eed80e1d2 Persist disabled rules in localStorage 2019-04-18 17:30:55 -04:00
Quincy Morgan
542c55f5d2 Fix pointer events issue with info panels 2019-04-18 14:19:38 -07:00
Quincy Morgan
2f695a9747 Add link to the PeWu history viewer to the History panel (close #6202) 2019-04-18 14:06:48 -07:00
Bryan Housel
7c8a6eac9d Reintroduce disabled rules
- They still run, but results are excluded from lists
- Also make sure to revalidate/dispatch/update when toggling rules
2019-04-18 17:05:33 -04:00
Quincy Morgan
63b6023601 Update icons for Marina and Drinking Water Shop 2019-04-18 13:23:45 -07:00
Quincy Morgan
077bb1c8a7 Add Fishing field to relevant presets
Add Clothes field to the Outdoors Store preset
2019-04-18 13:01:25 -07:00
Quincy Morgan
eb9e4e5496 Deprecate theatre:type=amphitheatre
Adjust toilet preset fields
2019-04-18 12:33:47 -07:00
Quincy Morgan
b8438e4dab Deprecate landuse=port
Alphabetize landuse deprecations
2019-04-18 11:57:44 -07:00
Quincy Morgan
99d7ae8ea7 Remove water styling for landuses that do not necessarily encompass water, and for amenity=swimming_pool since it is deprecated 2019-04-18 11:52:00 -07:00
Quincy Morgan
37047a03dd Fix issue where long semicombo or multicombo fields could overflow the field (close #6201) 2019-04-18 11:40:31 -07:00
Quincy Morgan
a30051fd9c Restore full screen ability 2019-04-18 10:37:22 -07:00
Quincy Morgan
775b7ed4b8 Remove Bay from Water Bodies category since it's not like the others 2019-04-18 10:13:42 -07:00
Quincy Morgan
276dc932a3 Update Studio icon to a studio mic instead of a stage mic
Add derived taginfo data from previous commits
2019-04-18 09:50:37 -07:00
Quincy Morgan
2951e34834 Deprecate some uncommon internet_access tags 2019-04-18 09:18:53 -07:00
Quincy Morgan
333b95180b Deprecate "shop=cafe" and various "internet_access:fee" tags 2019-04-18 09:12:12 -07:00
Quincy Morgan
18ab84ae6e Add terms and field to Wetland preset 2019-04-18 09:03:45 -07:00
Quincy Morgan
09cb63ff9e Alphabetize bank fields 2019-04-17 17:46:41 -07:00
Quincy Morgan
dbb3c142af Add Underground Parking preset that sets layer=-1 by default 2019-04-17 16:39:47 -07:00
Quincy Morgan
3d5509aab4 Adjust bicycle parking fields 2019-04-17 16:04:46 -07:00
Quincy Morgan
5ed9cceb1e Add Overhead Trolley Wires field for specifying if a road has electrical contact lines 2019-04-17 15:44:44 -07:00
Quincy Morgan
0ec4f6fbf8 Add Reservations field to relevant tourism and amenity presets
Add Stars field to the Restaurant preset
Replace the Outdoor Seating field with the Phone field as a default field for the Restaurant preset, since it is more relevant
2019-04-17 15:13:12 -07:00
Bryan Housel
9c4881cade Change autofix to accept arguments to perform, implement "fix all" 2019-04-17 17:51:29 -04:00
Quincy Morgan
daf3a703aa Update shower icon to something nicer 2019-04-17 14:42:26 -07:00
Quincy Morgan
4cfdcad099 Don't show the Payment Types field for some features unless "fee" is not "no" 2019-04-17 14:38:58 -07:00
Quincy Morgan
1bd66c3d9e Add presets for Pit Latrine and Flush Toilets
Add Handwashing and Positions fields to the toilet presets
Deprecate alternative, less-common tags for toilets:disposal=pitlatrine
Correct Pit Latrine option string in the Disposal field
2019-04-17 12:40:31 -07:00
Quincy Morgan
db3f634df4 Fix issue where build would fail on older node versions 2019-04-17 11:50:23 -07:00
Quincy Morgan
5c2d0d21ef Delete unused icons from the noun project when building (re: #5691) 2019-04-17 11:25:42 -07:00
Quincy Morgan
a4a08e34bd Fix fatal error when building without a the_noun_project.auth file (re: #6193) 2019-04-17 08:38:54 -07:00