-
Notifications
You must be signed in to change notification settings - Fork 4
Improve QC folder plot controls #1120
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
Conversation
labkey-tchad
left a comment
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.
Test updates look good.
|
@cnathe could you give the UI changes a code review? |
| this.lastParsedResponse = JSON.parse(response.responseText); | ||
| this.processPlotData(); | ||
| // Ignore if not the most recent request | ||
| if (requestSeq !== this._qcRequestSeq) |
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.
since we are calling this._qcActiveRequest.abort() before creating a new request, it seems like this case of "not the most recent request" shouldn't be hit. Is this just for the rare case where we don't abort in time?
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.
Yes. It might be overkill for this scenario, but what I saw was that abort() can still be subject to a race condition. I would have thought that JS's default threading model would make this a non-issue, but decided to do both since it wasn't much extra work
Rationale
We've accumulated a lot of controls for Panorama's QC plots. We can do a better job of arranging them and explaining them.
Changes