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

PB 1151: add warning message kml import partially out of bounds #1195

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ltkum
Copy link
Contributor

@ltkum ltkum commented Jan 13, 2025

Issue : When a user import a file which is partially out of bounds, we want to notify the user that the file is not completely within bounds, and that some functionalities might not be available.

Fix : we add a flag in the store, and the state of the flag will tell us if we need to show the warning message or the valid message.

Test link

@ltkum ltkum requested a review from pakb January 13, 2025 17:43
Copy link

cypress bot commented Jan 13, 2025

web-mapviewer    Run #4295

Run Properties:  status check passed Passed #4295  •  git commit 6f16564498: PB 1151: test corrections
Project web-mapviewer
Branch Review feat-PB-1151-add-warning-message-kml-import-partially-out-of-bounds
Run status status check passed Passed #4295
Run duration 04m 53s
Commit git commit 6f16564498: PB 1151: test corrections
Committer Martin Künzi
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 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 231
View all changes introduced in this branch ↗︎

@ltkum ltkum force-pushed the feat-PB-1151-add-warning-message-kml-import-partially-out-of-bounds branch 3 times, most recently from 60bbd66 to 371f17c Compare January 14, 2025 10:24
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

I think I'd prefer that we add a list of warning message on each layer (like what we did with error messages), and that would streamline this kind of feedback.

I don't really like that we need a dedicated entry in the store for this specific, very edgy, use case

ltkum added 3 commits January 16, 2025 10:29
Issue : When a user import a file which is partially out of bounds, we want to notify the user that the file is not completely within bounds, and that some functionalities might not be available.

Fix : we add a flag in the store, and the state of the flag will tell us if we need to show the warning message or the valid message.
@ltkum ltkum force-pushed the feat-PB-1151-add-warning-message-kml-import-partially-out-of-bounds branch from 371f17c to 6f16564 Compare January 16, 2025 09:29
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