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

SIMSBIOHUB-488: Paginate survey and sample site list endpoints #1214

Merged
merged 48 commits into from
Feb 23, 2024

Conversation

curtisupshall
Copy link
Contributor

@curtisupshall curtisupshall commented Feb 16, 2024

Overview

Links to Jira Tickets

Description of Changes

  • Modifies the survey list endpoint to support server-side pagination
  • Updates the survey list page to use MUI DataGrid
  • Modifies the sample site list endpoint to support server-side pagination
  • Removes some code associated with project/survey submission status
  • Refactors code associated with sampling site, method and period.

Testing Notes

You should be able to:

  • Create several seed projects and seed surveys using the two new environment variables, NUM_SEED_PROJECTS and NUM_SEED_SURVEYS_PER_PROJECT.
  • List surveys at varying page sizes
  • Sort the surveys list by name

@curtisupshall curtisupshall changed the title SIMSBIOHUB-888: Paginate survey and sample site list endpoints SIMSBIOHUB-488: Paginate survey and sample site list endpoints Feb 16, 2024
@curtisupshall curtisupshall added the Not Ready For Review Addressing feedback and/or refactoring label Feb 16, 2024
al-rosenthal

This comment was marked as resolved.

curtisupshall and others added 2 commits February 22, 2024 13:04
Cleanup sample location queries.
Add missing sample site/method/period details to openapi spec.
Misc cleanup
NickPhura
NickPhura previously approved these changes Feb 23, 2024
Copy link
Collaborator

@NickPhura NickPhura left a comment

Choose a reason for hiding this comment

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

📄

al-rosenthal

This comment was marked as resolved.

@NickPhura

This comment was marked as resolved.

al-rosenthal
al-rosenthal previously approved these changes Feb 23, 2024
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

ran it locally and things look good! 🍨

al-rosenthal
al-rosenthal previously approved these changes Feb 23, 2024
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

📓

Copy link

sonarcloud bot commented Feb 23, 2024

Quality Gate Passed Quality Gate passed

Issues
5 New issues

Measures
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🐩

@curtisupshall curtisupshall merged commit 8bbccc9 into dev Feb 23, 2024
19 checks passed
@curtisupshall curtisupshall deleted the SIMSBIOHUB-488 branch February 23, 2024 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants