-
Notifications
You must be signed in to change notification settings - Fork 30
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
Render flexible confusion matrices as expected #2523
Conversation
extension/src/plots/model/collect.ts
Outdated
|
||
if (isMultiView) { | ||
fields.unshift('rev') | ||
return JSON.parse( |
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.
Similar blocks of code found in 2 locations. Consider refactoring.
|
||
const data = getMultiSourceOutput() | ||
|
||
export default data |
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.
[F] This uses the regular pattern if we want to include the multi-source plots in a new story then I should be able to wire them up pretty quickly.
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 PR diff size of 337569 lines exceeds the maximum allowed for the inline comments feature.
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 PR diff size of 337565 lines exceeds the maximum allowed for the inline comments feature.
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 PR diff size of 337565 lines exceeds the maximum allowed for the inline comments feature.
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.
Great work!
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 PR diff size of 337565 lines exceeds the maximum allowed for the inline comments feature.
Code Climate has analyzed commit 1e26fa1 and detected 0 issues on this pull request. Too many changed lines in diff View more on Code Climate. |
1/2
main
<- this <- #2531Closes #2516
The problem was that the revision field was not being updated by us before trying to render the plot as expected. In order to do that we have to combine the rev field with the filename in the underlying data (no change to the template for these ones).
Successfully rendering the plot then causes a separate issue which is addressed in #2531.
Screenshot:
Test project: https://github.com/dberenbaum/example-get-started/tree/flexible_plots (output copied as a new test fixture).
Note:
+337,296
of the diff comes fromextension/src/test/fixtures/plotsDiff/multiSource.ts