Skip to content

refactor(gas-profiler): paging/dates#406

Merged
mattevans merged 1 commit intomasterfrom
fix/gas-profiler-dates
Feb 10, 2026
Merged

refactor(gas-profiler): paging/dates#406
mattevans merged 1 commit intomasterfrom
fix/gas-profiler-dates

Conversation

@mattevans
Copy link
Member

Switch from auto-generated tanstack query options to direct service invocations wrapped in fetchAllPages to handle large datasets. This removes the 1000-row limit and loads complete time-series data.

Add 24h and 72h time periods to constants and bump pageSize to 10000 to accommodate full data sets. Filter daily records client-side when a specific day range is selected to keep charts consistent with the chosen period.

Update query keys to reflect new data structure and add AbortSignal support for cancellation.

…rvice calls and pagination

Switch from auto-generated tanstack query options to direct service
invocations wrapped in fetchAllPages to handle large datasets. This
removes the 1000-row limit and loads complete time-series data.

Add 24h and 72h time periods to constants and bump pageSize to 10000
to accommodate full data sets. Filter daily records client-side when
a specific day range is selected to keep charts consistent with the
chosen period.

Update query keys to reflect new data structure and add AbortSignal
support for cancellation.
@mattevans mattevans self-assigned this Feb 10, 2026
@mattevans mattevans requested a review from Savid as a code owner February 10, 2026 21:26
@mattevans mattevans merged commit dd4ba34 into master Feb 10, 2026
3 checks passed
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.

1 participant