Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WV-2940: Rainbow Palette 4 & 5 Fix #4805

Merged
merged 1 commit into from
Nov 14, 2023
Merged

WV-2940: Rainbow Palette 4 & 5 Fix #4805

merged 1 commit into from
Nov 14, 2023

Conversation

ryanweiler92
Copy link
Collaborator

Description

A couple of the hex values in the color array for Rainbow Palettes 4 & 5 got malformed in the data transformation process. This updates those values for a smooth color transition on the colorbar.

PR Submission Checklist

  1. git checkout wv-2940-fix
  2. npm run build
  3. npm run watch
  4. http:https://localhost:3000/?l=Ground_Level_Nitrogen_Dioxide_3_Year_Running_Mean_1996-1998(palette=rainbow_4),Coastlines_15m,MODIS_Terra_Cloud_Top_Pressure_Day(palette=rainbow_5),MODIS_Terra_CorrectedReflectance_TrueColor&lg=true&t=2023-11-09-T20%3A20%3A54Z
  5. Verify that palettes for Rainbow 4 and 5 have the correct colorbars.

Merging

Please use the squash and merge commit method unless each commit in your branch is vital to the commit history of main.

@nasa-gibs/worldview

@ryanweiler92 ryanweiler92 added this to the v4.19.0 milestone Nov 14, 2023
@ryanweiler92 ryanweiler92 self-assigned this Nov 14, 2023
Copy link
Contributor

@minniewong minniewong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! no more brown

@ryanweiler92 ryanweiler92 merged commit 7d16ee5 into develop Nov 14, 2023
4 checks passed
frankinspace added a commit to podaac/worldview that referenced this pull request Jan 30, 2024
* fixing merge conflicts

