25 Commits

Author SHA1 Message Date
DocNR
c441c5afa5 feat(profile): Improve profile loading performance with tiered display system
- Add ultra-early content display after just 500ms with ANY data available
- Implement progressive content loading with three-tier timeout system
- Reduce timeouts from 5s to 4s on Android and 4s to 3s on iOS
- Enhance render state logic to prioritize partial content display
- Improve parallel data loading for all profile elements
- Add multiple fallback timers to ensure content always displays
- Update CHANGELOG.md with detailed performance improvements

This commit dramatically improves perceived performance by showing content
as soon as it becomes available rather than waiting for complete data load.
2025-04-04 22:43:03 -04:00
DocNR
e6f1677d2c fix(android): prevent profile screen hanging with timeout and fallbacks
- Adds 5-second timeout for Android API calls to NostrBand with AbortController
- Implements platform-specific settings for React Query with longer caches on Android
- Creates error recovery with fallback values instead of empty UI states
- Fixes memory leaks with proper component mount tracking via useRef
- Adds Android-specific safety timeouts to force-refresh unresponsive screens
- Prevents hook ordering issues with consistent hook calling patterns
- Enhances error handling with dedicated error boundaries and recovery UI
- Adds comprehensive documentation for the Android profile optimizations
2025-04-04 18:00:20 -04:00
DocNR
c64ca8bf19 fix: profile stats loading and display issues on iOS and Android
- Enhanced NostrBandService with aggressive cache-busting and better error handling
- Improved useProfileStats hook with optimized refresh settings and platform-specific logging
- Fixed ProfileFollowerStats UI to show actual values with loading indicators
- Added visual feedback during refresh operations
- Updated CHANGELOG.md to document these improvements

This resolves the issue where follower/following counts were not updating properly
on Android and iOS platforms.
2025-04-04 15:46:31 -04:00
DocNR
8e68fcf60f Fix Android Amber signer integration and cleanup repo structure
- Added Amber external signer integration for secure private key management on Android

- Fixed authentication issues and NIP-55 protocol implementation

- Added comprehensive documentation in amber-integration-fixes.md

- Moved android_backup to external location to keep repo clean

- Updated .gitignore to exclude APK files
2025-04-01 00:03:41 -04:00
DocNR
aad1b875a3 Android NIP-55 Amber integration and nsec key handling fixes 2025-03-29 17:47:10 -07:00
DocNR
3f2ababe4f nostr.band integration for follow/following count 2025-03-28 10:18:44 -07:00
DocNR
08bb9884bc fixed infinite loop in local/all workout toggle in history view 2025-03-28 07:24:09 -07:00
DocNR
f17f0c4ff4 Add contact cache schema and service integration
- Add contact_cache table schema and migration
- Update useContactList hook with caching support
- Enhance RelayInitializer with cache initialization
- Update SocialFeedService to work with caching system
2025-03-24 22:08:10 -04:00
DocNR
2316a93dc2 social feed wip, still having loading issues with following feed 2025-03-24 15:55:58 -04:00
DocNR
8c6a7ba810 Fix social feed issues: 1) Extended time range for feeds, 2) Improved database connection handling in SocialFeedCache, 3) Ensured POWR account is included in following feed 2025-03-24 11:29:32 -04:00
DocNR
9043179643 Add NDK Mobile Cache Integration Plan and enhance offline functionality 2025-03-23 15:53:34 -04:00
DocNR
e4aa59a07e Add Profile Tab enhancements and Terms of Service modal 2025-03-22 23:21:26 -04:00
DocNR
58194c0eb3 restructure and optimization of social tab 2025-03-21 22:21:45 -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
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
29c4dd1675 feat(database): Add workout and template persistence
Implements database tables and services for workout and template storage:
- Updates schema to version 5 with new workout and template tables
- Adds WorkoutService for CRUD operations on workouts
- Enhances TemplateService for template management
- Creates NostrWorkoutService for bidirectional Nostr event handling
- Implements React hooks for database access
- Connects workout store to database layer for persistence
- Improves offline support with publication queue

This change ensures workouts and templates are properly saved to SQLite
and can be referenced across app sessions, while maintaining Nostr
integration for social sharing.
2025-03-08 15:48:07 -05:00
DocNR
b61381b865 updated with NDK-mobile library and removed custom nostr functions 2025-03-06 16:34:50 -05:00
DocNR
4eb9d428a2 updated exercise/template UI, publication queue, forking of exercises (templates next) 2025-03-06 09:19:16 -05:00
DocNR
8e85ee4704 nostr testing component for publishing workout events 2025-03-03 22:40:11 -05:00
DocNR
05d3c02523 nostr login and initial settings component, workout template details component 2025-02-22 01:16:33 -05:00
DocNR
f26a59f569 Library tab MVP finished 2025-02-19 21:39:47 -05:00
DocNR
083367e872 update to exercise tab UI 2025-02-18 12:15:19 -05:00