16273 Commits

Author SHA1 Message Date
Bryan Housel 05f0e9f76f Remove lodash isMatch
(re: #6087)
2019-03-30 09:36:24 -04:00
Bryan Housel 7c01e63efa Remove unnecessary cloning from history walkthrough stuff
(re: #6087)
2019-03-30 09:09:33 -04:00
Bryan Housel cda8f657ac Swap fast-deep-equal for lodash isEqual
(re: #6087)
2019-03-29 22:17:29 -04:00
Bryan Housel 3673a7c7e7 Remove lodash cloneDeep
(re #6087)

- some were able to do a different approach
    (validations/almost_junction, and settings/*)
- some were replaced with custom speedy cloners
   (in orthogonalize clonePoints and osm.js cloneNoteCache)
- some just replaced with JSON.parse(JSON.stringify()))
2019-03-29 17:18:40 -04:00
Bryan Housel d5abe468b9 Remove rest of the lodash iterators: map, reduce, forEach
(re: #6087)
2019-03-29 15:14:21 -04:00
Bryan Housel 0d79e3e616 Remove lodash cloneDeep and forOwn from context.js
(re: #6087)

Tests in Phantom run twice as fast now!
2019-03-29 12:57:37 -04:00
Quincy Morgan 0ca869a525 Expand preset documentation 2019-03-29 10:43:54 -04:00
Bryan Housel ba6283af98 Fix point averaging code in improveOSM service
re: https://github.com/openstreetmap/iD/commit/4a8c20c56e4549da94555958acd34f649ca18fe9#r32961438
2019-03-29 09:06:27 -04:00
Bryan Housel 01a6130751 Remove lodash merge.. also don't need esm dependency anymore
(re: #6087)
2019-03-29 01:27:38 -04:00
Bryan Housel 4a8c20c56e Remove lodash forEach
(re: 6087)
2019-03-28 19:50:20 -04:00
Quincy Morgan 5a0f8b3453 Autocomplete labels in the Wikidata field (close #5544) 2019-03-28 19:34:47 -04:00
Quincy Morgan 2728f07c84 Use depreacted.json instead of preset replacement property for landuse water features 2019-03-28 14:49:41 -04:00
Quincy Morgan 1d3b6a3483 Use large Facebook brand images instead of square 2019-03-28 14:42:12 -04:00
Quincy Morgan 3d4c5c6087 Display logos for name-suggestion-index brands in the sidebar (close #5167) 2019-03-28 14:20:46 -04:00
Quincy Morgan 0e6b5d46d6 Add Commemorative Plaque preset
Deprecate memorial=plate
2019-03-28 12:21:58 -04:00
Quincy Morgan 86d6b660c3 Lower match score of amenity/vending_machine preset so it doesn't override more specific presets 2019-03-28 12:04:58 -04:00
Quincy Morgan 213f15ce99 Merge branch 'master' of https://github.com/openstreetmap/iD 2019-03-28 11:44:44 -04:00
Quincy Morgan b12e7277df Add countryCodes property to preset schema
Copy countryCodes from name suggestion index
Use countryCodes to filter the preset search results (close #6124)
2019-03-28 11:44:05 -04:00
Bryan Housel f25dd7ad23 Fix misspelling "These feature" -> "These features" 2019-03-28 11:13:31 -04:00
Bryan Housel d18b951c67 Remove lodash flatten and flattenDeep
(re: #6087)
2019-03-28 10:04:46 -04:00
Quincy Morgan f4367f96c0 Add ignored warning counts to the changeset tags (close #6123) 2019-03-28 09:46:59 -04:00
Bryan Housel 3896b2282f Remove lodash isNaN, isNumber, isString, bind, uniqBy
(re: 6087)
2019-03-27 23:11:45 -04:00
Quincy Morgan 6fb8fcb86b Make map pan to the location of the undone edit when undoing instead of the location of the edit before that (close #5831) 2019-03-27 18:02:21 -04:00
Quincy Morgan 53625a9364 Fix issues with the walkthrough 2019-03-27 17:41:15 -04:00
Quincy Morgan d123d1eb21 Add more search terms for highway milestone preset 2019-03-27 17:19:13 -04:00
Quincy Morgan 748c9c9598 Filter out deprecated tag values from combobox suggestions (close #6084) 2019-03-27 17:15:10 -04:00
Bryan Housel 3d80e6505f Remove lodash chunk, groupBy
(re: #6087)
2019-03-27 16:18:41 -04:00
Quincy Morgan 4cc8d796a6 Prevent deleting features with Wikidata tags (close #5853) 2019-03-27 16:02:02 -04:00
Quincy Morgan 53bdd85db8 Add Max Weight field to highways with a bridge tag 2019-03-27 15:28:39 -04:00
Quincy Morgan 56cf7542be Fix error when trying to add a feature to a relation (close #6095) 2019-03-27 15:03:33 -04:00
Quincy Morgan 14475b19a1 Fix note and custom data icon positioning (cloe #6102) 2019-03-27 14:50:33 -04:00
Quincy Morgan 5d61aae4b4 Add Sports field to the Sporting Goods Store preset 2019-03-27 14:37:47 -04:00
Quincy Morgan 7184db9d3a Make sure shaded elements stay in front of everything else 2019-03-27 14:37:17 -04:00
Quincy Morgan 67ca9bf300 Add vertex geometry to Fishing Spot preset 2019-03-27 14:31:21 -04:00
Quincy Morgan f3836c36aa Fix toolbar tooltip placement (close #6112)
Tweak pane positions for the new toolbar height
2019-03-27 14:18:04 -04:00
Bryan Housel 0edd10001e Removing more lodash: isEmpty, isNumber, some map/reduce/forEach
(re: #6087)
2019-03-27 13:32:35 -04:00
Quincy Morgan c8c7d86e13 Add line geometry to tourism=attraction preset 2019-03-27 13:29:01 -04:00
Quincy Morgan bf31d86868 Merge pull request #6120 from prateeklal/flood-prone
Added checkbox for flood_prone key #6117
2019-03-27 13:14:51 -04:00
Quincy Morgan 4afd29a50a Hide ribbon and favoriting UI for now 2019-03-27 13:12:28 -04:00
Prateek Lal ee20d579c1 Added checkbox for flood_prone key #6117 2019-03-27 14:01:05 -03:00
Quincy Morgan d76baa9b83 Deprecated shop=fashion and shop=boutique (close #6109)
Add clothing-related search terms to Clothing Shop preset
2019-03-27 09:53:26 -04:00
Bryan Housel 8d210e8adb Remove lodash indexOf
(re: 6087)
2019-03-27 09:45:53 -04:00
Bryan Housel 710966801f Make sure community index filters on value array, not object
(closes #6092)

This is breakage related to #6087 in replacing lodash `_.filter`
(which can iterate (v,k) over an object) with `Array.filter`
2019-03-27 09:34:38 -04:00
Quincy Morgan 7f56a34b16 Add Building Part preset (close #6114) 2019-03-27 09:31:46 -04:00
Bryan Housel 31ae7fc800 Make sure hashtag checkers work with arrays and not nulls
(closes #6116)

This is breakage related to #6087 in replacing _.uniqBy with a Set
The lodash functions are much more tolerant of nulls and dodgy inputs.
2019-03-27 09:20:19 -04:00
Bryan Housel 5b4aa529de Replace lodash uniq
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel 5e1ff74199 Replace lodash difference, intersects, union
(re: 6087)
2019-03-27 01:22:11 -04:00
Bryan Housel c5c0d27c85 Add util functions for set operations 2019-03-26 17:50:00 -04:00
Quincy Morgan bab9e6b2b4 Add uninstall functions to several toolbar items
Tweak toolbar item spacing
2019-03-26 16:36:30 -04:00
Quincy Morgan 67fc051632 Tweak newFeature in select mode 2019-03-26 16:34:23 -04:00