* Revert Build Process & Fix GTM (nasa-gibs#4509)

* reverting build process

* updating GTM

* lint fixes (nasa-gibs#4510)

* updating GTM URL (nasa-gibs#4511)

* UAT-v4.10.1

* dependabot updates 7.21.23 (nasa-gibs#4516)

* WV-2774: Fixing Stale Workflows (nasa-gibs#4518)

* remove playwright-workflow

* remove layer pr checklist

* updating ci-cd.yaml name property

* WV-2766: Modernizing Rotation Component (nasa-gibs#4505)

* Converted to functional component

* Changed dispatch action & simplified map object per feedback

* WV-2772: Modernizing date-selector Component (nasa-gibs#4520)

* Converted to functional component

* Removed unecessary eslint overrides per feedback

* Removed unecessary eslint overrides per feedback 2

* WV 2612 verbose mode 2 (nasa-gibs#4521)

* buildOptions

* add verbose scripts

* getCapabilities

* getVisMetadata

* validateConfigs

* revert getVisMetadata

* move ident into conditional block

* dependabot updates 07-28-23 (nasa-gibs#4534)

* Wv 2742 investigate bbox coordinate (nasa-gibs#4535)

* workaround transformExtent bug

* remove olProj import

* remove comment

* v4.11.0

* WV-2773: Modernizing image-download-panel Component (nasa-gibs#4536)

* Converted to functional component

* Changes per feedback

* dependabot-updates-08-04-23 (nasa-gibs#4548)

* WV-2493 Charting Mode (nasa-gibs#4109)

* Jammed in a 'Start Chart' button & began styling it.

* Moved ModeSelection component beneath the buttons to reflect wireframes.

* Moved 'Group Similar' checkbox into layers-container to achieve wireframe layout. Also quickly styled the chartings & comparison buttons.

* Logging

* Configured charting key into the initial state.

* Charting 'Active' state toggling appropriately.

* Charting mode tracking is being initialized & toggled appropriately via state/props.

* Created & plumbed layer menu file for Charting Mode. Needs lots of work.

* Renamed ModeSelection component to CompareModeOptions to more strongly differentiate between compare mode options & charting options.

* Roughly styled the rest of the charting elements in the sidebar & initialized various values in the state.

* AOI mode toggling correctly.

* Applied logic to disable charting/comparison when the other is active.

* Retrieved map object via state & initiating addInteraction when AOI selected.

* Drawing a box for AOI now.

* logging

* Converted charting-mode-options to a function component

* Drawn area of interest is persisting!

* refactored a bit, handling aoiActive better, & beginning to terminate the AOI draw process.

* AOI drawing workflow getting better. Now ends drawing when pencil icon clicked a 2nd time.

* End current draw & clear AOI when charting mode exited.

* aoiSelected prop is being tracked correctly.

* Compare mode style selection is fixed (restored mapDispatchToProps function)

* Charting info box is being shown on chart mode start, on (i) click & closed on chart mode exit.

* Moved AOI box selection styles into seperate file.

* Added singe/range toggle function to buttons. Still needs wiring up to state.

* Added date singe/range to state, added classNames & simple styling to reflect selection.

* Extracting dates from the timeline & inserting them in charting mode UI.

* toggling the date range string on/off depending on the date selection made.

* Create charting-date-selector component for integration in charting mode.

* Forced charting-date-selector into chart area. Needs some love but it's a start.

* Minor changes in charting-date-selector.js

* Calling modal with date pickers when calendar clicked in charting mode.

* Displaying 2 date selectors when calendar clicked.

* Fiddling with DateRangeSelector. Nothing working yet...

* Start date for charting date selection now behaving better. End date is still stuck.

* Both date pickers are working, updating the state, & reflected in the UI.

* Created (static) ChartingStatistics modal.

* Logging & cleanup

* mocking up api

* Printing dynamic simple stats from a static URL request.

* Simple stats request is dynamic with the exception of the bounding box.

* Bounding box is now being pulled into the URL dynamically.

* Limited stat output to 3 digits, improved stat window formatting.

* Charting start date initialized to timeline date.

* Charting start date & end date aligned with timeline values on initialization.

* Removed extra logging

* Disabling 'Start Charting' button if no valid layers are active.

* Configuring the charting layers menu.

* Charting mode layerlist is only showing layers with palettes.

* Disabled layer dropdown menu in charting mode.

* Removed toggleVisibility feature from the layer list when in charting mode.

* Initialize active charting layer on mode start.

* Toggling active charting layer appropriately.

* charting simple statistics is pulling the correct layer from state.

* Updated charting icons, removed ability to delete layers within charting mode, adjusted styling of charting buttons.

* Very minor improvements to the stats & chart butons.

* Added disclaimer in charting info modal & simple stats modal.

* Fixed bug causing incorrect format of single-digit days.

* Updated URI generation to properly acount for date range parameters.

* Reset charting state to default values when mode exited.

* Added Recharts lib to package.json, printing dummy chart on-click as POC.

* Added date/date range to simple statistics popup window.

* Charting request succeeding, chart is not quite working in WV yet.

* Printing generic chart.

* Live data charting with appropriate labels & XAxis.

* Renamed files/imports for clarity.

* Refactoring...

* Reverted some very basic adjustments (line breaks, semicolons, etc.) to be less disruptive to the git history.

* Charting modals persist until the user clicks the close button.

* Extracting active layer start/end dates & providing them to the datepicker.

* More date exploration to install limits per layer in charting.

* User cannot select invalid dates for the active layer in charting mode datepicker.

* Basic error handling for the fetch request. Needs work...

* Logs & exploration

* Updated chart to only display mean & stdev.

* Replaced charting lorem ipsum with actual instructions.

* Changed 'Single Date' button to 'One Date' & made 'Date Range' the default selection.

* Modified charting mode to use a single action button (action determine by date option selected).

* Showing overall statistics along with the chart now.

* Fixed start & end date limits in charting date selection (for layers with non-contiguous date ranges).

* Added rudimentary progress indicator.

* Display chart request failures to user at bottom of layer window.

* Added 'min' to the simple stats display & tightened YAxis chart legend to focus on the data.

* Adjusted YAxis min/max calculation to use 10% instead of a flat 25 to establish the scale.

* Adjusted YAxis min/max to round to the nearest multiple of 25.

* Logging out time series response.

* Styled the text color to black in the chart tooltip.

* update package-lock

* Merged develop into this branch

* removed placeholder for charting unit tests

* removed placeholders for charting unit tests

* Merge cleanup & lint fixes

* Added build option for charting mode

* Defaulting charting mode to FALSE in features.json

* Modified YAxis calculation routine to produce better results (10% buffer at min & max, but no rounding).

* updated steps

* Disabled 'Request Chart' button with request in progress

* Adjusted chart mode date picker to display 1 or 2 pickers based on chart mode (date or range)

* Hide comparison / charting buttons in sidebar if the other feature is currently active

* Added unit of measure in time series chart title (if available)

* Created e2e tests for charting mode

* Finalized e2e

---------

Co-authored-by: Thomas Cariello <[email protected]>

* WV-2638: Dynamic Data Visualization -updated (nasa-gibs#4458)

* Add HLSS30 layer // Update layerbuilder with ttiler function

* wip

* ttiler layer logic WIP

* handle ttiler layer logic

* adding HLSL30 layer

* customize band selection button

* dropdown selection

* update band combos in redux

* WIP

* rerequest ttiler layers on band combo selection

* merge develop

* update band selections

* update layerBuilder merge

* update package.json

* associated layers for dummy layers

* associated layers for dummy layers

* add default band combo's to layer defs

* band selection parent info menu for layer settings

* update rgb selection block for customize modal

* WIP

* preset options

* configuring layers

* configuring additional layers

* update addLayer logic for bandCombo param

* fix layer collection assertoin error and handle collection identifier

* load band combinations from permalink

* update layerOrder

* dev-test-mode

* update dev-mode architecture

* preset console commands

* measure wms tiles by bounding box

* date search method radio buttons

* find orbital dates

* find hls imagery for visible extent

* fix layer ordering when updating band combinations

* update layerOrder

* adding some sentinel menu presets

* WIP

* update preset options for sentinel

* adding sentinel presets to layerOrder

* fix compare layers bug

* turning off test mode

* update sources & include overzoom zot notices

* update orbit tracks for ddv layers & skip ddv layers during build process

* add e2e test for dev-test-mode

* Update layer names and add prelim descriptions

* Add descriptions

* add preview images

* lint fixes

* fix sentinel vegetation band combo

* remove resolution-bandwidth-wavelength sections

* update preset menu images and add sentinel vegetation

* update layer order and vis metadata exempts

* disable snapshots for HLS layers

* update band selections for landsat

* update hls natural color landsat in layerbuilder

* fix tile matrix for ddv layers for overzoom

* Add layers to measurements, rename layers; update available bands

---------

Co-authored-by: minniewong <[email protected]>

* downgrading node fetch to v2.6.9 (nasa-gibs#4550)

* WV-2619 Updating Embed Mode for EIC (nasa-gibs#4552)

* remove addlayer and group layers // reimplement date change arrows

* open embed tab without kiosk

* update animation button for eic embed mode // remove eic param from permalink on new tab

* WV-2790 sidebar buttons (nasa-gibs#4554)

* Full Screen Styling back towards normal

* Mobile Styling back towards normal

* Chart mode styling done. Chart mode is no longer available in mobile mode.

* Lint fixes

* Merge conflict cleanup

* WV-2775: Layer Threshold Combined Slider (nasa-gibs#4553)

* Converted to double-slider

* Removed unecessary componentDidUpdate

* Simplified avg setState

* Changes from feedback

* dependabot updates 08-11-2023 (nasa-gibs#4567)

* WV-2793 Embed Examples (nasa-gibs#4555)

* updating comparison toggle position

* open animation widget as collapsed in embed mode

* display exit button for animation widget on left side in embed mode

* fix sidebar alignment in mobile embed

* disable mobile date picker in embed

* fix button alignment for compare mode

* remove event filter button

* only display embed message on hover

* update button alignments

* WV-2791: Layer Threshold Max Decreasing Fix (nasa-gibs#4556)

* Fixed incorrect end of max range in url

* Alternate solution to prevent url pattern change

* Prevented squash palette button from lowing max (nasa-gibs#4569)

* Adjusted double-slider to work with dual colormaps (nasa-gibs#4570)

* WV-2392: Add VIIRS SNPP and NOAA-20 C2 L1 STD layers (nasa-gibs#4571)

* Add Suomi NPP and NOAA-20 VIIRS STD surface reflectance

* Added Sea Ice, Snow, Ice Surface Temp, Land Surface Temp layers

* split into folders for snpp and noaa20

* IST description

* update IST resolution

* Update daac mapping

* Snow Cover, Sea Ice and LST descriptiond

* Add preview images; resolution updates

* remove empty files

* update layer-picker e2e test

---------

Co-authored-by: ryanweiler92 <[email protected]>

* WV-2622 invisible flags (nasa-gibs#4325)

* All color entries are being displayed in WV

* Modify build process to include hidden palette entries in the UI.

* decode & recoding image, still need to add process step.

* Producing static-y PNG

* Better organization

* working thru image processing steps

* Printing opaque tile to map!

* Trying to determine why my PNG encoding is resulting in a tiled image instead of full sized

* Fixed arrBuffer PNG encoding calculation to fix my multiple of 4 error. Image is opaque & correct after processing now!

* removed logging

* logging

* Removed local image which was used for testing

* Removed another local image which was used for testing

* Toggling colors works (technically) but it is too slow & initializes incorrectly

* Modifications in processColormap.js to include the disabled indices

* Logging

* logging & exploration

* logging

* Exploring build process

* Commenting in processColormap.js

* Modified build process to include all qualifying ColorMapEntries

* Manually disabling a couple palette items on layer add.

* lint fix

* Dynamically disabling palette entries appropriately

* Refactoring/merging the old palette swap code with the new code

* exploration & logging

* Removed logging

* Additional cleanup

* Additional cleanup

* Cleanup of comments

* modified palette swap to exclude continuous palettes

* Added existence check to avoid crash processing continuous palettes.

* Removed log, minor update to determine category vs continuous palettes

* Removed pako package

* Added catch to image fetch & early exit on classification refresh

* Re-ordered colormap elements in build process

* Refactor of the build array modifications

* Updated flood tour story to disable newly exposed color palettes properly

* Correctly updated Flood & Swath Gap tour stories to disable newly exposed color palettes

* Updated build to reference the index instead of the ref value when processing colormaps

* Reconciled the imageTile.js conflicts after merging develop

* Working through merge conflicts / errors

* fixed sidebar legend issue from merge

* lint fix (array destructuring)

* Modified build to restrict array re-ordering to classification type only

* Updated validity check for newActivePalettesObj

* Removed unused import

* exploring water mask

* Changed MEaSUREs layers to immutable: false & removed logging

* Removed overlooked logging

---------

Co-authored-by: Thomas Cariello <[email protected]>

* GITC WV 4.11.0 Build (nasa-gibs#4573)

* test build

* update fetchConfigs timeout

* lint fixes

* update getVisMetadata exception count

* remove console log

* update getCapabilities & getVisMetadata scripts to use Promise.all

* remove promise.all

* revert port

* reimplement promise.all

* update validateOptions

* lint

* wip

* update product picker for missing projections

* clean up

* update category-layer-row

* update max count for getVisMetadata

* update product-picker selectors

* update date-selector e2e test

* remove comment

* revert promise.all

* v4.12.0

* Dependabot Updates 08-18-23 (nasa-gibs#4586)

* dependabot updates 08-18-23

* lint update

* V4.12.0 hot fixes (nasa-gibs#4587)

* fix mobile animation date button centering

* adjust collapsed animation widget position in df

* fix sidebar coming out of df mode

* fix df dates

* UAT-v4.12.0-1

* WV-2782: Reimplement embed mode and associated documentation (nasa-gibs#4589)

* reimplement embed tab // open feedback module on link click // recover embed doc

* cleanup share.js

* update feedback link style

* fix clicking on feedback twice

* fix contact us positioning

* remove console log

* removing embed tab in mobile view (nasa-gibs#4592)

* complete verbose mode todo (nasa-gibs#4591)

* reimplement embedding doc (nasa-gibs#4598)

* WV-2806 & WV-2808: Fix misspelling of acquisition and move HLS Nadir BRDF layers to top (nasa-gibs#4595)

* Fix misspelling of acquisition and move HLS Nadir BRDF layers to top

* Update GOES-West_ABI_Band2_Red_Visible_1km.md

* dependabot updates 08-25-2023 (nasa-gibs#4610)

* wv-2702 orbit tracks (nasa-gibs#4596)

* Preliminary labels added

* Style changes to address orbit track label text

* remove logging

* wv-2579 build process eslint override removal (nasa-gibs#4590)

* no-undef: Removed ValueError extension & unused if statement in build process

* no-undef: Updated function args & refs to explicitly declare vars. Also updated some incorrect var names.

* no-undef: mergeConfig.js explicitly declare variable.

* no-undef: fetchPreviewSnapshots.js explicitly declare statusText variable.

* no-undef: validateConfig.js explicitly declare invalidJsonFiles[] & 'error' & removed unused layerConfigFiles[].

* no-undef: getVisMetadata.js various var declaration adjustments.

* Eliminated prefer-regex-literals from eslint in the build process & fixed the offending instance.

* .eslintrc rule removal

* Added linter counts

* WV-2824 Removing HLS True Color Presets And DDV Layers (nasa-gibs#4611)

* remove true color from customizable presets

* remove true color json files and remove from layer order

* Removed embed mode from class name condition & removed embed mode prop in collapsed-button component (nasa-gibs#4613)

* wv-2830: Crash fix: HLS_True_Color_Landsat continued cleanup (nasa-gibs#4616)

* Removed HLS_True_Color_Landsat from Featured Land Surface Reflectance file

* Removed HLS_True_Color_Landsat & HLS_True_Color_Sentinel from a couple other files.

---------

Co-authored-by: Thomas Cariello <[email protected]>

* wv-2820 eslint (nasa-gibs#4599)

* no-use-before-define addressed for variables

* no-use-before-define addressed for functions

* no-use-before-define addressed for classes

* Wv 2780 invalid bbox coords (nasa-gibs#4615)

* validate extent before reprojection

* lint fixes

* remove min/max labels

* change naming

* change naming continued

* WV-2831: Add contact info to embed page (nasa-gibs#4619)

* Update embeding.md

* encode space

* Rename embeding.md to embed.md

* renabling the embed doc

* update embed doc

---------

Co-authored-by: ryanweiler92 <[email protected]>

* Dependabot updates 09-01-2023 (nasa-gibs#4631)

* dependabot updates

* updated glob

* WV 2756 DDV Band Math presets (nasa-gibs#4551)

* Add HLSS30 layer // Update layerbuilder with ttiler function

* wip

* ttiler layer logic WIP

* handle ttiler layer logic

* adding HLSL30 layer

* customize band selection button

* dropdown selection

* update band combos in redux

* WIP

* rerequest ttiler layers on band combo selection

* merge develop

* update band selections

* update layerBuilder merge

* update package.json

* associated layers for dummy layers

* associated layers for dummy layers

* add default band combo's to layer defs

* band selection parent info menu for layer settings

* update rgb selection block for customize modal

* WIP

* preset options

* configuring layers

* configuring additional layers

* update addLayer logic for bandCombo param

* fix layer collection assertoin error and handle collection identifier

* load band combinations from permalink

* update layerOrder

* dev-test-mode

* update dev-mode architecture

* preset console commands

* measure wms tiles by bounding box

* date search method radio buttons

* find orbital dates

* find hls imagery for visible extent

* fix layer ordering when updating band combinations

* update layerOrder

* adding some sentinel menu presets

* WIP

* update preset options for sentinel

* adding sentinel presets to layerOrder

* fix compare layers bug

* turning off test mode

* update sources & include overzoom zot notices

* update orbit tracks for ddv layers & skip ddv layers during build process

* add e2e test for dev-test-mode

* Update layer names and add prelim descriptions

* Add descriptions

* add preview images

* lint fixes

* fix sentinel vegetation band combo

* remove resolution-bandwidth-wavelength sections

* update preset menu images and add sentinel vegetation

* update layer order and vis metadata exempts

* disable snapshots for HLS layers

* update band selections for landsat

* update hls natural color landsat in layerbuilder

* NDVI layers for Sentinel and Landsat

* add additional preset options

* Add additional layer configurations

* lint fixes

* add new landsat layers to layerbuilder

* hydrate bandCombo from url param

* fix merge conflict resolution issue

* rescale correction

* fix undefined dep

* Add layer descriptions and update titles

* Change False color to Color Infrared; add preview images

* Fix typos and change band and text order

* Update HLS_False_Color_Sentinel.md

* make preset list fixed height

* Remove band math from layer titles

Remove band math from layer titles and added calculation to layer description

---------

Co-authored-by: ryanweiler92 <[email protected]>
Co-authored-by: minniewong <[email protected]>

* UAT-v4.13.0

* fix error (nasa-gibs#4634)

* dependabot updates 09-08-23 (nasa-gibs#4648)

* wv-2798: Fix references (nasa-gibs#4620)

* Updated a couple URLs to point to production.

* Modified notification request params to eliminate test URL from code

* Reverting unnecessary spacing adjustments

---------

Co-authored-by: Thomas Cariello <[email protected]>

* wv-2836 satellite names (nasa-gibs#4638)

* Reviewed & adjusted all references to getOrbitTrackTitle()

* Lint fix & removed comment

* add satellite number to customizable HLS layers (nasa-gibs#4649)

* structuredClone to lodash (nasa-gibs#4654)

* UAT-v4.14.0

* WV-2792: Atmospheric Rivers Tour story (nasa-gibs#4618)

* WIP

* split to two stories WIP

* updates to story WIP

* short story WIP

* Update california_rains2.json

* Update step004.md

* split stories

* story with geostationary

* updates to geo

* update to zoom in more

* add distraction free to each step

* remove defunct stories

* update steps

* step text updates

* fix typos

* update text and map positioning for step 3 and 11

* Added error checking in reducers to prevent erroneous redux calls.

* Removed stray line break

---------

Co-authored-by: Tom Cariello <[email protected]>

* Change floor to round when reducing discrete palettes for sidebar (nasa-gibs#4651)

* update animate button embed mode position (nasa-gibs#4652)

* WV-2834: Enabling Tour Stories in Embed Mode (nasa-gibs#4650)

* enable embed mode with tour stories

* fix app crash on embed

* remove app mounting state

* fix custom palette removal error

* update layers reducer

* lint fix

* remove comment

* dependabot updates (nasa-gibs#4668)

* change build nonce to uuid (nasa-gibs#4657)

* Wv 2837 display currently selected preset (nasa-gibs#4637)

* first pass at currentlySelectedPreset

* lint fixes

* default first preset as selected

* remove default preset

* remove console.log

* new previews (nasa-gibs#4669)

* WV-2480: Highlight Event Tracks on Hover (nasa-gibs#4617)

* Added initial highlighting on selected track

* Added full track highlighting

* Fixed linting issues

* Fixed requested issues

* Added unhighlightEvent

* Fixed event track bugs

* Fixed missing params

* Fixed incorrect param type

* Fixed requested issues

* UAT-v4.15.0

* wv-2863: Do not show tour window on mobile devices (nasa-gibs#4674)

* Added mobile check before loading Tour component

* Adding condition to allow <Tour> on mobile when in embed mode

---------

Co-authored-by: Thomas Cariello <[email protected]>

* remove double encoding (nasa-gibs#4671)

* dependabot updates 9-22-23 (nasa-gibs#4684)

* WV-2850: Update and replace MAIAC layers (nasa-gibs#4686)

* Update MAIAC layers

* Remove collection mix note

* update measurement description

* update preview and doi

* Update preset-options.js

* WV-2857 Additional Properties GITC (nasa-gibs#4687)

* setting additionalProperties property to true for gitc builds

* lint fixes

* remove comments

* WV-2844: Autoplay Animations  (nasa-gibs#4670)

* autoplay animation in kiosk mode

* hide widget in kiosk mode and distraction free mode

* wv-2848: Shortlink update (nasa-gibs#4685)

* Added componentDidUpdate to keep queryString from going stale

* Merged latest develop

* Cleanup

* Change chlorophyll a to lower case (nasa-gibs#4695)

* Add acknowledgement for geocoding service (nasa-gibs#4694)

* Add acknowledgement for geocoding service

* fix typo

* dependabot updates 09-29-23 (nasa-gibs#4703)

* validate projections (nasa-gibs#4519)

* WV-2829 Outage Notifications (nasa-gibs#4672)

* logging

* Processing notifications in alert.js & displaying messages on WV load

* Lots of logging...

* Hide tour if state.notifications.numberunseen == null

* numberOutagesUnseen added to state

* logging

* Redux action on outage notification dismissed

* Redux actions properly reducing dismissed outage notification count

* Loading tour after dismissing outage alerts

* Exploring e2e test failures

* Updated a few e2e tests to account for the extra alert notifications

* Adjusting notification reducer

* Adjusting notification reducer

* Exploring jest failure

* logging

* Removed console.log

* Fixed jest notification test

* updated nightwatch test in share-test.spec.js

* working to add notifications in app.js

* Notifications loading on app load with outages

* Notifications working but lots of failed playwright tests to clean up

* lint fix

* Reverted changes made when using <alert> instead of <Notifications>

* More cleanup

* animation nightwatch tests updated & passing

* More e2e updates

* More e2e updates

* Majority of e2e tests updated

* Reworked notifications e2e tests to accomodate new behavior

* adjusted compare mode e2e tests

* logging

* removed logs

* Skipping test for firefox

* e2e improvements, not done yet

* Fixed behavior when notifications collide with the abt URL parameter. Also updated associated e2e tests.

* lint fix

* Reduced maximum number of Playwright workers to 3 to prevent erroneous e2e test failures

* Reverting unnecessary line break

* Logging around notification types

* Replaced early return in seperateByType() so we only notify outages (not layer outages)

* removed logs

* reverted change in notifications.js

* testing e2e with UAT endpoint

* Determine github window.location.origin value for CICD

* Reworked notification e2e tests

* Reworked notifications tests to pass in GH

* Wv 2620 reactv18 upgrade (nasa-gibs#4693)

* Upgraded to React 18.0.0

* Updated package-lock

* Fixed dependencies

* Fixed useEffect trigger

* Modified ol-measure-tool based on feedback

* Added multiple roots

* Add standard reference links (nasa-gibs#4704)

* hydrate and dehydrate bandCombo objects (nasa-gibs#4705)

* caching test (nasa-gibs#4706)

* javascript caching test (nasa-gibs#4707)

* caching test revert (nasa-gibs#4708)

* UAT-v4.16.0

* dependabot updates 10-6-23 (nasa-gibs#4713)

* WV-2829 outage adjustments (nasa-gibs#4715)

* Only notify OUTAGES on initial WV load

* Disable auto-notification when EIC mode is active

* Removed unnecessary overrides

* Disable auto-notification when in kiosk mode

---------

Co-authored-by: Thomas Cariello <[email protected]>

* v4.16.0-1

* filter gitc relevant headers (nasa-gibs#4714)

* WV-2914: Configuring New EIC Layers (nasa-gibs#4716)

* configuring new EIC layers

* adding VIIRS NOAA20 Corrected Reflectance threshold

* v4.16.0-2

* WV-2919 notify fix (nasa-gibs#4721)

* logging

* Fixed initial notification count

* lint fix

* Remove log

* v4.16.0-3

* dependency updates 10-13-2023 (nasa-gibs#4732)

* update ddv layer configs (nasa-gibs#4734)

* Added tough-cookie to package.json (nasa-gibs#4737)

* WV-2920 flood (nasa-gibs#4735)

* Updated value pushed to initializeDisabled array during build.

* Apply change to all layers (not just MODIS Flood) & remove comments

* Remove unnecessary 'id' arg from processEntries function

* Replaced comment

* Fixed comment

* WV-2913: Multiple Tracks Incorrectly Highlighted Simultaneously  (nasa-gibs#4736)

* Added overlay removal by id

* Fixed failing test

* Added createOverlayMapping function

* update right arrow disabled logic (nasa-gibs#4738)

* WV-2913: Multiple Tracks Incorrectly Highlighted Simultaneously FIX (nasa-gibs#4739)

* Added overlay removal by id

* Fixed failing test

* Added createOverlayMapping function

* Added support for multiple tracks of the same id

* Consolidated track removal into reusable function

* Fixed linting issue

* WV-2912 notification count (nasa-gibs#4733)

* logging

* dependency updates 10-13-2023 (nasa-gibs#4732)

* Reducing the number of unseen notifications when outage notification is dismissed

* Updating the info button badge on Outage notification dismissal

* Notification counts are aligned

* Adjusted addToLocalStorage object to only include outages

* Added setNotifications() call on notification dismissal to trigger component update

* lint fixes

* Improved method of updating the info badge & continue showing outages after initial notification

* lint fix

* Additional changes to account for local storage (remove previously seen notifications from the count)

* Updated failing e2e tests

---------

Co-authored-by: Ryan Weiler <[email protected]>
Co-authored-by: Patrick Moulden <[email protected]>

* Revert "WV-2912 notification count (nasa-gibs#4733)" (nasa-gibs#4740)

This reverts commit bd95b01.

* WV-2912 notification (nasa-gibs#4742)

* Updated e2e tests

* Made notification changes to app.js

* Remaining changes to complete notifications updates

* e2e test fix

* lint fix

* Removed unneeded arg

* v4.17.0

* Dependency Updates 10-20-23 (nasa-gibs#4752)

* dependabot updates 10-20-23

* dependabot updates 10-20-23 2

* dependency updates 10-27-2023 (nasa-gibs#4766)

* WV-2842: HLS DDV Measurements (nasa-gibs#4768)

* add some indices

* add some indices

* Add new measurements

* Added check for mapType in build (nasa-gibs#4757)

* Incremented package version to test deployment cache (nasa-gibs#4769)

* v4.17.1

* Updated fallback dates for each of the EIC layers

* Added NRT dois for VIIRS Suomi NPP and NOAA-20 layers (nasa-gibs#4772)

* WV-2894: npm audit fix (nasa-gibs#4756)

* Updated package-lock vulnerabilities

* Added npm overrides

* v4.18.0

* Dependency Updates 11-03-2023 (nasa-gibs#4783)

* eslint-plugin-jsx-a11y

* recharts

* ol-mapbox-style

* stylelint-config-standard-scss

* package-lock

* WV-2852 Tour Story Transition Duration Adjustment (nasa-gibs#4784)

* Adjusted transition duration timing

* Fixed tests

* WV-2940: Adding Color Palettes (nasa-gibs#4785)

* adding new palette placeholder files

* remove bad layer images

* updating color values

* updating node and lockfileVersion (nasa-gibs#4802)

* fixing hex array (nasa-gibs#4805)

* update dois to v2 (nasa-gibs#4806)

* dependency updates 11.14.23 (nasa-gibs#4807)

* Wv 2777 firms protected areas (nasa-gibs#4755)

* initial work

* disable snapshot

* remove zoom constraint

* remove non-geographic projections

* prevent error message

* add colormap

* configure max zoom

* WV-2944: Updating to OL v8.2.0 & remove NASA Logo for static maps in EIC Mode (nasa-gibs#4804)

* testing static image map

* lint fix

* rollback ol to v7.5.2

* updating tile measurement logic

* conditionally remove wv logo on static map

* update to ol 8.2.0

* update jest.config to ignore new ol modules

* e2e notify-test update

* e2e notify-test update

* EIC Fix (nasa-gibs#4808)

* v4.19.0

* dependency updates 11.17.23 (nasa-gibs#4819)

* WV-2938 notify fix (nasa-gibs#4813)

* Added total to notifications state as a reference value

* Adjusted e2e test to accomodate new state entry

* Removed console.log

---------

Co-authored-by: Thomas Cariello <[email protected]>

* Set max width to text boxes (nasa-gibs#4821)

* WV-2953: Remove MODIS_Terra_Cholophyll_A and MODIS_Aqua_Chlorophyll_A (nasa-gibs#4822)

* WV-2947: EIC Updates - Measuring Individual Tile Layer Images (nasa-gibs#4820)

* process individual tile images

* turn off dev console and revert dev-console-test component

* fix double looping in TileMeasurement

* implement retry solution

* v4.20.0

* Dependency Updates 11-24-2023 (nasa-gibs#4832)

* "ol-mapbox-style": "^12.1.1"

* "eslint": "^8.54.0"

* "recharts": "^2.10.1"

* WV-2680: Overhauling Dataset Collections Process for Multi-Day Products (nasa-gibs#4827)

* WIP

* WIP

* update collections from new component

* update image format

* update app.js

* update e2e event-test

* update sidebarEvent locator id in events e2e test

* update e2e test

* update layer-dialog-test.spec.js

* update events-mobile-test.spec.js

* turn off smart-handoff-test e2e

* WV-2962: EIC Travel Mode (nasa-gibs#4834)

* redux actions/reducer

* travel URL parameter

* update travel mode param to use ids

* travel mode titles

* display eic titles

* consolidate eic scss

* display scale colorbar

* display colorbar titles and labels

* static map edge case

* display multiple colorbars

* lint cleanup

* handle custom palettes

* filter out classification palettes

* update e2e test

* update alignment

* adjust label width

* turn off smart-handoff-test e2e

* WV-2778: Add v2 VIIRS NOAA-20 Deep Blue and Dark Target Aerosol layers (nasa-gibs#4835)

* aerosol updates

* fix orbit track name

* Update VIIRS_SNPP_AOT_Dark_Target_Land_Ocean.md

* Add layer descriptions and preview images

* Update OPERA_L3_Dynamic_Surface_Water_Extent-HLS_Provisional.json

* update e2e layer-picker-mobile-test

---------

Co-authored-by: ryanweiler92 <[email protected]>

* WV-2886 Tour Story Animation Caching (nasa-gibs#4828)

* Removed clearing of cache

* Added checking for if between steps

* Prevents for multiple play loops triggering

* Added this binding to event listeners

* dependabot updates 12-01-23 (nasa-gibs#4844)

* v4.21.0

* WV-2962: Travel Mode Fixes (nasa-gibs#4848)

* travel mode fixes

* update dark target title

* air quality dashboard title updates

* *update aerosol optical depth colorbar title* *display labels only with undefined units*

* lint fixes

* v4.21.0-1

* Added cache-clearing for non-tourstory actions (nasa-gibs#4852)

* v4.21.1

* Dependency Updates 12-08-23 (nasa-gibs#4861)

* dependency updates 12-8-23

* configure babel plugin for transforming private methods

* add loose property to babel transform private methods plugin

* dependabot updates 12-15-23 (nasa-gibs#4874)

* Wv 2749 locate ddv imagery (nasa-gibs#4614)

* first pass at imagery search

* lint fixes

* add ImagerySearch to other layers

* lint fixes

* look for imagery closest to selected date

* lint fix

* sort dates and ensure closest img dates shown

* tweak styles

* remove true color presets

* CR changes

* lint fixes

* css fix

* lazy-load list for imagery dates

* lint fixes

* load dates seperately

* remove old method

* iteration on date lazy loading

* remove trailing spaces

* underzoom zot

* imagery search enhancements

* Zots and alerts

* lint fixes

* "destroy is not a function" fix

* make zot lighter

* resolve e2e zot test

* modal

* spacing fixes

* tweak granule params

* validate entries

* zero out datetime

* data to imagery

* text changes

* requested changes

* shorten notices and enable opera layer

* change how we get the concept id

* style adjustments

* update notice on date change

* differentiate lazy-load list

* remove notice after being dismissed once

* only check visible layers

* add divider

* lint fix

* Zoom alert modal

* son't show granule alert if zoom alert is showing

* clamp max extent and improved error handling

* lint fixes

* check for granules on visibility change

* fix underzoom issue

* structure changes

* v4.22.0

* dependency updates 12-22-23 (nasa-gibs#4883)

* Update HLS Sentinel band combo; change title of EIC NOAA-20 fires (nasa-gibs#4879)

* WV-2975: Add 4 TRMM/TMI and AMSRE LPRM soil moisture layers (nasa-gibs#4888)

* Add 4 LPRM and TMI Soil Moisture layers

* Add LPRM descriptions

* Wv 2977 comparison available imagery (nasa-gibs#4887)

* fix comparison mode

* lint fix

* update local state with prop (nasa-gibs#4884)

* fix unrelated zots (nasa-gibs#4885)

* WV-2571: Update copyright info to 2024 (nasa-gibs#4889)

* Update copyright info to 2024

* Update LICENSE.md

* Update broken links (nasa-gibs#4890)

* Update broken links

* Update MODIS_Aqua_L3_SST_MidIR_4km_Night_8Day.md

* WV-2960: remove deployment link (nasa-gibs#4891)

* Removed deployment page and link; updated other misc

* Update license.md

* dependabot updates 12-29-23 (nasa-gibs#4902)

* add resolutions section to package.json for follow-redirects version 1.15.4 (nasa-gibs#4903)

* WV-2981: Dynamically update subdomains for collection updates feature for GITC deployments (nasa-gibs#4886)

* use correct subdomain in collection updates for gitc deployments

* update layer source lookup to use regex for subdomain resolver

* WV-2985: Removing Date for EIC Static Map Mode (nasa-gibs#4904)

* add resolutions section to package.json for follow-redirects version 1.15.4

* hide date during eic static map

* update SMAP dois for new versions (nasa-gibs#4905)

* v4.23.0

* update axios (nasa-gibs#4915)

* Fixes for typos, extra spaces, missing parentheses (nasa-gibs#4914)

* Fixes for typos, extra spaces, missing parentheses

* Update VIIRS_SNPP_Ice_Surface_Temp_Night.md

* v4.23.1

* check for layers in settings array that dont exist in config

* Dependency Updates 01-05-2024 (nasa-gibs#4918)

* handle adjusting startDate errors

* WW-2655: OPERA Surface Water Extent story (nasa-gibs#4921)

* Initial steps

* update story steps

* hide surface water extent story in tour story box

* update story text

* Fix typos and add correct link for Step 5

---------

Co-authored-by: ryanweiler92 <[email protected]>

* update dependencies 1-12-24 (nasa-gibs#4930)

* WV-3013: Fix dois and short names for AMSR-E and AMSR2 NSIDC layers (nasa-gibs#4931)

* Fix dois and short names

* Update AU_OCEAN doi to working link

* Further updates to steps (nasa-gibs#4932)

* v4.24.0

* Bump node version in cicd

* npm install

* Fix merge errors

* Fix merge errors

---------

Co-authored-by: ryanweiler92 <[email protected]>
Co-authored-by: christof-wittreich <[email protected]>
Co-authored-by: Patrick Moulden <[email protected]>
Co-authored-by: Tom Cariello <[email protected]>
Co-authored-by: Thomas Cariello <[email protected]>
Co-authored-by: minniewong <[email protected]>
Co-authored-by: christof-wittreich <[email protected]>
Co-authored-by: Tom Cariello <[email protected]>
Co-authored-by: PatchesMaps <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants