Commit Graph

48 Commits

Author SHA1 Message Date
Bryan Housel
3896b2282f Remove lodash isNaN, isNumber, isString, bind, uniqBy
(re: 6087)
2019-03-27 23:11:45 -04:00
Quincy Morgan
53625a9364 Fix issues with the walkthrough 2019-03-27 17:41:15 -04:00
Bryan Housel
5b4aa529de Replace lodash uniq
(re: 6087)
2019-03-27 02:43:25 -04:00
Bryan Housel
5280d07bad Remove lodash reject (re: #6087) 2019-03-23 12:51:13 -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
Quincy Morgan
7e92f6aa89 Combine vertex and point geometries into a single Point fallback preset 2019-03-18 12:36:20 -04:00
Quincy Morgan
9216c93334 Remove item from recents when removing it as a favorite from the ribbon so it doesn't still appear 2019-03-08 11:21:19 -05:00
Quincy Morgan
8e0ed8cd8b Make recent presets reorder-able in the ribbon 2019-03-08 10:54:18 -05:00
Quincy Morgan
4a39d8a444 Automatically show recent presets in the top bar ribbon 2019-03-08 10:10:31 -05:00
Quincy Morgan
213d0ee3e8 Move preset favoriting functions from core/context.js to presets/index.js
Make recent presets persistent and compatible with favorite presets
2019-03-07 16:49:29 -05:00
Quincy Morgan
7eb007d27a Make recent presets geometry-specific 2019-03-07 12:14:18 -05:00
Quincy Morgan
9c19a1d714 Nicer display of name suggestion index presets 2019-03-06 12:19:44 -05:00
Quincy Morgan
36ad1b0242 Use "building" label instead of "area" when adding POIs as buildings 2019-03-06 11:39:17 -05:00
Quincy Morgan
12b1af7002 Don't say tags imply area for tags that iD doesn't have a preset for (close #5933) 2019-02-25 12:42:39 -05:00
Quincy Morgan
ced652806b Fix an issue where some tagged nodes or existing vertices could not be snapped to (close #5942) 2019-02-25 08:54:30 -05:00
Quincy Morgan
96a1ec92c7 Fix prior commit
Apply same node snap suppression behavior to dragging vertices as to drawing ways
2019-02-15 10:28:43 -05:00
Quincy Morgan
11dc86ca9b Add check for entity geometry type in allowsVertex function (re: #5875) 2019-02-11 09:59:43 -05:00
Max Grossman
b7786fd081 if on address interpolation, match and don't look through keys...
ref #5811
2019-02-01 17:58:15 -05:00
Max Grossman
58e31bc45a initial update to draw modes and hover behavior
ref #5811
2019-02-01 17:34:40 -05:00
Quincy Morgan
9f7ef21e5c The additional fields dropdown now mixes universal and moreFields and is sorted alphabetically 2019-01-17 11:37:05 -05:00
Quincy Morgan
ae7c099c8a Moved field inheritance resolution from the data build to the preset initialization
Removed the data build check for duplicate values between fields and moreFields
Renamed the shop field from Type to Shop Type
Renamed the beauty field from Shop Type to Beauty Specialty
Added the brand field to the shop preset under moreFields
2019-01-15 09:53:26 -05:00
Bryan Housel
5a2049b421 Drop extra whitespace, make sure service exists before using it 2018-12-18 15:38:53 -05:00
Max Grossman
8f33a85a12 make collection.index function to handle failing tests 2018-12-17 17:16:10 -05:00
Max Grossman
d87b1822f7 add/make visible weakly matched presets 2018-12-14 15:42:25 -05:00
Max Grossman
f627f1e659 make all presets visible on init!! 2018-12-14 13:29:17 -05:00
Max Grossman
1b51b8bc57 adding tests and updating/fixing external presets logic 2018-12-14 13:23:58 -05:00
Max Grossman
c897331cd1 presets test w/build 2018-12-13 13:30:38 -05:00
Max Grossman
96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Max Grossman
f3e6459191 working on preset visibility 2018-12-13 11:16:24 -05:00
Quincy Morgan
82263aea7c Adds a Wikidata field 2018-11-18 19:38:19 -05:00
Bryan Housel
05a5563a41 Use a transient to memoize preset.match
This slightly speeds up some things, including label rendering
2018-11-10 00:05:53 -05:00
Bryan Housel
878bfdd144 Exclude non-searchable presets from the preset recently-used list
(closes #5450)
2018-11-07 11:45:39 -05:00
Max Grossman
3a0f8ddd09 infer geometries
ref #remote-presets
2018-08-08 13:21:35 -04:00
Max Grossman
f5c21ddaaf some geometry inferring!!!
ref #remote-presets
2018-08-08 08:50:45 -04:00
Max Grossman
b93444de75 working on isArea-ish equivalent for mapcss selector objects
ref #remote-presets
2018-08-02 18:03:13 -04:00
Max Grossman
5b1dee3779 add tests for mapcss checks
ref #remote-presets
2018-08-02 12:47:47 -04:00
Max Grossman
db78df55c8 get validaiton objects on context
ref #remote-presets
2018-07-31 13:41:24 -04:00
Max Grossman
873b451bef move data presets overwritting to the build function
ref #remote-presets'
2018-07-19 15:39:20 -04:00
Max Grossman
57ea240177 make uiModes options strict to match only those within defaults
ref #remote-presets
2018-07-18 10:50:54 -04:00
Max Grossman
659a291e89 add core overwrite for external preset source
ref #remote-presets
2018-07-17 16:43:00 -04:00
Bryan Housel
8928e95da2 Allow fallback presets (area, line, point) to appear in the recent list
(closes #4612)
2018-01-02 15:07:35 -05:00
Bryan Housel
d53e473474 Convert lodah-es and d3 to named imports for presets 2017-09-25 14:20:24 -04:00
Bryan Housel
7b9af48c4d If any part of an address is present, allow fallback to "Address" preset
(closes #4353)
2017-09-19 16:55:18 -04:00
Bryan Housel
87618f9a6b Make it so preset.init() can be called again to reset the datastructures
(this is mostly so I can reset recent.collection for the walkthrough)
2017-04-11 22:34:02 -04:00
Bryan Housel
de44a73e05 Fix areaKeys logic to better handle presets that can be area or line 2017-03-12 15:29:14 -04:00
Bryan Housel
9b7d79a3fe Use live bound object for presets object, change context.presets() getter 2016-11-14 15:44:02 -05:00
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Beau Gunderson
4dbce64b7d migrate presets to ES6 modules for #3118 2016-06-14 20:44:05 -07:00