Commit Graph

91 Commits

Author SHA1 Message Date
Bryan Housel c0040f3cd6 Add caseSensitive option for combofields, use for source=*
(closes #4558)
2017-11-26 19:30:19 -05:00
Bryan Housel b882ae46bb Add code so tunnel=building_passage doesn't default to layer=-1
(closes #4516)
2017-11-09 14:54:00 -05:00
Bryan Housel 2b47ac4b3e Replace tunnel_waterway combo with structure_water radio
(closes #4384)

- adds the `layer` field so it works like the structure field on highways
- also defaults the tunnel type to `culvert` for waterways
- also fixed so that `layer` gets removed if user changes types or clicks delete
2017-10-02 11:24:59 -04:00
Bryan Housel 7376787c44 If showing layer= field, add to field.keys so delete will remove it 2017-10-02 09:40:54 -04:00
Bryan Housel 7ba3bf3a45 Don't hard code form-field-structure field name
(radiobox with structure extras can be used for other fields)
2017-10-02 09:26:54 -04:00
Bryan Housel 6d65a1c89a Convert lodah-es and d3 to named imports for ui/fields 2017-09-26 00:17:13 -04:00
Bryan Housel 746b54f3d2 Make combo field work without an entity 2017-08-15 15:34:34 -04:00
Bryan Housel 3e168935d1 Swap increment/decrement spin buttons when RTL 2017-08-06 22:00:30 -04:00
Bryan Housel 077ee6d4b5 refactor structure type field to use uiField 2017-08-05 23:30:34 -04:00
Bryan Housel 8a399096b2 Add options for fields, allow unwrapped fields (no label, buttons, etc) 2017-08-05 00:33:20 -04:00
Bryan Housel 76e605568e WIP: refactor bridge/tunnel layer field to use uiField 2017-08-04 17:45:47 -04:00
Bryan Housel e8bd6bff6c Fix wikidata clearing, failed lookup when entity no longer selected
(closes #3987)
(closes #3684)
(related #3929)
2017-06-23 16:37:13 -04:00
Wille Marcel e6f2d27a9c invert position of increment/decrement buttons in structure layers 2017-05-08 11:34:25 -03:00
Wille Marcel 649ea21a2c invert position of increment and decrement buttons 2017-05-08 10:54:21 -03:00
Bryan Housel 92d6d51724 Mock geocoder in walkthrough so we can localize address field 2017-04-21 17:53:37 -04:00
Bryan Housel 6f8770241f Merge pull request #3921 from openstreetmap/walkthrough-updates
Walkthrough updates
2017-04-18 14:13:14 -04:00
Bryan Housel 5f44c9a00a Add combobox menus to id-container instead of document.body
(re: https://github.com/openstreetmap/iD/issues/3925#issuecomment-290718356)
2017-03-31 13:44:55 -04:00
Bryan Housel 1486c3db28 Make sure reverserSetText only called for onewayCheck field 2017-03-25 22:48:40 -04:00
Bryan Housel 21321108f9 Fix wikipedia field link button
(closes #2024)
2017-03-22 02:39:07 -04:00
Bryan Housel c3502a4e16 Only add the ellipses if the placeholder doesn't already end in one
(closes #3920)
2017-03-21 22:11:35 -04:00
Bryan Housel 1ecb456a3c Support 1 and -1 in onewayCheck field
(closes #3910)
2017-03-20 22:23:52 -04:00
Bryan Housel d1ab5d6fc4 Bring over some more code from combo, add translation strings 2017-03-20 13:16:56 -04:00
Bryan Housel 02f1eac72b Add snake/unsnake helpers, remember recently used type tag 2017-03-19 11:44:33 -04:00
Bryan Housel 1f49bf81a4 Add a taginfo combo to the structure type field 2017-03-18 11:05:30 -04:00
Bryan Housel 74cc038c57 Add layer and type subfields below structure field
(see #2087)
2017-03-18 02:09:33 -04:00
Bryan Housel ea2a1e10b1 Make sure multiData array is updated when item is removed 2017-03-17 13:32:45 -04:00
Bryan Housel 1205e1758e Add semiCombo field for setting values in semicolon-delimited lists
(closes #3905)
2017-03-17 01:47:00 -04:00
Bryan Housel 2b50d96f38 Remove unused variable - eslint warning 2017-03-10 22:48:21 -05:00
Bryan Housel b1b47760ac Adjust reverser button styling, make it work on tag change 2017-03-03 17:00:24 -05:00
Bryan Housel 74155a9286 Add reverser button to onewayCheck field 2017-03-03 11:58:02 -05:00
Bryan Housel 6a85e5483c Standard camel case for defaultCheck field (not used anywhere) 2017-03-03 10:28:40 -05:00
Bryan Housel cd23d76875 Don't debounce combo placeholder lookups
(closes #3874)
2017-03-02 21:41:57 -05:00
Bryan Housel 2314acfec7 Add utilNoAuto to remove autocorrect/spellcheck features from inputs
(closes #3839)
2017-02-14 17:19:24 -05:00
Bryan Housel 8d191cd34a More careful address div selection to avoid data binding combobox caret
(closes #3715)
2017-01-31 15:10:20 -05:00
Bryan Housel d09fd15092 Cleanups and rename service nominatim -> geocoder 2017-01-17 16:56:23 +05:30
Bryan Housel 94483af4c7 Fix service name nominatim -> geocoder 2017-01-17 16:46:41 +05:30
Natsuyasumi e1640a1e39 Merge branch 'master' into address-customization 2017-01-04 22:19:09 +01:00
Bryan Housel fc5aea739f Update fontstack to use better system fonts over Helvetecia Neue 2017-01-02 18:51:12 -05:00
Bryan Housel fac0429c4c Don't call updateTags extra times
(closes #3650)
2016-12-17 22:38:28 -05:00
Mikołaj "Natsuyasumi" Kuranowski aafb77c7ec Small fixes 2016-12-09 15:08:16 +01:00
Mikołaj "Natsuyasumi" Kuranowski 3d9009725e Address customization 2016-12-09 13:33:15 +01:00
Bryan Housel a3de3534c3 Don't reuse click handler in enter selection, set on update
(closes #3638)
2016-12-08 11:08:21 -05:00
Bryan Housel cb6801c2b6 Address field improvements and bugfixes
(closes #3553)

* eliminate duplicate values in suggestions
* set minItems(1) on all combo boxes
* setup dropdowns for all common address fields
2016-11-05 23:48:14 -04:00
Bryan Housel 1043402b88 Don't call behavior.off unless behaviors were actually added 2016-11-01 21:42:37 -04:00
Bryan Housel 98d484fc1f Restore hover behavior to restrictions editor, add breathe behavior
The issue was: now that selections are immutable you can't add behaviors
to them unless they are already entered.  i.e. the surface selection in
enter does not end up being the real surface after merging to update.
2016-10-30 11:35:36 -04:00
Bryan Housel 8b6e5db004 Fix turn restrictions editor enter/update selection issues 2016-10-30 00:01:05 -04:00
Bryan Housel 053074d076 Export live binding for services in iD.services, fix init/reset
(closes #3324)

Previously we allowed devs to swap out services that they didn't need.
This became difficult now that ES6 exports are immutable bindings.
But we can wrap the immutable bindings themselves in a live object,
to get back the flexibility that we used to have.

This change also drops the `taginfo` accessor on Context, since devs who want
to swap out taginfo service with something else can now do so through the live
binding.  `iD.services.taginfo = myTaginfo()`
2016-10-14 10:38:09 -04:00
Bryan Housel f50e80d0b5 Refactor Intersection, Multipolygon from geo to osm 2016-10-11 23:09:27 -04:00
Bryan Housel 07fa5fcc34 Refactor Entity, Node, Relation, Tags, Way from core to osm 2016-10-11 22:41:24 -04:00
Bryan Housel 7f61d36a5e Rename countryCode->code to avoid rollup name collision bug 2016-10-05 23:01:56 -04:00