[BTAPP-39] Disable week navigation arrows while week data is fetching #48

Merged
chris merged 2 commits from feature/BTAPP-39 into main 2026-06-25 21:14:03 -06:00
Owner

Ticket

BTAPP-39 Disable week navigation arrows while week data is loading

Summary

  • Both Previous/Next arrows are now disabled (with 0.35 opacity) while budgetQuery.isFetching is true, preventing a second navigation from firing while the current fetch is in flight
  • Navigation handlers rewritten with functional setState (prev =>) so rapid taps always derive the target week from the current weekDate state rather than stale budget.date data
  • Test verifies pressing Previous fetches the exact date 7 days before the current week
## Ticket [BTAPP-39](http://192.168.2.100:7123/home/browse/BTAPP-39/) Disable week navigation arrows while week data is loading ## Summary - Both Previous/Next arrows are now `disabled` (with 0.35 opacity) while `budgetQuery.isFetching` is true, preventing a second navigation from firing while the current fetch is in flight - Navigation handlers rewritten with functional setState (`prev =>`) so rapid taps always derive the target week from the current `weekDate` state rather than stale `budget.date` data - Test verifies pressing Previous fetches the exact date 7 days before the current week
[BTAPP-39] Disable week navigation arrows while week data is fetching.
All checks were successful
app / check (pull_request) Successful in 19s
ccd5a8a7cc
Uses functional setState so rapid taps always advance from the current weekDate rather than stale budget data.
[BTAPP-39] Merge main.
All checks were successful
app / check (pull_request) Successful in 20s
plane-sync / sync (pull_request) Successful in 1s
3c4ad9863d
chris merged commit 9dbcbd59bb into main 2026-06-25 21:14:03 -06:00
chris deleted branch feature/BTAPP-39 2026-06-25 21:14:03 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
chris/budget-tracker!48
No description provided.