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

Add PRISMA visual type view and JS stub #1020

Merged
merged 12 commits into from
Jun 13, 2024
Merged

Add PRISMA visual type view and JS stub #1020

merged 12 commits into from
Jun 13, 2024

Conversation

munnsmunns
Copy link
Collaborator

@munnsmunns munnsmunns commented Apr 22, 2024

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.

@munnsmunns munnsmunns marked this pull request as ready for review April 26, 2024 15:35
Copy link
Owner

@shapiromatron shapiromatron left a 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"),
Copy link
Owner

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

@munnsmunns munnsmunns merged commit db76544 into main Jun 13, 2024
6 checks passed
@munnsmunns munnsmunns deleted the prisma-visual branch June 13, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants