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

refactor(viewer.js): Add errorinterceptor argument to propagate error to the top level app #85

Merged

Conversation

GitanjaliChhetri
Copy link
Contributor

Errors thrown in viewer.js can now be propagated to the Slim Viewer App.
Changes needed for ImagingDataCommons/slim#134

@GitanjaliChhetri GitanjaliChhetri marked this pull request as draft November 19, 2022 05:52
@GitanjaliChhetri GitanjaliChhetri marked this pull request as ready for review November 23, 2022 03:36
@GitanjaliChhetri
Copy link
Contributor Author

@hackermd I do not seem to have permissions to add reviewers to this PR. Please know it's ready for your review. Thanks!

src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
src/viewer.js Outdated Show resolved Hide resolved
@hackermd hackermd added the enhancement New feature or request label Dec 12, 2022
@hackermd hackermd self-assigned this Dec 12, 2022
@GitanjaliChhetri
Copy link
Contributor Author

@hackermd I have addressed the requested changes. Please let me know if this can be merged? Thank you.

Copy link
Collaborator

@hackermd hackermd left a comment

Choose a reason for hiding this comment

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

Thanks @GitanjaliChhetri. The changes look good. However, the yarn test command currently fails for me. The error report includes a lot of linting errors that were discovered by yarn lint.

Unfortunately, the "unit tests" workflow doesn't automatically get tricked for the pull request. I somehow can't add it as a required status check. cc @fedorov
Until this issue is resolved, the checks need to be run manually locally.

@hackermd
Copy link
Collaborator

@GitanjaliChhetri @fedorov got the status checks working.

@fedorov
Copy link
Member

fedorov commented Feb 10, 2023

@hackermd can you please re-review? Per @GitanjaliChhetri, all of your concerns should now be addressed.

@igoroctaviano igoroctaviano changed the title Add errorinterceptor argument to propagate error to the top level app refactor(viewer.js): Add errorinterceptor argument to propagate error to the top level app May 8, 2024
@igoroctaviano igoroctaviano self-requested a review May 8, 2024 19:31
@igoroctaviano igoroctaviano requested review from hackermd and removed request for hackermd May 9, 2024 20:44
@igoroctaviano igoroctaviano merged commit a78dc00 into ImagingDataCommons:master May 9, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants