Commit Graph

2030 Commits

Author SHA1 Message Date
Bryan Housel
f87c2d9357 Allow validators to return provisional results, revalidate after delay
Also add a ton of commments to validator.js
2021-01-27 10:38:48 -05:00
Bryan Housel
96298f2836 Preserve name value if this preset shows brand or operator field
This also fixes the logic for calculating whether the preset shows a
`brand` or `operator` field - it needs to use `fields()` to actually
resolve the fields, as these fields can be inherited from another preset.

This also includes a change to match "primary" names before
"alternate" names (aka the "Baby Gap" / "Gap" problem)
2021-01-19 13:15:16 -05:00
Bryan Housel
4228b65602 Support more *:wikidata tags for field locking and pin styling 2021-01-18 17:18:37 -05:00
Bryan Housel
868db8819f Have mergeLocationSets work on Objects, add locationSetID property
This means less work for the other parts of the code,
now they don't need to chain that extra step after the promise.
2021-01-09 10:34:58 -05:00
Bryan Housel
c4daf1b377 Use locationManager to resolve/query community index 2021-01-08 17:05:37 -05:00
Bryan Housel
271e1c2e19 Use locationManager to filter fields/presets/defaults 2021-01-08 16:06:57 -05:00
Quincy Morgan
c61924407d Add icon styling for Mountain Biking Route preset (re: https://github.com/openstreetmap/id-tagging-schema/issues/99) 2020-12-21 10:08:55 -05:00
Quincy Morgan
d57ed85e98 Merge branch develop 2020-12-16 11:43:36 -05:00
Bryan Housel
9e93701c58 Update osm-community-index to v3.0.1
The major version bump is because
- it no longer distributes index.js/index.mjs code bundles
   (which iD hasn't needed in a long time anyway)
- renamed dist/features.json -> dist/featureCollection.json
2020-12-16 09:25:11 -05:00
Quincy Morgan
c8c288d6a3 Support using delete/backspace on focused, readonly combo fields
Make custom combo field values lowercase if they're also made snake_case
2020-12-09 15:26:45 -05:00
Quincy Morgan
cb7f1c2b3c Update to id-tagging-schema v3.0.0
Add UI for translatable combo fields
2020-12-08 15:23:51 -05:00
Quincy Morgan
17cd39a6f7 Use addTags for preset category icon classes 2020-12-07 15:17:20 -05:00
Quincy Morgan
998f0c02b4 Use area fills for category icons (close #6986) 2020-12-07 14:55:09 -05:00
Quincy Morgan
7911152dec Merge branch 'develop' into unbundled-presets
# Conflicts:
#	dist/locales/en.json
2020-12-07 10:57:14 -05:00
Quincy Morgan
40362f1d08 Fix issue with removing multilingual name entries 2020-12-04 11:59:51 -05:00
Quincy Morgan
0bc2b1b6a0 Improve multilingual name UI updates, don't use blank tag values (re: #8164) 2020-12-04 10:22:18 -05:00
Quincy Morgan
0bd2351d68 Don't remove multilingual name list items when deleting the name value (close #8164)
Allow removing multilingual name list items that don't have full values
2020-12-03 16:26:58 -05:00
Quincy Morgan
a85ac34a35 Add tooltip to the review request checkbox (close #7227) 2020-12-03 13:50:56 -05:00
Quincy Morgan
9f6aaf2438 Add folder border to preset category icons (close #6085) 2020-12-03 13:13:08 -05:00
Quincy Morgan
07a59ba3a4 Break out some preset icon functions (re: #8117) 2020-12-03 12:23:09 -05:00
Quincy Morgan
2dd0b8449f Rewrite some confusing nested ternaries (close #8117) 2020-12-03 12:18:39 -05:00
Quincy Morgan
baabd81987 Unbundle id-tagging-schema data and translations
Update for id-tagging-schema 2.0.0
2020-12-01 11:14:14 -05:00
Quincy Morgan
ba48a861bc Enable curly and block-spacing eslint rules 2020-11-10 14:19:11 -05:00
Quincy Morgan
d247ec3aed Enable brace-style eslint rule 2020-11-10 13:49:48 -05:00
Quincy Morgan
481b80e5cb Fetch the parent relations when downloading a single entity, e.g. when launching iD with a feature selected (close #6731) 2020-11-10 10:00:44 -05:00
Quincy Morgan
4bb24b8f9e Fix issue with dragging node in between editing its tags (close #7606) 2020-11-09 09:49:01 -05:00
Quincy Morgan
8147fcfa84 Show multilingual values in the Name field even for keys with spaces or other unexpected characters (re: #8165) 2020-11-06 17:38:09 -05:00
Quincy Morgan
1a43dbe1fe Use the actual dropdown label for the localized name language input label (re: #8165) 2020-11-06 17:36:32 -05:00
Quincy Morgan
02add6e3ff Fix issue where existing multiCombo field values wouldn't appear (close #8155) 2020-11-06 16:14:58 -05:00
Quincy Morgan
162f97bfc8 Fix issue where items could not be deselected from the selection list in some browsers (close #8151) 2020-11-02 09:47:06 -05:00
Quincy Morgan
e017073142 Fix issue where the keyboard shortcuts screen would only display the first tab (close #8137) 2020-10-30 09:48:48 -04:00
Quincy Morgan
e40180d0c4 Update data_layers.js to be consistent with 2a2bfca174 2020-10-30 09:33:03 -04:00
Quincy Morgan
2a2bfca174 Change implementation of #8141 2020-10-30 09:29:51 -04:00
Wille Marcel
a77dbe9f83 fix error when custom background url is empty 2020-10-30 08:26:14 -03:00
Quincy Morgan
ba4c1ef014 Account for instances where d3.geoCentroid returns incorrect results 2020-10-29 14:28:21 -04:00
Quincy Morgan
9500e8f3c4 Make the warnings and errors lists in the issues pane navigable via keyboard 2020-10-29 13:21:21 -04:00
Quincy Morgan
5483a0f3c9 Improve tab order of attribution links and zoom in to edit notice 2020-10-29 13:06:03 -04:00
Quincy Morgan
d2989cf09c Improve styling of new version badge 2020-10-29 10:56:13 -04:00
Quincy Morgan
3727f26c13 Fix issue where sidebar controls could be keyboard-navigated while the sidebar was hidden 2020-10-29 10:29:27 -04:00
Quincy Morgan
d70f2e2e0f Update ui.checkOverflow to only apply to iD's subelements and to account for empty selections 2020-10-29 10:17:50 -04:00
Quincy Morgan
e83235df54 Fix regression where changing the Wikidata field wouldn't update the wikidata tag (close #8132) 2020-10-29 10:05:43 -04:00
Quincy Morgan
b2b10ccebd Fix regression where hovering over items in the relation dropdown wouldn't highlight them in the map (close #8134) 2020-10-29 09:57:38 -04:00
Quincy Morgan
8b6ad03a58 Fix issue where switching between metric/imperial measurements wouldn't work 2020-10-28 15:16:38 -04:00
ricloy
0f87da6340 Update line.js
fix walkthrough hangs when "Washington street" is split
2020-10-28 10:46:07 +00:00
Quincy Morgan
4f7014b1a9 Fix lint warnings and error 2020-10-27 21:08:38 -04:00
Quincy Morgan
c7897e965f Fix issue with expanding the sidebar after drawing a generic feature 2020-10-27 20:57:10 -04:00
Quincy Morgan
b2582dcf9e Fix critical issue with editing Bike Lanes and Allowed Access fields 2020-10-27 20:44:56 -04:00
Quincy Morgan
2ee53670c8 Fix issue with mobile Safari showing the native selection menu when long-pressing on the map 2020-10-27 16:01:00 -04:00
Quincy Morgan
66999cce1b Clean up the imagery offset layout and make it usable via keyboard only 2020-10-27 10:51:16 -04:00
Quincy Morgan
154c6ed0ed Fix issue where clicking some buttons would clear the URL hash 2020-10-27 09:56:05 -04:00