-
Notifications
You must be signed in to change notification settings - Fork 3
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
Refreshing the page after a finished validation #96
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current state breaks the one-time validation for NIX and odML.
@@ -0,0 +1,16 @@ | |||
window.addEventListener("load", function(evt) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently this is called on every page; the execution should be restricted to the results page if results are still unavailable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened issue #97
Pull Request Test Coverage Report for Build 2590904807
💛 - Coveralls |
Page will be refreshed after a validation will be done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https websocket connection seems to have issues with the current setup.
new_uri = "ws:"; | ||
} | ||
new_uri += "//" + loc.host + "/ws"; | ||
ws = new WebSocket(new_uri); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested it on valid.dev.g-node.org, where it fails here with the browser console message WebSocket connection to 'wss://valid.dev.g-node.org/ws' failed
.
The changes are kept in a separate branch; I'll change the PR status to draft until the required changes can be added. |
Page will be refreshed automatically after a validation will be done.
The user will see a loading animation to make him more comfortable to wait