Commit Graph

2586 Commits

Author SHA1 Message Date
Bryan Housel
5b9707004f Remove lodash includes from graph, switch parentWays/parentRels to Set
(re: #6087)
2019-03-26 11:55:38 -04:00
Bryan Housel
9e4cf126c3 Remove unneeded utilGetPrototypeOf and just use Object.getPrototypeOf 2019-03-25 22:16:58 -04:00
Bryan Housel
eb0d0a35d1 Remove lodash pull
(re: #6087)
2019-03-25 22:03:39 -04:00
Bryan Housel
1ce4f0ad6a Remove lodash without
(re: #6087)
2019-03-25 21:56:54 -04:00
Quincy Morgan
2895ff9405 Break modes toolbar item into add favorites and add recent items 2019-03-25 17:00:33 -04:00
Quincy Morgan
f8b8739855 Add optional uninstall function to tools 2019-03-25 13:48:59 -04:00
Bryan Housel
daaab30d13 Add workaround for Array.from when running in PhantomJS
https://github.com/openstreetmap/iD/issues/6087#issuecomment-476219308

Also added `npm run phantom` to test workarounds like this quickly
2019-03-25 12:47:55 -04:00
Quincy Morgan
776bf103d8 Reorganize toolbar code 2019-03-25 12:25:04 -04:00
Quincy Morgan
c5e66816d3 Add labels to toolbar items (close #6098) 2019-03-25 11:45:51 -04:00
Bryan Housel
b5c2918a24 Remove lodash without and others from history imageryUsed
(re: #6087)

I ran into some trouble here, it looks like `Array.from()` polyfill
doesn't work for Sets in PhantomJS
2019-03-24 01:50:54 -04:00
Bryan Housel
963a4127db Remove lodash remove
(re: #6087)
2019-03-24 01:50:32 -04:00
Bryan Housel
5280d07bad Remove lodash reject (re: #6087) 2019-03-23 12:51:13 -04:00
Bryan Housel
76e0d13729 Remove lodash every and filter
(re: #6087)
2019-03-23 01:22:56 -04:00
Bryan Housel
7a6c63fcc5 Remove lodash extend (re: #6087) 2019-03-23 00:38:39 -04:00
Bryan Housel
7e6f68a1b2 Remove lodash some
(re: #6087)
2019-03-23 00:07:52 -04:00
Bryan Housel
0e90167513 Remove lodash clone
(re: #6087)
2019-03-22 23:18:25 -04:00
Bryan Housel
ff4f8f005f Remove lodash find and findIndex
(re: #6087)
2019-03-22 17:31:41 -04:00
Bryan Housel
11bfeaabfc Add browser-polyfills, remove lodash assign, compact, values
(re: #6087)
2019-03-22 17:14:41 -04:00
Bryan Housel
f6c284a3be Minor code cleanups, swap some math for existing functions 2019-03-22 15:29:48 -04:00
J Guthrie
97dc659b0f Fixed linting - moved function out of loop 2019-03-22 15:29:48 -04:00
J Guthrie
9d452c9ffe Fix lint issue 2019-03-22 15:29:48 -04:00
J Guthrie
c3295cc174 Remove left over logging statements 2019-03-22 15:29:48 -04:00
J Guthrie
470d6c257d Update to work on ways going in opposite directions 2019-03-22 15:29:48 -04:00
J Guthrie
e786bd54b1 Minor syntax improvement 2019-03-22 15:29:48 -04:00
J Guthrie
a3930c35a3 Fixed sort to sort by integer 2019-03-22 15:29:48 -04:00
J Guthrie
df4f25a02c Use lodash _includes instead of standard javascript version 2019-03-22 15:29:48 -04:00
J Guthrie
d07418c654 Enforce either 0 or 2 selected vertices 2019-03-22 15:29:47 -04:00
J Guthrie
24f83ba1ae Attempt to fix travis fail 2019-03-22 15:29:47 -04:00
J Guthrie
04da13dae3 Added 2-vertex straighten to actionStraighten
- Split selectedIDs between nodes and ways
 - Slice the length of nodes to be straighten to between the 2 selected nodes
2019-03-22 15:29:47 -04:00
J Guthrie
16513b1194 Update operationStraighten.available() function
- operationStraighten now allows for two vertices to be selected and straightened between
 - Added test cases
2019-03-22 15:29:47 -04:00
J Guthrie
c28f0a77fe Implement new functionality 2019-03-22 15:29:47 -04:00
Quincy Morgan
e59bb75bcc Make top toolbar item spacing more consistent
Prepare top toolbar to be more dynamic
2019-03-22 13:42:47 -04:00
Quincy Morgan
4addd0e216 Add presets for basic indoor features (close #6082)
Don't use deprecated presets to determine area keys
2019-03-22 11:40:03 -04:00
Bryan Housel
00a008a31d Changed "Reset All" button to a link 2019-03-22 11:23:52 -04:00
Bryan Housel
18683e93a0 Merge branch 'master' of https://github.com/alphagamer7/iD into alphagamer7-master 2019-03-22 11:16:13 -04:00
Quincy Morgan
e6bc7efb7f Disallow favoriting of unsearchable presets
Rename preset favorite button class and file
2019-03-22 09:20:18 -04:00
Bryan Housel
c7e375cbd7 Preserve directionality of sided way when joining to non-sided ways
(closes #6033)
2019-03-21 22:19:05 -04:00
Quincy Morgan
705f15aadd Speed up search by cacheing preset text values and not scrolling to focused node as often 2019-03-21 11:19:20 -04:00
Quincy Morgan
f114945628 Flag disconnected highway areas and multipolygons (close #6075)
Don't flag highways connected only to highway multipolygons
2019-03-21 10:13:59 -04:00
Bryan Housel
99d46e9f70 Upgrade to name-suggestion-index v2
(closes #6073)
2019-03-20 23:12:05 -04:00
Quincy Morgan
790d2e867e Flag private contact information on houses and other residential buildings (close #5850) 2019-03-20 17:14:44 -04:00
Quincy Morgan
9d940fffdb Fix issue where untagged multipolygon member lines would render as lines instead of area edges
Show recents in the ribbon again
2019-03-20 15:05:35 -04:00
Quincy Morgan
1e6a2594d3 Fix crash on selecting relation preset 2019-03-20 14:18:57 -04:00
Quincy Morgan
5fc8c90e65 Always align the search results popover with the search field 2019-03-20 12:37:58 -04:00
Quincy Morgan
d7b8c10ff8 Add tag reference button to grouped-by-name preset results 2019-03-20 11:45:05 -04:00
Quincy Morgan
d90843654e Group preset search results with the same name (close #6059) 2019-03-20 11:33:54 -04:00
Quincy Morgan
e314df7b08 Use iD point, line, and area icons for those presets in the search results 2019-03-19 15:57:59 -04:00
Quincy Morgan
fc7cc3177d Make conditions for being able to delete features via quick fixes the same as for the delete operation (close #6062)
Simplify some validation code
2019-03-19 12:39:41 -04:00
Quincy Morgan
c3216ddeca Add geometry filter controls to the add feature results dropdown (close #6056) 2019-03-18 14:52:44 -04:00
Quincy Morgan
7e92f6aa89 Combine vertex and point geometries into a single Point fallback preset 2019-03-18 12:36:20 -04:00