15 Commits

Author SHA1 Message Date
DocNR
6c7c54a54e feat(social): implement link and image rendering in social posts
- Create contentParser utility to detect URLs and images in text
- Enhance EnhancedSocialPost to render links as clickable and images as embedded
- Archive unused SocialPost component following project conventions
- Update CHANGELOG.md to document the enhancement

This fixes the issue where links and images weren't properly rendered in the social feeds, improving the user experience by making content more interactive and visual.
2025-04-09 21:50:47 -04:00
DocNR
5ff311bc4a feat(ios): Prepare app for TestFlight submission
UI enhancements and production optimizations:
- Added production flag in theme constants
- Hid development-only Programs tab in production builds
- Removed debug UI elements and debug logs from social feed
- Fixed workout completion flow UI issues (input styling, borders, spacing)
- Made improvements to exercise name resolution in feeds
- Standardized form element spacing and styling
- Enhanced multiline inputs with consistent design system

Note: Exercise name resolution in social feed still needs additional work
2025-04-06 23:26:55 -04:00
DocNR
969163313a fix(auth): Improve authentication state handling and avatar display
* Add style prop to UserAvatar component for better customization
* Refactor UserAvatar to use getAvatarSeed utility for consistent avatar generation
* Fix React hook ordering issues in profile/overview.tsx to prevent crashes during auth state changes
* Add proper state initialization and cleanup during authentication transitions
* Ensure consistent fallback avatar display for unauthenticated users

These changes improve stability during login/logout operations and provide better visual continuity with Robohash avatars when profile images aren't available.
2025-04-02 21:11:25 -04:00
DocNR
755e86e30b fix(profile): standardize login experience across profile screens
- Create reusable NostrProfileLogin component for consistent UI across all screens
- Fix profile feed error when not authenticated by conditionally calling useSocialFeed
- Resolve hook ordering inconsistencies to prevent React errors
- Improve feed loading state management during authentication transitions
- Update all profile screens (overview, activity, progress, settings) to use shared component
- Add proper error handling for profile data loading when not authenticated

This change resolves the console error that appeared when accessing the profile tab
while not logged in, while also providing a better user experience through
consistent styling and messaging across all profile screens.
2025-04-01 21:28:50 -04:00
DocNR
2316a93dc2 social feed wip, still having loading issues with following feed 2025-03-24 15:55:58 -04:00
DocNR
9043179643 Add NDK Mobile Cache Integration Plan and enhance offline functionality 2025-03-23 15:53:34 -04:00
DocNR
58194c0eb3 restructure and optimization of social tab 2025-03-21 22:21:45 -04:00
DocNR
24e7f53ac3 fixed favorites refresh and fixed but in powrpacksection that wasn't showing filtered powr packs (directly adding powrpacks by hex id now) 2025-03-18 15:55:00 -04:00
DocNR
c6a9af080c added library store and fixed refresh issues in exercise and template screens in user library 2025-03-17 23:37:08 -04:00
DocNR
6ac0e80e45 splash screen, fixed delete exercises and templates when deleting powr pack bug, ui improvement to import powr pack screen 2025-03-17 20:20:16 -04:00
DocNR
f1411e8568 powr pack bug fixes 2025-03-16 21:31:38 -04:00
DocNR
80bdb87fdc removed mock data! using powr pack to seed library 2025-03-13 23:07:09 -04:00
DocNR
5b706b3894 bug fix to associate exercise and workouts in powr pack 2025-03-13 22:39:28 -04:00
DocNR
a3e9dc36d8 POWR Pack feature WIP - basic functionality, need to associate exercise events with workout template events. 2025-03-13 14:02:36 -04:00
DocNR
dca4ef5b33 nip update and WIP social tab 2025-03-01 13:43:42 -05:00