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

vdk-jupyter: improve error handling on the UI #1528

Merged
merged 6 commits into from
Jan 25, 2023

Conversation

duyguHsnHsn
Copy link
Collaborator

What:
This PR introduces a new way to handle errors in the Jupyter UI, using a function called showErrorMessage from jupyterlab/apputils ( you can see https://jupyterlab.readthedocs.io/en/stable/api/modules/apputils.html )

Why: Up to now we used to console log the errors we et on the UI (mainly to check the behaviour of the extension).

Testing: Tested the dialogs manually

PS: test for the whole UI are u to be introduced soon

Signed-off-by: Duygu Hasan hduygu@vmware.com

@murphp15
Copy link
Collaborator

Can you include a screenshot of what it looks like?

@duyguHsnHsn duyguHsnHsn force-pushed the person/hduygu/vdk-jupyter-ui-errors branch from d323aaa to a4e1498 Compare January 23, 2023 09:00
@duyguHsnHsn
Copy link
Collaborator Author

This is an example error for downloading a job
Screenshot 2023-01-23 at 12 30 34

Copy link
Collaborator

@murphp15 murphp15 left a comment

Choose a reason for hiding this comment

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

Looks good, really good work!

@duyguHsnHsn duyguHsnHsn enabled auto-merge (squash) January 25, 2023 11:28
@duyguHsnHsn duyguHsnHsn merged commit 860aefd into main Jan 25, 2023
@duyguHsnHsn duyguHsnHsn deleted the person/hduygu/vdk-jupyter-ui-errors branch January 25, 2023 11:30
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.

None yet

4 participants