Skip to content

PB-871 : only dispatch if something has changed#1046

Merged
pakb merged 2 commits intodevelopfrom
fix-PB-871-too-many-refresh
Sep 2, 2024
Merged

PB-871 : only dispatch if something has changed#1046
pakb merged 2 commits intodevelopfrom
fix-PB-871-too-many-refresh

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Aug 30, 2024

it was dispatching any time any URL param changed, leading to the part of the code reloading the topic/layers config being called way too often

Test link

@pakb pakb requested review from ltkum and ltshb August 30, 2024 10:17
@github-actions github-actions bot added the bug label Aug 30, 2024
@cypress
Copy link

cypress bot commented Aug 30, 2024

web-mapviewer    Run #3174

Run Properties:  status check passed Passed #3174  •  git commit 871a1ade67: PB-871 : ensure "null" is used when base url overrides is disabled
Project web-mapviewer
Branch Review fix-PB-871-too-many-refresh
Run status status check passed Passed #3174
Run duration 05m 03s
Commit git commit 871a1ade67: PB-871 : ensure "null" is used when base url overrides is disabled
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 21
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 210
View all changes introduced in this branch ↗︎

@pakb
Copy link
Contributor Author

pakb commented Sep 2, 2024

There's still a bug in 3D I'd like to fix within this PR directly.

pakb added 2 commits September 2, 2024 08:17
it was dispatching any time any URL param changed, leading to the part of the code reloading the topic/layers config being called way too often
When switching to 3D, some undefined values were set, leading to a lot of bugs (and no background tiles being added in 3D)
@pakb pakb force-pushed the fix-PB-871-too-many-refresh branch from e138a33 to 871a1ad Compare September 2, 2024 06:29
@pakb pakb merged commit c0334e4 into develop Sep 2, 2024
@pakb pakb deleted the fix-PB-871-too-many-refresh branch September 2, 2024 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants