Commit Graph

14937 Commits

Author SHA1 Message Date
Martin Raifer
ef044cd17d Show icons depicting the different values of the crossing:markings field
for https://github.com/openstreetmap/id-tagging-schema/pull/590
2022-11-08 13:47:39 +01:00
Martin Raifer
910a206998 mention dependency upgrades in changelog 2022-11-08 13:45:23 +01:00
dependabot[bot]
cd542bf1cc Bump marked from 4.1.1 to 4.2.2 (#9361)
Bumps [marked](https://github.com/markedjs/marked) from 4.1.1 to 4.2.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.1.1...v4.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:29:24 +01:00
dependabot[bot]
5a2eb41c1f Bump svg-sprite from 2.0.0 to 2.0.1 (#9351)
Bumps [svg-sprite](https://github.com/svg-sprite/svg-sprite) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/svg-sprite/svg-sprite/releases)
- [Changelog](https://github.com/svg-sprite/svg-sprite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/svg-sprite/svg-sprite/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:21:52 +01:00
dependabot[bot]
44c57fe3c6 Bump @ideditor/temaki from 5.1.0 to 5.2.0 (#9354)
Bumps [@ideditor/temaki](https://github.com/ideditor/temaki) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/ideditor/temaki/releases)
- [Changelog](https://github.com/ideditor/temaki/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ideditor/temaki/compare/v5.1.0...v5.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:21:28 +01:00
Martin Raifer
501011ef4d use colour field type instead of relying on the tag key
see #9320
2022-11-08 13:16:08 +01:00
Martin Raifer
a6be05966b improve comboboxes: (#9344)
* pressing return/enter doesn't deselect the entity anymore
* predefined ("static") field options are always listed in the combobox dropdown, even if taginfo doesn't include them (because of low usage)
* (raw) tag values can also be entered for localized strings
* static localized strings can be used before taginfo response is received (useful when taginfo is slow or unavailable)
* fixes some bugs which can be triggered when taginfo is slow
* fixes a bug where the autocomplete dropdown doesn't work properly when tags have "few" values
* multiCombo fields can be case-sensitive now
2022-11-08 12:09:06 +01:00
Martin Raifer
0fe42f0630 fix wrong issue number 2022-11-04 12:25:36 +01:00
Martin Raifer
5f1360ed0f don't suggest to "connect the ends" if a feature with area tags matches a line preset
For example, when a feature tagged as `highway=primary` (line preset) and `man_made=bridge` (area preset) is mapped as an unclosed way, converting it to an area (by closing the way by connecting the endpoints) does not improve the situation, as then the other tag doesn't fit to the geometry anymore.

closes #7037
2022-11-04 12:23:15 +01:00
Martin Raifer
58f597165b match shortest possible name or alias when sorting presets
improves preset matching in cases like https://github.com/openstreetmap/id-tagging-schema/issues/632
2022-11-04 10:06:20 +01:00
Martin Raifer
232a7517d3 add changelog entry for #9316 2022-11-01 18:59:03 +01:00
Kyℓe Hensel
2bf92b42b9 fix the phone input field showing the wrong placeholder (#9316) 2022-11-01 18:56:48 +01:00
Martin Raifer
78d37fd7a8 fix tooltip of "back/forward" buttons in preset list and entity editor 2022-11-01 18:32:47 +01:00
Martin Raifer
34a414ee18 make checkbox fields work with cross referenced string 2022-11-01 17:58:36 +01:00
Martin Raifer
56c05b1d1a Merge remote-tracking branch 'origin/locationmanager_perf' into develop 2022-10-28 17:30:10 +02:00
Bryan Housel
2b2a71f597 Don't pre-resolve and index complex locationSets into GeoJSON.
This was taking a lot of time at app startup.

Instad now we resolve and index only the include and exclude parts.
We can still determine the valid locationSets at runtime in `locationSetsAt()`
by checking the `_locationIncludedIn` and `_locationExcludedIn` caches.

This also upgrades the locationManger to an ES6 class.

This also includes some hacky code in nsi.js so that the NSI will continue to work.
The NSI matcher can build its own location index, but it doesn't need to do this.
We monkeypatch a few of the matcher collections to work with the new LocationManager.
2022-10-28 10:49:01 -04:00
Martin Raifer
c9adbc724e fix crash when conflict resolver is opened, closes #9345 2022-10-28 13:48:54 +02:00
Martin Raifer
8fba289c8e tweak changelog entry 2022-10-28 12:33:00 +02:00
Martin Raifer
097c6bd774 skip unsupported/invalid restrictions instead of fallback to "no_*"
closes #9337 (at least kind of… for a proper solution see #6460)
2022-10-27 18:36:05 +02:00
Martin Raifer
dd30a39d74 fix logic bug, extend test coverage 2022-10-27 17:07:32 +02:00
Martin Raifer
96bac0650b on preset change: don't drop tags if ∃ a matching field in the new preset
closes #9341
closes #9104
2022-10-27 13:06:00 +02:00
Martin Raifer
597207b0df move karma configuration file to config directory 2022-10-27 12:24:52 +02:00
Martin Raifer
b94b811591 use config to fetch preset translations 2022-10-27 12:11:26 +02:00
Martin Raifer
e8b0c5c7cd fix leaking of localized strings in combo fields when taginfo is unavailable
fixes #9342

and fall back to populate such fields with "static" options if taginfo service is offline
2022-10-25 16:33:59 +02:00
Martin Raifer
cb1202883f fix export 2022-10-18 13:58:38 +02:00
Martin Raifer
b2b6cb5c19 add support for field type colour
see https://github.com/ideditor/schema-builder/pull/38
2022-10-18 11:56:05 +02:00
Martin Raifer
d349baad1e fix loading of non-auto-suggested combo options
this was a typo/regression in b5e987b75
2022-10-17 18:35:00 +02:00
Martin Raifer
c8a3cf154b make more cdn's and API urls/settings configurable
* CDNs for OCI, NSI, etc.
* OSM API (URL and oauth API settings)
* taginfo API
* nominatim API
2022-10-14 19:19:29 +02:00
Martin Raifer
e8ceba1107 only use long-press context menu behavior on touch/stylus inputs
closes #8105
2022-10-14 13:02:15 +02:00
Martin Raifer
8076f6f2fe fix opening of context menu when pressing context menu key 2022-10-14 12:46:44 +02:00
Martin Raifer
b5e987b755 fetch options from referenced strings 2022-10-13 19:18:55 +02:00
Martin Raifer
18b50ccd6d synchronize fetching presets from cdn
by first fetching `package.json` and loading the exact version from that for further presets requests
2022-10-13 18:42:52 +02:00
Martin Raifer
b635cdd508 Merge branch 'schema-builder-v5' into develop 2022-10-13 13:53:31 +02:00
Martin Raifer
f5dc3b9555 add changelog entry 2022-10-13 13:52:33 +02:00
Martin Raifer
52ae374cee add tests 2022-10-13 13:47:16 +02:00
dependabot[bot]
f4435a11c0 Bump osm-community-index from 5.2.0 to 5.3.0
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: osm-community-index
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 11:19:45 +00:00
Martin Raifer
674421eec7 implement fetching string references
see https://github.com/openstreetmap/id-tagging-schema/pull/598
2022-10-07 12:04:23 +02:00
Martin Raifer
0bbb9ab365 add changelog entry for e03d3b48f 2022-10-07 11:19:03 +02:00
Martin Raifer
e03d3b48fa fix selection of best background when starting zoomed-out, fixes #9325
By only selecting best imagery sources which cover at least half of the viewport area, and skipping overlays which are also marked as "best"
2022-10-06 20:51:38 +02:00
dependabot[bot]
f07fbd1567 Bump svg-sprite from 1.5.4 to 2.0.0 (#9309)
Bumps [svg-sprite](https://github.com/svg-sprite/svg-sprite) from 1.5.4 to 2.0.0.
- [Release notes](https://github.com/svg-sprite/svg-sprite/releases)
- [Changelog](https://github.com/svg-sprite/svg-sprite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/svg-sprite/svg-sprite/compare/v1.5.4...v2.0.0)

---
updated-dependencies:
- dependency-name: svg-sprite
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-28 12:43:27 +02:00
Martin Raifer
803b2a7f05 render natural=strait features in blue color, closes #9294 2022-09-27 16:44:53 +02:00
Martin Raifer
df1f755150 don't show empty tooltips in backgrounds list 2022-09-27 14:00:28 +02:00
Martin Raifer
a551730aaa start changelog for v2.23 2022-09-27 12:19:13 +02:00
Martin Raifer
2bda08d05f release instructions: use correct "release" branch 2022-09-27 12:04:30 +02:00
Martin Raifer
397161db1f Set development version number 2022-09-27 11:52:16 +02:00
Martin Raifer
0d4c58cc52 v2.22.0 2022-09-27 11:45:41 +02:00
Martin Raifer
84b0c15e89 npm run translations 2022-09-27 11:35:22 +02:00
Martin Raifer
4b52e10a03 npm run imagery 2022-09-27 11:33:00 +02:00
Minh Nguyễn
3bf8d52ca9 Fixed undo text when deleting private tags 2022-09-23 11:08:14 -07:00
Martin Raifer
aee8258570 fix tests 2022-09-23 19:18:10 +02:00