Quincy Morgan
b3262a71dc
Use newlines instead of semicolons to separate mutliselection tag values in tooltips (re: #7306 )
2020-01-31 10:49:31 -05:00
Quincy Morgan
1b331bb678
Add mechanism for fields to support editing during multiselection (re: #7276 )
...
Add `utilCombinedTags` method and use it for the raw tag editor as well as fields
Pass `entityIDs` array into fields instead of single `entity` object
Give field revertion its own path separate from `change`
Add multiselection editing to fields in files: access, address, check, combo, cycleway, input, maxspeed, textarea, and wikidata
2020-01-30 13:53:29 -05:00
Bryan Housel
567eeac587
Make several data external instead of bundled:
...
Also dist/data/* contains minified files now
These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00
Quincy Morgan
89ce98f510
Don't require services/osm in order to get max OSM character lengths
2020-01-28 09:28:23 -05:00
Quincy Morgan
17ae12b3d7
Address most common places where tag keys or values could exceed the 255 character API limit ( close #6817 )
2020-01-27 15:57:55 -05:00
Quincy Morgan
a2ada42988
Ensure identifier field link button has proper state on init
2019-12-05 10:23:57 -05:00
Quincy Morgan
91da6028f8
Add field for wikimedia_commons tag (re: #7064 )
2019-12-04 14:09:43 -05:00
Quincy Morgan
e83c0940bf
Add field for ref:vatin ( close #6880 )
2019-12-04 11:50:10 -05:00
Quincy Morgan
6c7d8b6150
Add identifier field for tags linking features to external databases
...
Add US-only field for `gnis:feature_id` (close #7086 )
Add tooltip to wikipedia field link button
2019-12-03 20:47:10 -05:00
Bryan Housel
16ff2b1373
Upgrade country-coder to scoped package @ideditor/country-coder
2019-12-02 13:51:04 -05:00
Quincy Morgan
71bfeb5a9f
Fix lint warnings
2019-11-07 20:16:05 +01:00
Quincy Morgan
d89996e52c
Update country-coder to 2.0.0 ( close #7029 )
...
Localize address field in walkthrough without overwriting country coder function
2019-11-07 18:45:46 +01:00
Quincy Morgan
8c0740191f
Replace remaining nominatim countryCode calls with country-coder calls ( close #6941 )
2019-11-01 18:15:35 +01:00
Quincy Morgan
6260cdbb8f
Fix several lint warnings
2019-05-22 10:48:39 -04:00
Bryan Housel
69a25fd6aa
Move locking code from input and localized up to uiField
...
Also adjust styles some more for wikidata tagged items
2019-05-20 17:50:50 -04:00
Bryan Housel
06bdfbfb8a
Use gray stroke on marker and lock icon on field for locked item
2019-05-20 15:36:10 -04:00
Bryan Housel
3896b2282f
Remove lodash isNaN, isNumber, isString, bind, uniqBy
...
(re: 6087)
2019-03-27 23:11:45 -04:00
Andreas Haessler
82ea58d943
Add default value to number field
2019-02-04 15:59:08 +01:00
Bryan Housel
c635389c1a
Fix handling of semicolon delimited values in numeric field
...
(closes #5438 )
2018-12-12 01:11:34 -05:00
Bryan Housel
958d7fac4f
wip changing all fields to use flexbox everywhere
2018-11-28 18:15:38 -05:00
Bryan Housel
7170e93b39
Adjust tooltip
2018-11-26 17:35:38 -05:00
Bryan Housel
df91eb2959
Cleanup style, make sure multilingual fields always render
2018-11-26 17:13:55 -05:00
Bryan Housel
9341e477a6
Merge remote-tracking branch 'origin/master' into brand-name-protection
2018-11-26 15:27:56 -05:00
Bryan Housel
f6f146f79b
Lock down some fields when a brand preset has been chosen
2018-11-26 15:13:40 -05:00
Bryan Housel
ae063e9616
Make name and brand fields readonly on suggestion presets
...
(re #5515 )
2018-11-23 23:44:52 -05:00
Quincy Morgan
7bad67ff76
Flexbox preset field, member, and membership UI
2018-11-18 11:28:48 -05:00
J Guthrie
c1bdcf24aa
Changed parseInt to parseFloat
2018-08-03 01:33:29 +01:00
Bryan Housel
5555b61e87
Fix bug causing 0 to be written into a numeric field when tabbing
...
(closes #5087 )
2018-06-17 11:51:51 -04:00
Bryan Housel
7ae8c9f6a7
Make min/max field values work for inputted values also
...
(previous commit only worked for the up/down buttons)
2018-06-02 12:19:43 -04:00
Bryan Housel
861299bb1c
Support minValue/maxValue on numeric fields
...
Configure most numeric fields to avoid negative values
(closes #5043 )
2018-06-02 11:11:15 -04:00
Bryan Housel
4a71aa6146
Use safer field ids in classes, element ids, css selectors
...
Fixes issue with nested/namespaced fields, such as `maxspeed/advisory`,
in situations where would try to use a css selector or element id.
Can't use characters like '/' in a css selector.
2018-03-15 00:57:41 -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
3e168935d1
Swap increment/decrement spin buttons when RTL
2017-08-06 22:00:30 -04:00
Wille Marcel
649ea21a2c
invert position of increment and decrement buttons
2017-05-08 10:54:21 -03: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
94483af4c7
Fix service name nominatim -> geocoder
2017-01-17 16:46:41 +05:30
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
3102a4ae6a
Rename all the things to include pseudonamespaces
2016-10-04 19:06:20 -04:00
Bryan Housel
0ea59a043d
Fields mostly working (but not dispatch/update)
2016-09-20 22:41:05 -04:00
Bryan Housel
a86f34b4ef
Pacify eslint, get build and tests running again
2016-08-26 01:15:07 -04:00
Tom MacWright
cdb533fa84
Begin d3 v4 update
2016-08-21 15:19:27 -04:00
Tom MacWright
8819d3d061
Remove continued iD references ( #3341 )
...
* Remove continued iD references
* make build.js safe enough to dodge json plugin bug
* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Bryan Housel
747b9f37d5
Pacify eslint
2016-07-24 17:39:06 -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
Kushan Joshi
fc680a2e9a
external modules for services
2016-07-06 14:39:58 -04:00
Kushan Joshi
7188065a6c
disband ui/core
2016-07-02 19:04:51 +05:30