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

Endpoint Aggregation form #883

Merged
merged 7 commits into from
Sep 9, 2023
Merged

Endpoint Aggregation form #883

merged 7 commits into from
Sep 9, 2023

Conversation

shapiromatron
Copy link
Owner

@shapiromatron shapiromatron commented Aug 28, 2023

What changed:

  • Switched from react-based mixed form to pure django form for summary.Visual.BIOASSAY_AGGREGATION
  • build a reusable queryset for assessment level Endpoint selection
  • global CSS change - select multiple can be y-resized

Background: The visual Endpoint Aggregation type is deprecated and no longer used. However, we have existing ones in the database, so we need some sort of form to edit. This PR removes all JS related to this form, and then updates the django form so it's usable. I spent a little extra time updating how the queryset for the endpoint selector is returned; it seems like it may be useful in the future, and this pattern may be reusable in other contexts.


Examples to check:

  • Create: /summary/assessment/100500032/visuals/0/create/
  • Update: /summary/visual/assessment/100500032/cancer-data/

@shapiromatron shapiromatron requested review from caseyhans and removed request for munnsmunns September 8, 2023 18:53
Copy link
Collaborator

@caseyhans caseyhans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the CSS change!

@shapiromatron shapiromatron merged commit bffd767 into main Sep 9, 2023
@shapiromatron shapiromatron deleted the aggregation-form branch September 9, 2023 01:22
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