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

User feedback in case of errors #17

Closed
k2d222 opened this issue Jun 17, 2021 · 1 comment · Fixed by #24
Closed

User feedback in case of errors #17

k2d222 opened this issue Jun 17, 2021 · 1 comment · Fixed by #24
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@k2d222
Copy link
Collaborator

k2d222 commented Jun 17, 2021

We need to provide a ui solution to tell the user something went wrong.

-> solutions include:

  • A popup window (error dialog w/ message) (may be too invasive ?)
  • A colored banner with the error message, on the top or bottom of the window (similar to SceneBuilder's)
  • a message in the "Search" tab, where errors are most likely to occur

-> Errors include:

  • Server error (url not found)
  • Invalid inputs (e.g. species name nut found ; startDate > endDate)
  • JSON error (url did not fail, but parser failed - might be a bug in I-See-Stats of the database)
@k2d222
Copy link
Collaborator Author

k2d222 commented Jun 17, 2021

References:

The warning popup of fxml (easiest solution I believe)
image

SceneBuilder's warning banner
image

@k2d222 k2d222 added help wanted Extra attention is needed question Further information is requested labels Jun 17, 2021
@OopsOverflow OopsOverflow self-assigned this Jun 17, 2021
@OopsOverflow OopsOverflow linked a pull request Jun 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants