From: Sarah Hoffmann Date: Mon, 8 Mar 2021 09:10:10 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/master' X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/e678691b909996b245bdd17e7345467634703d6b?hp=c6bcd1321efd293e989002cd3d222e6f756ae493 Merge remote-tracking branch 'upstream/master' --- diff --git a/CHANGES.md b/CHANGES.md index 716e369..b561799 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,18 @@ # CHANGES +* version 3.0.2 - 2021-03-05 + + * Details page: don't print 'null' when postcode is missing + * Details page: make sure links to children,hierarcy update after pageload, thx LiteratimBi for the report + * Details page: in hierachy list all addresslines were marked unused (grayed out) + * Details page: API doesn't always return address keywords + * PageLinks/ReverseLink: fix warnings when properties not set + +* version 3.0.1 - 2021-03-05 + + * Details page: table is now responsive, no longer overflows + * Documentation: fix link to theme configuration file + * version 3.0.0 - 2021-02-25 Version 3 add a new directory dist/theme/. It changes the default welcome, about and diff --git a/package.json b/package.json index 426cd30..1e601c2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nominatim-ui", "description": "Debug web interface for Nominatim geocoder", - "version": "3.0.0", + "version": "3.0.2", "license": "GPL-2.0", "scripts": { "build": "rollup -c", diff --git a/src/components/DetailsInfoRowList.svelte b/src/components/DetailsInfoRowList.svelte index 7fcba67..637159b 100644 --- a/src/components/DetailsInfoRowList.svelte +++ b/src/components/DetailsInfoRowList.svelte @@ -3,8 +3,9 @@ diff --git a/src/components/DetailsOneRow.svelte b/src/components/DetailsOneRow.svelte index 9b3b27e..7455245 100644 --- a/src/components/DetailsOneRow.svelte +++ b/src/components/DetailsOneRow.svelte @@ -7,12 +7,13 @@ export let addressLine; export let bDistanceInMeters; + export let bMarkUnusedLines = false; $: bAddressLineUsed = addressLine.isaddress; - + {#if addressLine.localname} {addressLine.localname} @@ -29,9 +30,9 @@ {#if addressLine.osm_id} details {:else if addressLine.type.match(/^country/)} - search by name + search by name {:else if addressLine.type === 'postcode'} - search by name + search by name {/if} diff --git a/src/components/Header.svelte b/src/components/Header.svelte index 4e6359a..9fef1f9 100644 --- a/src/components/Header.svelte +++ b/src/components/Header.svelte @@ -67,20 +67,20 @@ diff --git a/src/components/ReverseLink.svelte b/src/components/ReverseLink.svelte index 2fd2c4c..bbd54d7 100644 --- a/src/components/ReverseLink.svelte +++ b/src/components/ReverseLink.svelte @@ -1,8 +1,8 @@ @@ -80,7 +81,7 @@
- +
{aPlace.category}:{aPlace.type} @@ -138,14 +139,14 @@ {#if aPlace.address} {#each aPlace.address as addressLine} - + {/each} {/if} {#if aPlace.linked_places} {#each aPlace.linked_places as addressLine} - + {/each} {/if} @@ -161,15 +162,17 @@ {/each} - - {#each aPlace.keywords.address as keyword} - - - {#if keyword.id} - - {/if} - - {/each} + {#if aPlace.keywords.address} + + {#each aPlace.keywords.address as keyword} + + + {#if keyword.id} + + {/if} + + {/each} + {/if} {:else}

Linked Places

Address Keywords

{formatKeywordToken(keyword.token)}word id: {keyword.id}

Address Keywords

{formatKeywordToken(keyword.token)}word id: {keyword.id}
@@ -241,9 +244,6 @@ padding-left: 0 !important; } - .table { - width: 100%; - } #map-wrapper { width:100%; min-height: auto;