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

Release into main #5602

Merged
merged 20 commits into from
Dec 6, 2024
Merged

Release into main #5602

merged 20 commits into from
Dec 6, 2024

Conversation

PatchesMaps
Copy link
Contributor

No description provided.

christof-wittreich and others added 20 commits November 12, 2024 17:04
…ion type imagery in Worldview (#5580)

* Refactor image download panel and toolbar container

This commit refactors the image download panel and toolbar container components.

In the image download panel, the code has been modified to import the `useSelector` hook from `react-redux` and the `getActivePalettes` selector from `../../modules/palettes/selectors`. The `activePalettes` variable is now retrieved using the `useSelector` hook.

In the toolbar container, the code has been modified to remove an unnecessary `await` statement and the corresponding `getPromise` function call. The `await this.getPromise(hasCustomPalette, 'palette', clearCustoms, 'Notice');` line has been removed.

Additionally, the `imageUtilGetLayers` function in `image-download/util.js` has been modified to accept an additional parameter `activePalettes`. The `activePalettes` variable is now passed as an argument to the `imageUtilGetLayers` function in the `getDownloadUrl` function.

Lastly, a new selector function `getActivePalettes` has been added to `palettes/selectors.js` to retrieve the active palettes from the state.

* Refactor image download panel and toolbar container

* Remove old tests
* Add AMSR2 L3 Weekly and Monthly layers

* AMSR2 weekly/monthly preview images

* fix missing HLS SWIR images
* Dev package version

* ol to v10.3.0
* add new El Nino tour story

* Suggested updates to story

* Update el_nino.json

* Update animation for step 4

* Update step004.md

---------

Co-authored-by: minniewong <[email protected]>
@PatchesMaps PatchesMaps added the ignore-for-release Don't include this PR in release notes label Dec 6, 2024
@PatchesMaps PatchesMaps self-assigned this Dec 6, 2024
@PatchesMaps PatchesMaps merged commit 8aea2d1 into main Dec 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release Don't include this PR in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants