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
Bryan Housel
d6327aec56
Make reference function optional
...
Now it shows the "No documentation available" message if there is not one
2019-04-17 09:05:05 -04:00
Bryan Housel
0d70f0670d
Better test for whether untagged entities can be deleted
...
Now entities can always be deleted if the user created them in the first
place.. We skip asking `operationDelete.disabled()` because there are reasons
why this may return true.
A thing that could happen before:
- User creates an untagged entity
- Quits browser and restarts iD
- Restores history
- The entity happens to be in a part of the map that hasn't been loaded yet,
so `operationDelete.disabled()` returns true, and the issue ends up
as a 'warning' instead of an 'error'
2019-04-16 22:56:43 -04:00
Quincy Morgan
2967d2d020
Add support for icons from the noun project ( close #5691 )
2019-04-16 18:06:05 -07:00
Quincy Morgan
d65e25d8bf
Add preset for natural=shingle ( close #6155 )
2019-04-16 14:41:22 -07:00
Quincy Morgan
84b7e08bf8
Don't select the previously-edited node when undoing/redoing (re: #5831 )
2019-04-16 14:21:15 -07:00
Bryan Housel
01d2e3eaf3
Replace validator tooltip with reference function, add tag diff
2019-04-16 17:07:53 -04:00
Quincy Morgan
a30e1563b5
Add Windsock preset
2019-04-16 12:31:31 -07:00
Quincy Morgan
323854f88f
Add aeroway=jet_bridge preset
...
Deprecate aeroway=aerobridge
2019-04-16 12:15:22 -07:00
Quincy Morgan
6661246b81
Update route presets to use field inheritance
2019-04-16 11:52:55 -07:00
Quincy Morgan
3a2757576b
Add Monorail Route, Turnstile, and Transit Stop Area Group presets ( close #5757 )
2019-04-16 11:41:56 -07:00
Quincy Morgan
5a4283bba1
Add Water Turbine preset
2019-04-16 11:01:42 -07:00
Quincy Morgan
fa1ec8f097
Lower tourism=attraction matchScore to avoid overriding defining presets
2019-04-16 10:44:51 -07:00
Quincy Morgan
e89eee5ae4
Add natural=cape preset
2019-04-16 10:12:45 -07:00
Quincy Morgan
72266af1e5
Show case-sensitive taginfo results for Manufacturer field
2019-04-16 09:59:00 -07:00
Bryan Housel
8afd8887cf
Restyle much of the issues and entity issues - avoid tooltips
2019-04-16 12:33:48 -04:00
Quincy Morgan
184f4a17e5
Update icon for Ticket Seller
2019-04-16 08:57:41 -07:00
Quincy Morgan
64eb437a8a
Add Lighting Store preset for shop=lighting
2019-04-15 18:01:12 -07:00
Quincy Morgan
d5845cf8fe
Update icon for Travel Agency
2019-04-15 17:54:20 -07:00
Quincy Morgan
9cf3b1fc38
Add generic preset for the "playground" key with a corresponding field
2019-04-15 17:35:07 -07:00
Quincy Morgan
3ad2046063
Add Tabletop Game Store preset for shop=games
2019-04-15 17:21:18 -07:00
Quincy Morgan
f9299f4f75
Add Manufacturer field for various man made feature types
...
Remove area geometry from power=switch, as per the wiki and usage
Tweak fields for some presets
2019-04-15 17:05:18 -07:00
Quincy Morgan
5335104521
Add seamark:type=light_major to addTags of man_made=lighthouse
2019-04-15 16:23:17 -07:00
Quincy Morgan
5d22a618c5
Add derived data for name-suggestion-index 2.0.1
2019-04-15 16:15:31 -07:00
Quincy Morgan
b02bb74d31
Update rollup and mapillary ( close #6166 , close #6143 )
2019-04-15 15:49:10 -07:00
Quincy Morgan
e3e3fd1ad3
Fix Wikipedia field test
2019-04-15 15:32:57 -07:00
Bryan Housel
294ce00211
substitute 'info' for 'data' (so I can use 'info' for an info drawer)
2019-04-15 16:56:21 -04:00
Quincy Morgan
80a6e1806f
Don't remove wikidata tag when clearing the wikipedia field value ( close #4322 )
2019-04-15 13:39:30 -07:00
Quincy Morgan
f66836dd37
Prevent photo viewer from overlapping info panes or panels ( close #5212 )
2019-04-15 12:12:23 -07:00
Quincy Morgan
6bdf6c5127
Fix minimap position ( close #6167 )
...
Flexbox panes and info panels to prevent overlap (close #4733 )
2019-04-15 11:50:54 -07:00
Bryan Housel
f6708fd84c
Hide feature if _all_ rules hidden (was: if _any_ rule hidden)
...
This matters as we start to match more rules for hybrid features like rail
platforms, which now match both path and rail. We want to show them unless the
user has hidden all the rules that they match.
Also this changes the test code slightly to actually test rule matching.
Before it was really just testing hiding.
2019-04-15 10:20:58 -04:00
Bryan Housel
15e73d2836
Trying out simpler outdated_tags code, with tag diff
2019-04-14 17:25:51 -04:00
Bryan Housel
5a0f21fa7a
Add ability for a fix to be auto, and add auto fix buttons
...
This also changes some of the list items that were previously buttons to divs,
since we can't nest buttons.
2019-04-13 10:50:47 -04:00
Bryan Housel
ce89d7359b
Sort issues list by dist from the map center, cutoff at 1000 items
2019-04-12 14:26:05 -04:00
Quincy Morgan
28db597e8f
Fix an issue where pane tooltips could appear misplaced
2019-04-12 10:21:53 -07:00
Quincy Morgan
0c29054c36
Make keyboard shortcut modal responsive on small displays
2019-04-12 10:18:36 -07:00
Bryan Housel
da1fe8343a
Remove mode checking code from missing_tag, as these validate anytime
...
This was causing it to not immediately flag "area with no tags" as an error.
(until the user edited the area some other way)
2019-04-12 12:49:47 -04:00
Bryan Housel
0ec9cd91dc
Warm up the feature matching cache upon merging fetched data
...
Also rename `_features` to `_rules`, since we use the word features too much
2019-04-12 12:25:37 -04:00
Bryan Housel
36d1f3701f
Allow osm service tests to work with deferred parsing
2019-04-12 12:11:35 -04:00
Bryan Housel
efcd6b6bc2
Consolidate idle functions into idle.js, defer validation after merge
2019-04-12 10:49:21 -04:00
Bryan Housel
0dd262d1dd
Don't dispatch 'change' on history.merged, dispatch 'merge' only
...
Change performs an expensive immediate redraw, and merge can schedule
a redraw for later.
2019-04-12 09:56:18 -04:00
Bryan Housel
dda810683e
Adjust matchscore, feature filters to boost physical tags over boundary
...
(closes #6162 )
2019-04-11 21:26:53 -04:00
Bryan Housel
2b050549eb
Avoid reflow in minimap by hardcoding its dimensions
2019-04-11 21:05:04 -04:00
Bryan Housel
31b64f253c
Rerun validation when assigning a preset
2019-04-11 15:11:29 -04:00
Bryan Housel
96c277f46d
Simplify issue-options css
2019-04-11 14:59:32 -04:00
Bryan Housel
35049ab40a
Replace getErrors/getWarnings with getIssues/getIssuesBySeverity
...
The idea here is that the validator will now hold onto lots of issues,
but the calling code will only want some small subset of them
(edited/everything) (inview/everywhere) and can pass these as options
so that we don't need filtering code spread throughtout the app.
2019-04-11 14:48:23 -04:00
Bryan Housel
569cbd1a92
entity.v can be 0, so check for === undefined instead
2019-04-11 14:40:34 -04:00
Bryan Housel
4c563f4edf
Add validation options
...
Check: [] My Edits [] Everything
Where: [] In View [] Everywhere
2019-04-11 11:55:17 -04:00