From 408dc4413cd079d53d53b0ec2502e30bb97d7f1e Mon Sep 17 00:00:00 2001 From: jbyrne Date: Tue, 9 Jul 2024 11:36:10 -0700 Subject: [PATCH 1/4] feature/hitide-ui-65: fixed thumbnails and footprints disappearing --- src/jpl/dijit/GranulesController.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/jpl/dijit/GranulesController.js b/src/jpl/dijit/GranulesController.js index b7da8df2..105e406b 100644 --- a/src/jpl/dijit/GranulesController.js +++ b/src/jpl/dijit/GranulesController.js @@ -757,15 +757,7 @@ define([ stateStoreItemsToRemove.push((currentStateStore[j])) } } - for(var k=0; k Date: Tue, 9 Jul 2024 12:45:34 -0700 Subject: [PATCH 2/4] /deploy sit --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c278030..f8982fee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed ### Removed ### Fixed +- issue-65: Fixed footprints and previews disappearing from map when not intended ## [4.17.1] From 927cca161705602696e814b46c1a315600f4994b Mon Sep 17 00:00:00 2001 From: jbyrne Date: Wed, 10 Jul 2024 13:15:58 -0700 Subject: [PATCH 3/4] /deploy sit --- src/jpl/dijit/GranulesController.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/jpl/dijit/GranulesController.js b/src/jpl/dijit/GranulesController.js index 105e406b..f52896a5 100644 --- a/src/jpl/dijit/GranulesController.js +++ b/src/jpl/dijit/GranulesController.js @@ -78,6 +78,7 @@ define([ _granuleSearchInProgress: false, loadingGranulesMessage: '
Loading Granules...
', noGranulesMessage: '
No Granules Found
', + scrollLoadInProgress: false, constructor: function() { this.datasetVariables = {}; @@ -757,7 +758,18 @@ define([ stateStoreItemsToRemove.push((currentStateStore[j])) } } - + // if scroll, don't remove + if(!this.scrollLoadInProgress) { + for(var k=0; k 0.90) { this.currentSolrIdx += this.itemsPerPage; + this.scrollLoadInProgress = true; this.fetchGranules(); } }, From 914c57dba495a356757ca61a2517980593bb2a1a Mon Sep 17 00:00:00 2001 From: jbyrne Date: Thu, 11 Jul 2024 15:29:43 -0700 Subject: [PATCH 4/4] /deploy sit --- src/hitideConfig.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hitideConfig.js b/src/hitideConfig.js index 43686899..26cab1cd 100644 --- a/src/hitideConfig.js +++ b/src/hitideConfig.js @@ -1,4 +1,5 @@ var hitideProfileOrigin = "https://hitide.profile.podaac.uat.earthdatacloud.nasa.gov/hitide/api"; +// var hitideProfileOrigin = "http://localhost:8080/hitide/api"; window.hitideConfig = { paletteService: "https://hitide.podaac.earthdatacloud.nasa.gov/palettes", @@ -10,7 +11,7 @@ window.hitideConfig = { cmrVariableService: hitideProfileOrigin + "/cmr/graphql", crossOriginCmrCookies: true, - authCodeUrl: "https://uat.urs.earthdata.nasa.gov/oauth/authorize", + authCodeUrl: "https://urs.earthdata.nasa.gov/oauth/authorize", loginUrl: hitideProfileOrigin + "/session/login", logoutUrl: hitideProfileOrigin + "/session/logout", @@ -24,5 +25,5 @@ window.hitideConfig = { datasetSearchServiceItemsPerPage: 200, maxGranulesPerDownload: 999999999, googleTagManagerId: "GTM-M5D83V6", - earthDataAppClientId: "dxpH2WeN_f8IpNLgHwplsg" + earthDataAppClientId: "mn6VmRfej3U2Tm0UhbC1jw" };