From ce0db537bafdc3d6fddb779a9170e55bd0272a54 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 23 Mar 2023 13:08:05 +0100 Subject: [PATCH 1/7] Fix issue with overly long words in card descriptions --- src/components/Catalog.vue | 2 ++ src/components/Item.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/Catalog.vue b/src/components/Catalog.vue index dacab9b25..bd6e2e5d4 100644 --- a/src/components/Catalog.vue +++ b/src/components/Catalog.vue @@ -111,6 +111,7 @@ export default { -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; + overflow-wrap: anywhere; text-align: left; } @@ -150,6 +151,7 @@ export default { -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; + overflow-wrap: anywhere; text-align: left; margin-bottom: 0; } diff --git a/src/components/Item.vue b/src/components/Item.vue index 61ab13860..03413beb2 100644 --- a/src/components/Item.vue +++ b/src/components/Item.vue @@ -109,6 +109,7 @@ export default { -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; + overflow-wrap: anywhere; margin-bottom: 0.5rem; } From 1086a5e37611fa68abcac303caefa6eb16c9932f Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 23 Mar 2023 15:32:21 +0100 Subject: [PATCH 2/7] Fix CQL-Text filter with quotes around numbers #294 --- src/components/QueryableInput.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/QueryableInput.vue b/src/components/QueryableInput.vue index 7afa757da..bcad784d3 100644 --- a/src/components/QueryableInput.vue +++ b/src/components/QueryableInput.vue @@ -211,6 +211,12 @@ export default { methods: { updateValue(evt) { let val = Utils.isObject(evt) && 'target' in evt ? evt.target.value : evt; + if (typeof val === "string" && this.schemaTypes.includes('integer')) { + val = parseInt(val, 10); + } + else if (typeof val === "string" && this.schemaTypes.includes('number')) { + val = parseFloat(val); + } this.$emit('update:value', val); }, updateOperator(evt) { From 3591ca5bb5261742b434d5dca87c07555e307ab6 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Tue, 4 Apr 2023 16:16:33 +0200 Subject: [PATCH 3/7] rel="item" links broken when STACBROWSER follows them #298 --- src/StacBrowser.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/StacBrowser.vue b/src/StacBrowser.vue index 4e3dac21c..4ee24790e 100644 --- a/src/StacBrowser.vue +++ b/src/StacBrowser.vue @@ -351,7 +351,9 @@ export default { } // All other parameters should be appended to the main STAC requests else { - params.localRequest = Utils.isObject(params.request) ? params.request : {}; + if (!Utils.isObject(params.localRequest)) { + params.localRequest = {}; + } params.localRequest[key] = value; } } From c2944594f4842de1ab4a13d332cde76cf05d76a5 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 7 Apr 2023 21:45:46 +0200 Subject: [PATCH 4/7] Clarify that we can remove the queryables rel type soon --- src/rels.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rels.js b/src/rels.js index 7c657c2d7..3e909c2df 100644 --- a/src/rels.js +++ b/src/rels.js @@ -19,9 +19,9 @@ export const stacPagination = [ 'previous', ]; -// Queryables (old and new) +// Queryables export const ogcQueryables = [ - 'queryables', + 'queryables', // Old way in STAC (deprecated) 'http://www.opengis.net/def/rel/ogc/1.0/queryables', ]; From fe48b727e8b612dbd9e647d1bd6744d0d6241ff5 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 7 Apr 2023 21:58:38 +0200 Subject: [PATCH 5/7] Upgrade stac-fields --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 218066f6d..dabf66216 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "dependencies": { "@apidevtools/json-schema-ref-parser": "^10.1.0", "@musement/iso-duration": "^1.0.0", - "@radiantearth/stac-fields": "1.0.0-rc.2", + "@radiantearth/stac-fields": "1.0.0", "@radiantearth/stac-migrate": "~1.2.0", "axios": "^1.2.0", "bootstrap-vue": "^2.21.2", From 2e1b7158fb8a578c4b2e9ca64dac5fb318a4396e Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 7 Apr 2023 13:59:09 -0600 Subject: [PATCH 6/7] Translation for Planet Labs PBC (#297) --- src/locales/de/fields.json | 2 +- src/locales/en/fields.json | 2 +- src/locales/es/fields.json | 2 +- src/locales/fr/fields.json | 2 +- src/locales/it/fields.json | 2 +- src/locales/ro/fields.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/locales/de/fields.json b/src/locales/de/fields.json index 55fe452b8..0a206e48b 100644 --- a/src/locales/de/fields.json +++ b/src/locales/de/fields.json @@ -276,7 +276,7 @@ "Path Template": "Pfad-Vorlage", "Pending (waiting for activation)": "Ausstehend (wartet auf Aktivierung)", "Percentage of valid pixels": "Prozentsatz der gültigen Pixel", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Plattform", "Platform Altitude": "Höhe der Plattform", "Point (at pixel center)": "Punkt (im Pixelzentrum)", diff --git a/src/locales/en/fields.json b/src/locales/en/fields.json index 48f80c50e..b230eec24 100644 --- a/src/locales/en/fields.json +++ b/src/locales/en/fields.json @@ -276,7 +276,7 @@ "Path Template": "Path Template", "Pending (waiting for activation)": "Pending (waiting for activation)", "Percentage of valid pixels": "Percentage of valid pixels", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Platform", "Platform Altitude": "Platform Altitude", "Point (at pixel center)": "Point (at pixel center)", diff --git a/src/locales/es/fields.json b/src/locales/es/fields.json index 2a1ff1f05..4c2e9a5ef 100644 --- a/src/locales/es/fields.json +++ b/src/locales/es/fields.json @@ -276,7 +276,7 @@ "Path Template": "Plantilla de la ruta (path)", "Pending (waiting for activation)": "Pendiente (esperando activación)", "Percentage of valid pixels": "Porcentaje de pixels válidos", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Plataforma", "Platform Altitude": "Altitud de la plataforma", "Point (at pixel center)": "Punto (en el centro del pixel)", diff --git a/src/locales/fr/fields.json b/src/locales/fr/fields.json index 3057b5384..cb4a29327 100644 --- a/src/locales/fr/fields.json +++ b/src/locales/fr/fields.json @@ -276,7 +276,7 @@ "Path Template": "Modèle de chemin d'accès", "Pending (waiting for activation)": "En attente (en attente d'activation)", "Percentage of valid pixels": "Pourcentage de pixels valides", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Plateforme", "Platform Altitude": "Altitude de la plateforme", "Point (at pixel center)": "Point (au centre du pixel)", diff --git a/src/locales/it/fields.json b/src/locales/it/fields.json index 01f796362..abfeaf023 100644 --- a/src/locales/it/fields.json +++ b/src/locales/it/fields.json @@ -276,7 +276,7 @@ "Path Template": "Modello del percorso (path)", "Pending (waiting for activation)": "In attesa di attivazione", "Percentage of valid pixels": "Percentuale di pixel validi", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Piattaforma", "Platform Altitude": "Altitudine della piattaforma", "Point (at pixel center)": "Punto (al centro del pixel)", diff --git a/src/locales/ro/fields.json b/src/locales/ro/fields.json index ce0f57492..ed3b5e3cb 100644 --- a/src/locales/ro/fields.json +++ b/src/locales/ro/fields.json @@ -270,7 +270,7 @@ "Path Template": "Șablon traseu", "Pending (waiting for activation)": "În așteptare (se așteaptă activarea)", "Percentage of valid pixels": "Procentul de pixeli valizi", - "Planet Labs Inc.": "Planet Labs Inc.", + "Planet Labs PBC": "Planet Labs PBC", "Platform": "Platformă", "Platform Altitude": "Altitudinea platformei", "Point (at pixel center)": "Punct (în centrul pixelului)", From 5e570c4928679a40928181f9e942833692234189 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 7 Apr 2023 22:01:15 +0200 Subject: [PATCH 7/7] v3.0.0 --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8ae27c60c..df85a42e8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ implemented as a single page application (SPA) for ease of development and to limit the overall number of catalog reads necessary when browsing (as catalogs may be nested and do not necessarily contain references to their parents). -Version: **3.0.0-rc.1** (supports all STAC versions between 0.6.0 and 1.0.0) +Version: **3.0.0** (supports all STAC versions between 0.6.0 and 1.0.0) This package has also been published to npm as [`@radiantearth/stac-browser`](https://www.npmjs.com/package/@radiantearth/stac-browser). diff --git a/package.json b/package.json index dabf66216..c67b8a176 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@radiantearth/stac-browser", - "version": "3.0.0-rc.1", + "version": "3.0.0", "description": "A full-fledged UI in Vue for browsing and searching static STAC catalogs and STAC APIs.", "main": "src/main.js", "scripts": {