-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add PRISMA visual type view and JS stub #1020
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.
Looks good - I did a major refactoring to use the full JS form lifecycle, instead of the django template based once you originally implemented, this is what we'll need for this diagram since it will be heavily interactive. It took a look of code, a lot of it redundant with the exploratory heatmap JS, so it may be ripe for refactoring in the future.
That said, this PR will be a good template for how to create a new JS summary figure.
@@ -33,6 +33,7 @@ class Migration(migrations.Migration): | |||
(6, "exploratory heatmap"), | |||
(7, "plotly"), | |||
(8, "static image"), | |||
(9, "PRISMA"), |
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.
I had to update a migration since the database choices were altered; I didn't have to create one since this doesn't change the database
Add the building blocks for the PRISMA visual type. Adds a JS view for the PRISMA form that loads when it is selected from the dropdown list, which is a stub for future development of the form.