Tree:
6620311b7d
ai-context
android-15-check
app_id_fix
build-improvement
build-ios
build-with-env
capacitor-local-save
contacts-view-fixes
cross-platform-factory
cross-platform-factory-redux
d9085ced6df7dc7bdcd899959cea6489cab7f8b8
db-backup-cross-platform
deep-link
deep-links-android-update
deep_linking
design-tweaks-2023-12
electron_fix_20250317
experimental_plugin
eye-slash
fix-contact-import-export
fix-service-worker
friend-tech-inspired-pwa-dialog
gifting-periphery-improvements
gifting-ui-2025-05
home-icon-enhancements
home-view-notification-improvements
homeview-cleanup-2025-03
homeview-refresh-2025-02
main
master
master-settings-upgrade
matthew-scratch-2025-06-28
migrate-dexie-to-sqlite
new-storage
nostr
notification-request-permission-dialog
notify-time
offer-edit
onboarding-dialog-fix
passkey
passkey-cache
photo-reverse
plan-loc
playwright-pwa-install-test
profile-pic
project-gives
qrcode-capacitor
registration-gate
search-map-fix
side_step
simple-signer
split_build_process
sql-absurd-sql
sql-absurd-sql-further
sql-wa-sqlite
star-projects
starred-projects
streamline-attempt
sw-cleanup
tmp
trent-tweaks
tweaks
ui-fixes-2024-03
ui-fixes-2025-03
ui-fixes-2025-06-w2
v-onboarding-2024-04
vite-version
web-serve-fix
web-tests
0.1.8
0.2.1
0.2.11
0.2.17
0.2.2
0.2.4
0.3.35
0.3.50
0.3.51
0.3.52
0.3.53
0.3.54
0.3.55
0.3.56
0.3.57
0.4.1
0.4.2
0.4.3
0.4.4
0.5.8
0.5.9
1.0.0
1.0.2
1.0.4
${ noResults }
1 Commits (6620311b7d1f8ccc0ca4efcde219b6de8380c39b)
Author | SHA1 | Message | Date |
---|---|---|---|
|
42d706b1fb |
WIP: Platform-specific service architecture and configuration refactor
This commit introduces a platform-specific service architecture and configuration system, with the following changes: - Created platform-specific service implementations for database backup: - Web: Uses URL.createObjectURL and download link - Mobile: Uses Capacitor Filesystem and Share APIs - Base: Abstract DatabaseBackupService class - Implemented PlatformServiceFactory for dynamic service loading: - Singleton pattern for factory management - Dynamic imports based on platform environment - Error handling for service loading failures - Refactored Vite configuration: - Split into base and platform-specific configs - Added environment-based platform detection - Improved build optimization settings - Enhanced error handling: - Added type-safe error interfaces - Improved error message formatting - Better error logging with context - Updated AccountViewView: - Moved profile management to ProfileSection component - Improved type safety in error handling - Enhanced database backup functionality Note: This is a work in progress. Some features may need additional testing and refinement before being production-ready. |
4 months ago |