Commit Graph

15 Commits

Author SHA1 Message Date
Bryan Housel
8abc39461b Fallback Area preset should preserve the area=yes tag
(closes #4424)
2017-10-10 20:54:41 -04:00
Bryan Housel
d53e473474 Convert lodah-es and d3 to named imports for presets 2017-09-25 14:20:24 -04:00
Bryan Housel
9c738cb5b7 Restore preset ordering test with leading terms (regressed in af776501)
The ordering did not actually change, but the test was failing because
it was throwing away the preset terms.. preset.terms() actually returns
translated terms not original terms, and should default to returning the
original terms when translations are not available (like in testing).
2017-09-10 12:56:07 -04:00
Bryan Housel
9882cf1d7b Don't rm old preset tags post merge, but do rm area=yes when setting preset
(closes #4114)
2017-06-22 17:49:45 -04:00
Bryan Housel
eda2650d7b Omit name tag when looking up preset documentation
(closes #4059)
2017-05-21 22:05:40 -04:00
Bryan Housel
86c5db8c70 Add ability to specify the reference lookup for presets
(closes #3227)
2017-05-07 11:52:30 -04:00
Bryan Housel
5e7919e78c Consider matchScore when sorting the preset list 2017-03-12 19:01:15 -04:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel
a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright
6341d4e4b5 one-shot build (#3266)
* One-shot development

* Move jsonp to module
* Tooltip -> module
* Remove d3.jsonp
* Fix tooltip lint
* Load all libs but d3 itself with require
* Add top-level brfs

* Unformat intro graph
2016-08-10 15:25:19 -07:00
Minh Nguyễn
e99afbe1c1 Fixed taginfo for relation presets
taginfo’s relation/wiki_pages method no longer places results in a data property.

Also, only use relation/wiki_pages for top-level relation presets. More specific presets behave like non-relation presets. For example, the bicycle route relation has the tags type=route route=bicycle, so route=bicycle is what we’re interested in.

Fixes #3297.
2016-08-02 00:18:52 -07:00
Tom MacWright
af776501d3 Require locale, second pass (#3259)
* Require locale, second pass

* Remove t global, remove t where it isn't needed
2016-07-21 16:20:13 -04:00
Tom MacWright
604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Bryan Housel
0b3df36da0 Replace diacritics when doing fuzzy searches
(closes #3159)
2016-07-07 23:54:00 -04:00
Beau Gunderson
4dbce64b7d migrate presets to ES6 modules for #3118 2016-06-14 20:44:05 -07:00