[BTAPP-46] Replace progress bar width animation with scaleX transform #56

Merged
chris merged 2 commits from feature/BTAPP-46 into main 2026-06-29 08:21:31 -06:00
Owner

Ticket

BTAPP-46 Rework progress bar proportion animation using scale transform

Summary

  • Replace width-based Animated.Value animation (JS thread, useNativeDriver: false) with scaleX + translateX transforms (native thread, useNativeDriver: true)
  • Left-anchor the spent bar and right-anchor the remaining bar using the identity translateX = ±W·(1−scaleX)/2; the 8 px gap is baked into the scale targets rather than driven by a third animated view
  • Fix a pre-existing stale test assertion in progress/.test.tsx
## Ticket [BTAPP-46](http://192.168.2.100:7123/home/browse/BTAPP-46/) Rework progress bar proportion animation using scale transform ## Summary - Replace width-based `Animated.Value` animation (JS thread, `useNativeDriver: false`) with `scaleX` + `translateX` transforms (native thread, `useNativeDriver: true`) - Left-anchor the spent bar and right-anchor the remaining bar using the identity `translateX = ±W·(1−scaleX)/2`; the 8 px gap is baked into the scale targets rather than driven by a third animated view - Fix a pre-existing stale test assertion in `progress/.test.tsx`
[BTAPP-46] Replace width animation with scaleX+translateX on native driver.
All checks were successful
app / check (pull_request) Successful in 21s
226e2eaf96
[BTAPP-46] Fix rounded corners by moving borderRadius to container.
All checks were successful
app / check (pull_request) Successful in 20s
plane-sync / sync (pull_request) Successful in 1s
9c3621c03f
chris merged commit 42964f2255 into main 2026-06-29 08:21:31 -06:00
chris deleted branch feature/BTAPP-46 2026-06-29 08:21:31 -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!56
No description provided.