Skip to content

[Backport c027-2024.01.xx]: #11153: Persist Swipe Layer state after map refresh (#11158)#11265

Merged
tdipisa merged 1 commit intogeosolutions-it:c027-2024.01.xxfrom
mahmoudadel54:porting_11153_c027-2024.01.xx
Jul 2, 2025
Merged

[Backport c027-2024.01.xx]: #11153: Persist Swipe Layer state after map refresh (#11158)#11265
tdipisa merged 1 commit intogeosolutions-it:c027-2024.01.xxfrom
mahmoudadel54:porting_11153_c027-2024.01.xx

Conversation

@mahmoudadel54
Copy link
Copy Markdown
Contributor

[Backport c027-2024.01.xx]: #11153: Persist Swipe Layer state after map refresh (#11158)

…eosolutions-it#11158)

* geosolutions-it#11153: Persist Swipe Layer state after map refresh
- handle save swipe data into mapsave
- handle setting the swipe saved data into swipe state after map config load
- handle detect swipe change for save map
- add unit tests

* resolve review comments include:
- use registerCustomSaveHandler  instead of using basicMapOptionsToSaveSelector to save swipe state

* Update web/client/selectors/swipe.js

---------

Co-authored-by: Suren <dsuren1@gmail.com>
@mahmoudadel54 mahmoudadel54 self-assigned this Jul 2, 2025
@mahmoudadel54 mahmoudadel54 linked an issue Jul 2, 2025 that may be closed by this pull request
1 task
@tdipisa tdipisa merged commit 352c097 into geosolutions-it:c027-2024.01.xx Jul 2, 2025
6 checks passed
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.

Persist Swipe Layer state after map refresh

2 participants