Commit Graph

15192 Commits

Author SHA1 Message Date
Martin Raifer 0cb8210a21 Merge pull request #9603 from openstreetmap/addr_place
Support addr:place tag in Address field
2023-05-26 20:47:35 +02:00
Martin Raifer eb30c2e80a drop icon from "regular" addr:street suggestions in dropdown 2023-05-26 20:45:51 +02:00
Martin Raifer dbc857b0fe update changelog 2023-05-26 20:45:23 +02:00
Martin Raifer 9595e997e9 Merge branch 'develop' into addr_place 2023-05-26 20:37:54 +02:00
Martin Raifer f19a55fa13 Add support for icons on multiCombo/semiCombo fields (#9433) 2023-05-26 20:35:12 +02:00
Martin Raifer 140838f4b1 fix accidentally committed code, switch to different ford icon 2023-05-26 19:50:09 +02:00
Martin Raifer 5a3a2d876e show inherited fields from global parents
fixes regression from 43784e2ef
2023-05-26 19:44:27 +02:00
Martin Raifer ffab062ca0 update assets (npm run all) 2023-05-26 19:37:32 +02:00
Martin Raifer 53f77fb852 accept raw number input also for roadspeed/roadheight fields 2023-05-26 19:34:32 +02:00
Martin Raifer 2b64d70352 generalize implementation to skip input value update
when contents are "equivalent" in a given context, e.g. for numeric values with potentially different formatting in number fields
2023-05-26 19:24:10 +02:00
Martin Raifer ee89f6ae66 lint 2023-05-26 18:46:57 +02:00
Martin Raifer e0f11af2b2 also allow "raw" numbers to be input in numeric fields
when a user enters a decimal number using the "international"/English/OSM-raw-data formatting (e.g. as in `0.5`), it is parsed using the basic, non-localized, number parser. In such cases, the content of the input field should not be overwritten with the localized formatting, as that would cause unexpected glitches and make editing harder (e.g. when thousands-grouping characters seemingly "magically" disappear or appear while typing).

see https://github.com/openstreetmap/iD/pull/8769/#pullrequestreview-1324246437 ff.
2023-05-26 18:38:16 +02:00
Martin Raifer 7f4242864f Merge branch '1ec5-number-field-format-3615' into develop 2023-05-26 18:03:31 +02:00
Martin Raifer 14c752548d keep cursor at edit position while typing in the middle 2023-05-26 17:59:04 +02:00
Martin Raifer b266ec57ad treat "empty" numbers in semicolon separated "list" as invalid 2023-05-26 15:00:10 +02:00
Martin Raifer 6d01c05f76 allow numbers to be input in "raw" format 2023-05-26 13:44:50 +02:00
Martin Raifer 249771d747 fix variable declarations 2023-05-26 13:25:59 +02:00
Martin Raifer 6c362b6517 Merge branch 'develop' into 1ec5-number-field-format-3615 2023-05-26 13:06:09 +02:00
dependabot[bot] a18de6b5c3 Bump cldr-core and cldr-localenames-full (#9662)
Bumps [cldr-core](https://github.com/unicode-cldr/cldr-json) and [cldr-localenames-full](https://github.com/unicode-cldr/cldr-json). These dependencies needed to be updated together.

Updates `cldr-core` from 41.0.0 to 43.0.0
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/41.0.0...43.0.0)

Updates `cldr-localenames-full` from 41.0.0 to 43.0.0
- [Release notes](https://github.com/unicode-cldr/cldr-json/releases)
- [Commits](https://github.com/unicode-cldr/cldr-json/compare/41.0.0...43.0.0)

---
updated-dependencies:
- dependency-name: cldr-core
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: cldr-localenames-full
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-05-26 12:55:00 +02:00
dependabot[bot] 7520c9b674 Bump @openstreetmap/id-tagging-schema from 6.0.0 to 6.2.0 (#9659)
Bumps [@openstreetmap/id-tagging-schema](https://github.com/openstreetmap/id-tagging-schema) from 6.0.0 to 6.2.0.
- [Release notes](https://github.com/openstreetmap/id-tagging-schema/releases)
- [Changelog](https://github.com/openstreetmap/id-tagging-schema/blob/main/CHANGELOG.md)
- [Commits](https://github.com/openstreetmap/id-tagging-schema/compare/v6.0.0...v6.2.0)

---
updated-dependencies:
- dependency-name: "@openstreetmap/id-tagging-schema"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 12:14:26 +02:00
dependabot[bot] 71a2ab5c9d Bump marked from 4.3.0 to 5.0.2 (#9660)
Bumps [marked](https://github.com/markedjs/marked) from 4.3.0 to 5.0.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.3.0...v5.0.2)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 12:11:34 +02:00
dependabot[bot] cc768b115b Bump node-fetch from 2.6.9 to 2.6.11 (#9658)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.9 to 2.6.11.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.9...v2.6.11)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 12:01:54 +02:00
dependabot[bot] 5d80bbc6c3 Bump esbuild from 0.17.18 to 0.17.19 (#9661)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.18 to 0.17.19.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.17.18...v0.17.19)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-26 12:01:37 +02:00
Martin Raifer 43784e2eff take entity loc into account when resolving fields via parent preset, fixes #9524
this necessary when a regional preset (e.g. from NSI) is supposed to inherit fields from a parent preset, but the direct parent does NOT apply at the location of the entity to be added/edited. In that case we need to search for a potential regional variant of the parent preset.
2023-05-25 19:19:09 +02:00
Martin Raifer 732123a4b9 update changelog 2023-05-25 19:14:52 +02:00
bryceco ab8407db50 Add address format for Phillipines (#9630) 2023-05-25 19:09:49 +02:00
dependabot[bot] 401910d7e9 Bump core-js-bundle from 3.30.1 to 3.30.2 (#9654)
Bumps [core-js-bundle](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js-bundle) from 3.30.1 to 3.30.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.30.2/packages/core-js-bundle)

---
updated-dependencies:
- dependency-name: core-js-bundle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 19:06:11 +02:00
dependabot[bot] 0cd0ef1b5f Bump d3 from 7.8.2 to 7.8.4 (#9651)
Bumps [d3](https://github.com/d3/d3) from 7.8.2 to 7.8.4.
- [Release notes](https://github.com/d3/d3/releases)
- [Changelog](https://github.com/d3/d3/blob/main/CHANGES.md)
- [Commits](https://github.com/d3/d3/compare/v7.8.2...v7.8.4)

---
updated-dependencies:
- dependency-name: d3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 19:04:50 +02:00
dependabot[bot] bef45e9221 Bump @rapideditor/temaki from 5.3.0 to 5.4.0 (#9653)
Bumps [@rapideditor/temaki](https://github.com/rapideditor/temaki) from 5.3.0 to 5.4.0.
- [Release notes](https://github.com/rapideditor/temaki/releases)
- [Changelog](https://github.com/rapideditor/temaki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rapideditor/temaki/compare/v5.3.0...v5.4.0)

---
updated-dependencies:
- dependency-name: "@rapideditor/temaki"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 19:03:24 +02:00
dependabot[bot] b7b5b51351 Bump osm-auth from 2.0.1 to 2.1.0 (#9655)
Bumps [osm-auth](https://github.com/osmlab/osm-auth) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/osmlab/osm-auth/releases)
- [Changelog](https://github.com/osmlab/osm-auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-auth/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: osm-auth
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 19:02:47 +02:00
Martin Raifer 28630ae9fc don't repeat values from multi-selection in dropdown
as their state can now been toggled using the checkbox in the chip
2023-05-25 18:47:30 +02:00
Martin Raifer 805becfe3b support no and "other" states of options of multiCombo/manyCombo fields
closes https://github.com/openstreetmap/id-tagging-schema/issues/895 and #7427
2023-05-25 18:17:00 +02:00
Martin Raifer f517b867de add tests for #9650 2023-05-25 15:24:52 +02:00
Martin Raifer 9517d06d11 use lodash for object comparison 2023-05-25 13:22:39 +02:00
Minh Nguyễn e4641b581f Offer to connect sidewalk to service road without tagging crossing (#9650) 2023-05-25 13:17:34 +02:00
dependabot[bot] d6a4130f42 Bump postcss from 8.4.21 to 8.4.23 (#9620)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.23.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.21...8.4.23)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:57:41 +02:00
dependabot[bot] 746ed7cd6e Bump engine.io and socket.io (#9626)
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.2.1 to 6.4.2
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.2.1...6.4.2)

Updates `socket.io` from 4.5.2 to 4.6.1
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.5.2...4.6.1)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:57:23 +02:00
dependabot[bot] 04b80a3244 Bump karma-chrome-launcher from 3.1.1 to 3.2.0 (#9618)
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: karma-chrome-launcher
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:55:49 +02:00
dependabot[bot] 7f2fbad472 Bump chai from 4.3.6 to 4.3.7 (#9619)
Bumps [chai](https://github.com/chaijs/chai) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/4.x.x/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v4.3.6...v4.3.7)

---
updated-dependencies:
- dependency-name: chai
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:55:20 +02:00
dependabot[bot] f49bdb4a15 Bump mocha from 10.0.0 to 10.2.0 (#9621)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.0.0 to 10.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.0.0...v10.2.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:54:52 +02:00
dependabot[bot] 61fd3c8693 Bump socket.io-parser from 4.2.1 to 4.2.3 (#9648)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.1 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 13:53:40 +02:00
Kyℓe Hensel 077d9a5105 fix tag values with whitespace causing css bugs (#9637) 2023-05-23 23:21:41 +02:00
dependabot[bot] 25669b700a Bump eslint from 8.24.0 to 8.41.0 (#9644)
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 22:31:53 +02:00
Martin Raifer 96c2670727 we can still use the full language for output (uselang) 2023-05-23 16:15:11 +02:00
Martin Raifer 862ca6522a retry wikidata api without lng's region subtag if an error is returned
closes #9638
2023-05-23 16:13:40 +02:00
Martin Raifer 559a4ba728 support input fields with multiple tag keys
requires upstream changes from tagging-schema v6.3, see https://github.com/openstreetmap/id-tagging-schema/issues/905
2023-05-23 15:22:58 +02:00
Martin Raifer bd98ff904b restrict taginfo suggestions in raw tag editor to ones which match the input string
this additinoal filtering is needed because of the caching performed by the services/taginfo.js module.
2023-05-16 17:10:30 +02:00
Martin Raifer 9779f320a8 Properly handle case sensitive tags in taginfo suggestion in raw tag editor, fixes #9640 2023-05-16 17:06:39 +02:00
Martin Raifer a35653d35d use all available option strings when setting value
this fixes where tag values of fields with referenced strings can become corrupted when the sub-field has restricted `options`, and an unavailable option is entered manually into the field.

important for openstreetmap/id-tagging-schema#891
2023-05-11 15:06:37 +02:00
Martin Raifer f9aa675637 add to changelog 2023-05-10 12:04:30 +02:00