Problem
Currently users can tap buttons multiple times while API calls are in flight. No visual feedback shows that an operation is pending.
Affected Screens
-
- no loading state during check-in API call
- (if exists) - can create multiple shifts
- (if exists) - can submit lot multiple times
- (if exists) - payroll could run twice = double pay
Current Code Example
The state exists but:
Implementation
Update Button Component
Update Screens
Add Loading Overlay Component
Prevent Double-Submit Pattern
Problem
Currently users can tap buttons multiple times while API calls are in flight. No visual feedback shows that an operation is pending.
Affected Screens
Current Code Example
The state exists but:
Implementation
Update Button Component
Update Screens
Add Loading Overlay Component
Prevent Double-Submit Pattern