mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
refactor(native): replace runOnJS with scheduleOnRN and custom timeAgo with date-fns
- Swap `runOnJS` for `scheduleOnRN` from `react-native-worklets` in gesture handler `.onEnd()` callbacks (HeroBanner, PosterCard) - Delete custom `timeAgo` util; use `date-fns` `formatDistanceToNow` in integration status strings - Enhance person detail screen: formatted birth date with age/death calculation, place of birth with MapPin icon, department label mapping, CalendarIcon for dates - Fix `ExpandableText` truncation detection by measuring line count on a hidden full-text node rather than the clamped one; add `actionColor` prop so title accent color can theme the toggle - Polish PosterCard metadata row: remove icon opacity, tighten gaps
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
"@tanstack/react-query": "catalog:",
|
||||
"@tanstack/react-query-persist-client": "5.90.24",
|
||||
"better-auth": "catalog:",
|
||||
"date-fns": "catalog:",
|
||||
"expo": "55.0.6",
|
||||
"expo-application": "55.0.9",
|
||||
"expo-clipboard": "55.0.8",
|
||||
|
||||
Reference in New Issue
Block a user