Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

enhancement/cwms-timeseries-list #246

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

KevinJJackson
Copy link
Contributor

Fixes: USACE/instrumentation#210

Implement useInfiniteQuery as well as useInfiniteScroll hook to manage infinite scrolling on the CWMS Timeseries List. Set new page size limit of 500 to address large payloads taking a long time to request across network as well as long render times.

Also integrated with the like query param in the CWMS API. This will further reduce the size of the returned payloads. User input is debounced by 300ms to reduce the number of requests sent to the CWMS API.

Fixed an issue that was causing the buildQueryParams function to attempt to pass empty strings as query params unintentionally.

@KevinJJackson KevinJJackson merged commit 87d2297 into develop Dec 2, 2024
@KevinJJackson KevinJJackson deleted the enhancement/cwms-timeseries-list branch December 2, 2024 21:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG REPORT]: CWMS Timeseries Listings
1 participant