Bryan Housel
c481f90e7d
Stop bundling wmf-sitematrix, move it extern
...
This also includes a bunch of tweaks to make the tests work
in both PhantomJS and modern browsers like Chrome.
Basically - introduce some more async into the test code so that
the coreData.get promise is guaranteed to settle. Because in
PhantomJS the promise is polyfilled, and Chrome it's native, they
work slightly differently.
2020-01-29 12:30:11 -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
Bryan Housel
d69cf532e0
Merge branch 'dataloader' into 2.x
2020-01-27 17:17:46 -05:00
Bryan Housel
31e007fc83
Create a data loader and move the intro graph into dist/data
...
(re: #3403 )
2020-01-27 17:15:00 -05:00
Quincy Morgan
6dc02d7f22
Properly hide the input field on semicombos when there aren't enough characters remaining to add another value (re: #6817 )
2020-01-27 16:35:15 -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
Bryan Housel
2a2668b01b
Can't use ES6 fat-arrow functions with arguments
...
see buble bug https://github.com/bublejs/buble/issues/208
2020-01-24 17:22:03 -05:00
Quincy Morgan
7c5cbb121f
Fix "Add field" label
2020-01-24 10:59:10 -05:00
Quincy Morgan
3dc0361dc8
Add improved "zoom to" icon
2020-01-22 12:43:24 -05:00
Quincy Morgan
c477950556
Re-add "zoom to this" button
2020-01-22 10:44:40 -05:00
Quincy Morgan
fd2b97331c
Add label to "change feature type" button in inspector and make it a collapsible section ( close #6811 )
2020-01-22 09:19:54 -05:00
Quincy Morgan
6bb2997306
Enable changing the preset of multiple selected features (re: #7276 )
...
Fix issue where preset tag reference wouldn't load
Change "Change feature" tooltip to more accurate "Change feature type"
2020-01-21 15:19:51 -05:00
Quincy Morgan
a364c52f47
Make "Multiple Values" placeholder italic
2020-01-20 13:55:38 -05:00
Quincy Morgan
14dba080b0
Fix inspector keytrap behavior
2020-01-20 13:55:06 -05:00
Quincy Morgan
d4dd92bc78
Don't append new line to raw tag text if the text is empty
2020-01-20 13:00:44 -05:00
Quincy Morgan
667406c6e0
Remove "all" from the inspector section names
2020-01-20 11:51:00 -05:00
Quincy Morgan
48bda8ba67
Move selected feature list to a collapsible inspector section ( close #7273 )
2020-01-20 11:34:51 -05:00
Quincy Morgan
bb593c5ccc
Add "deselect" tooltip to X buttons in selected features list
2020-01-20 10:22:49 -05:00
Quincy Morgan
232375cfc0
Fix sidebar state issues with adding and removing features from multiselection
2020-01-18 14:30:14 -05:00
Quincy Morgan
be8ccf01c4
Fix issue with showing the preset list programmatically
2020-01-18 13:56:59 -05:00
Quincy Morgan
8ca40ac056
Support the raw tag text editor during multiselection
2020-01-18 13:38:21 -05:00
Quincy Morgan
6f2938b35e
Add "key=value" placeholder to text tag editor textarea
2020-01-18 13:36:36 -05:00
Quincy Morgan
874acf8ccc
Make raw tag editor display option tooltips translatable
2020-01-18 13:35:31 -05:00
Quincy Morgan
721ee0e95f
Prevent unnecessary reloading of raw tag editor ( close #7248 )
2020-01-18 12:30:35 -05:00
Quincy Morgan
eda51f6835
Add initial multiselection raw tag editing in 2.x
2020-01-17 17:49:26 -05:00
Quincy Morgan
9376fa1870
Merge branch '2.x' of https://github.com/openstreetmap/iD into 2.x
2020-01-16 11:03:19 -05:00
Quincy Morgan
145d6aef4f
Add class to operation button icons
2020-01-16 10:58:04 -05:00
Bryan Housel
a45b4133c5
indent
2020-01-16 10:37:24 -05:00
Quincy Morgan
2495aa8041
Add additional safety check to uiAccount
2020-01-16 10:34:47 -05:00
Bryan Housel
1c998d186a
Correctly gather the community index resources
...
- old code assumed that each resource had a link back to a single geojson featureId
- this isn't the case anymore so we need to link them in data/index.js
2020-01-16 10:06:35 -05:00
Bryan Housel
7391266aa7
ES6-ify success.js
2020-01-15 18:27:45 -05:00
Quincy Morgan
41355bf2a0
Rename "visible" property of presets to "addable" (re: a06ec59514b30a52601e3614ef69006d2dc1bc91)
2020-01-15 14:29:45 -05:00
Quincy Morgan
186aec68ac
Improve endpoint for checking if restorable changes exist (re: b4ef0862978ae79a5cb741ac49370ed678857b1f)
2020-01-15 12:57:53 -05:00
Quincy Morgan
361358392f
Don't show yes as a suggestion for typeCombo fields
2020-01-15 10:30:38 -05:00
Quincy Morgan
fd3d158273
Fix javascript error in raw text tag editor when entering blank field values
2020-01-13 12:38:41 -05:00
Quincy Morgan
40b6fe7ff9
Fix semicombo drag-and-drop issues with stale data and target positioning (re: #7024 )
2020-01-10 13:59:50 -05:00
Quincy Morgan
e624106b7d
Add Speed Limit Enforcement relation preset ( close #7234 )
...
Remove Name field from Enforcement preset
2020-01-10 12:19:53 -05:00
Quincy Morgan
20fd66630b
Update semicombo reordering (re: #7024 ):
...
Don't try reordering multiCombo fields
Fix offset behavior for full-width semicombos
Use grab/grabbing cursor style
Keep dragged chip above others
2020-01-09 14:43:18 -05:00
Quincy Morgan
e2e0ad347b
Merge pull request #7024 from TAQ2/patch-1
...
Drag and drop of semicombos
2020-01-09 13:38:28 -05:00
Quincy Morgan
9345ec7a82
Update reload unsquare issues function name
2020-01-07 11:41:04 -05:00
Quincy Morgan
5468b66eda
Fix issue with searching features with a deleted feature in history
2020-01-06 13:44:41 -05:00
Quincy Morgan
c3512fc9d6
Correctly filter moreFields by allowed field geometry
2020-01-06 12:32:54 -05:00
Bryan Housel
a54561ce75
Remove the code to autofocus raw tag editor in text mode
...
(closes #6685 )
2020-01-06 12:01:13 -05:00
Arjun
ba00334f2b
drag and drop of semicombos
2020-01-06 16:00:48 +00:00
Quincy Morgan
0a3b3df80c
Filter out values with fewer 10 or fewer uses from combo field suggestions ( close #7203 )
2020-01-03 11:49:43 -05:00
Bryan Housel
96b2b42ba7
Make link to privacy notice in splash screen translatable
...
(closes #7171 )
2019-12-25 16:54:14 -05:00
Quincy Morgan
ae7eadb89c
Properly update undo/redo button tooltips when undoing/redoing ( close #6872 )
2019-12-23 11:06:23 -05:00
Bryan Housel
96250be04a
Skip loading gravatars if user has third party icons deselected
2019-12-20 14:16:54 -05:00
Quincy Morgan
f6769238ed
Revert references to the v3 UI in the Keyboard Shortcuts menu
...
Remove unused preset favoriting functionality
2019-12-20 12:05:04 -05:00