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

feat(geo): add a error message on fail during data download #1464

Merged
merged 2 commits into from
Oct 27, 2023

Conversation

pelord
Copy link
Member

@pelord pelord commented Oct 25, 2023

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
Wrong url or path simply raise a console.log message OR throw an error.
+
On error, the "data download" message stay indefinetly.

What is the new behavior?
Raise message error + delete the Download start message.

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@pelord pelord requested a review from alecarn October 25, 2023 17:24
this.messageService.success(
'igo.geo.indexedDb.data-download-failed',
undefined,
{ timeOut: 40000 }
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a subjective subject but I find the deadline a little long. I usually configure this type of notification to a maximum of 5 seconds otherwise I use a dialog to communicate information that requires special attention

@pelord pelord merged commit 6673979 into release/16.0.0 Oct 27, 2023
1 check passed
@pelord pelord deleted the err-handling-geodb-files branch October 27, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants