Skip to content

[Backport 2025.01.xx]: #11153: Persist Swipe Layer state after map refresh (#11158)#11206

Merged
tdipisa merged 1 commit intogeosolutions-it:2025.01.xxfrom
mahmoudadel54:porting_issue_11153_2025.01.xx
Jun 18, 2025
Merged

[Backport 2025.01.xx]: #11153: Persist Swipe Layer state after map refresh (#11158)#11206
tdipisa merged 1 commit intogeosolutions-it:2025.01.xxfrom
mahmoudadel54:porting_issue_11153_2025.01.xx

Conversation

@mahmoudadel54
Copy link
Copy Markdown
Contributor

[Backport 2025.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 added this to the 2025.01.01 milestone Jun 13, 2025
@mahmoudadel54 mahmoudadel54 requested a review from dsuren1 June 13, 2025 11:23
@mahmoudadel54 mahmoudadel54 self-assigned this Jun 13, 2025
@mahmoudadel54 mahmoudadel54 linked an issue Jun 13, 2025 that may be closed by this pull request
1 task
@tdipisa tdipisa merged commit e173883 into geosolutions-it:2025.01.xx Jun 18, 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