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

Fix #10626 adding possibilities for better updating store #10627

Merged
merged 4 commits into from
Oct 25, 2024

Conversation

MV88
Copy link
Contributor

@MV88 MV88 commented Oct 23, 2024

Description

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?

Fix #10626

What is the new behavior?

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

# Conflicts:
#	web/client/actions/__tests__/catalog-test.js
@MV88 MV88 added this to the 2025.01.00 milestone Oct 23, 2024
@MV88 MV88 requested a review from tdipisa October 23, 2024 16:49
@MV88 MV88 self-assigned this Oct 23, 2024
@MV88 MV88 requested review from allyoucanmap and removed request for tdipisa October 23, 2024 16:52
web/client/actions/__tests__/catalog-test.js Outdated Show resolved Hide resolved
web/client/actions/__tests__/layers-test.js Outdated Show resolved Hide resolved
*/
export function updateAllLayers(layers) {
return {
type: UPDATE_ALL_LAYERS,
Copy link
Contributor

Choose a reason for hiding this comment

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

Based also on the jsdoc this operation represent a replacement so I would call this REPLACE_LAYERS/replaceLayers

@MV88 MV88 changed the title Fix #10626 adding possibilites for better updating store Fix #10626 adding possibilities for better updating store Oct 24, 2024
@allyoucanmap allyoucanmap self-requested a review October 25, 2024 07:30
@allyoucanmap allyoucanmap merged commit 8e2d443 into geosolutions-it:master Oct 25, 2024
6 checks passed
@allyoucanmap
Copy link
Contributor

@MV88 @ElenaGallo this improvements are related to new actions for development so I don't think there are test to be done

@MV88
Copy link
Contributor Author

MV88 commented Oct 25, 2024

@MV88 @ElenaGallo this improvements are related to new actions for development so I don't think there are test to be done

correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

extend possibilities to update state catalog and layers
2 participants