Commit Graph

32 Commits

Author SHA1 Message Date
Ansis Brammanis 0e72dced55 preset search tweaks
prioritize earlier leading name matches
Parking over Bicycle Parking

prioritize shorter matched names
Park over Parking
2013-03-18 16:29:20 -04:00
Ansis Brammanis ae98cd92ae when matching presets, count 'area' match as half 2013-03-18 16:13:59 -04:00
John Firebaugh 7912b33b4c Exclude presets with searchable: false from search (fixes #932) 2013-03-17 20:59:11 -07:00
Ansis Brammanis a18f6f4116 Fix unintentional case sensitivity in preset search 2013-03-15 10:53:33 -04:00
John Firebaugh b840b7e118 Update translations 2013-03-14 17:58:32 -07:00
John Firebaugh d0336a0995 Extract preset names to translations (fixes #1044) 2013-03-14 17:27:34 -07:00
Ansis Brammanis 547f12f822 Fields now have an optional geometry type
field defaults aren't geometry specific
the geometry type determines whether
that field (and default value) apply
to an entity
2013-03-14 16:48:09 -04:00
John Firebaugh 51a217caa2 Refine tagged vertex rendering
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh 41e696a2c5 Flatten presets match properties 2013-03-13 12:45:20 -07:00
John Firebaugh c1aa8e0270 form/forms -> field/fields 2013-03-13 11:34:21 -07:00
John Firebaugh 8509d9f620 Remove inline forms
No good way to give them IDs; better to be consistent.
2013-03-12 17:19:11 -07:00
Ansis Brammanis ca1a7cf7f6 add ability to add general form fields 2013-03-12 17:42:55 -04:00
John Firebaugh 107f6cfeba type -> geometry 2013-03-12 13:00:32 -07:00
John Firebaugh 42be94c97f Localize address placeholders 2013-03-12 11:19:45 -07:00
John Firebaugh a5885ce3c2 Localize preset form labels 2013-03-12 11:19:45 -07:00
John Firebaugh af7fb41d4b Don't use hand as placeholder icon (#942) 2013-03-09 09:34:22 -08:00
John Firebaugh 60ff6fc021 Use maki icons for points (fixes #881) 2013-03-08 20:22:06 -08:00
Tom MacWright 7925662079 Avoid writing undefined properties in JSON localStorage 2013-03-08 14:07:02 -05:00
Ansis Brammanis f72e294156 score wildcard matches as half a match
so that building=* doesn't get prioritized over more
specific one tag presets, like amenity=hospital
2013-03-08 11:36:57 -05:00
Ansis Brammanis a8eb59a502 More lenient fuzzy preset search
Also remove unintentional double penalty for exceeding
length of name.
2013-03-08 00:33:21 -05:00
Ansis Brammanis 61133a6f8a improve search
- prioritize exact matches of words, either in name or terms
- prioritize fuzzy name matches over fuzzy term matches
- reduce max difference to 2
2013-03-07 13:03:19 -05:00
John Firebaugh 87fd5d871c Build data into package 2013-03-06 16:16:12 -08:00
Tom MacWright 662cfeb576 Improve preset searching
Add preset searching of terms
Add more synonyms, improve matching - levenstein for terms too.
2013-03-06 16:54:32 -05:00
Tom MacWright d8e7936d8a Fix CORS error catching on save. Fixes #788. Fixes #451 2013-03-05 14:44:27 -05:00
Ansis Brammanis 3a680b027f add tests for iD.presets.Preset 2013-03-05 13:06:21 -05:00
Ansis Brammanis 3fd7217894 form attribute optional for presets 2013-03-05 11:27:15 -05:00
Ansis Brammanis 053f86f82b move preset tag application to presets/preset.js 2013-03-04 19:16:46 -05:00
Ansis Brammanis d1d90ab691 misc preset 2013-03-01 18:43:47 -05:00
Ansis Brammanis 7f6f606a7c extract preset fields 2013-03-01 17:08:23 -05:00
Ansis Brammanis eae4aeb3ba presets.js to collection.js 2013-03-01 16:18:12 -05:00
Ansis Brammanis 0c24821c87 re-add preset category support 2013-03-01 16:13:48 -05:00
Ansis Brammanis 9d67e8e516 Start reorganizing presets 2013-03-01 15:48:20 -05:00