[BTAPP-37] Grey out Next week arrow when on the current week #51

Merged
chris merged 1 commit from feature/BTAPP-37 into main 2026-06-25 19:07:25 -06:00
Owner

Ticket

BTAPP-37

Summary

  • Adds isAtCurrentWeek = dayjs(weekDate).add(1, week).isAfter(dayjs()) to detect when navigating forward would exceed today
  • Applies disabled + 0.35 opacity to the Next button when on the current week
  • Tests: Next disabled initially, Next enabled after navigating to a past week
## Ticket [BTAPP-37](http://192.168.2.100:7123/home/browse/BTAPP-37/) ## Summary - Adds `isAtCurrentWeek = dayjs(weekDate).add(1, week).isAfter(dayjs())` to detect when navigating forward would exceed today - Applies `disabled` + 0.35 opacity to the Next button when on the current week - Tests: Next disabled initially, Next enabled after navigating to a past week
[BTAPP-37] Grey out and disable the Next week arrow when viewing the current week.
All checks were successful
app / check (pull_request) Successful in 18s
plane-sync / sync (pull_request) Successful in 2s
08101d14b2
chris merged commit dceea6e7da into main 2026-06-25 19:07:25 -06:00
chris deleted branch feature/BTAPP-37 2026-06-25 19:07:25 -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!51
No description provided.