refactor: centralize QR navigation logic and add export prompt after contact addition #152

Open
anomalist wants to merge 31 commits from ask-for-contacts-export into build-improvement
Owner
  • Create QRNavigationService to handle platform-specific QR routing
  • Remove direct Capacitor imports from ContactsView, ProjectsView, HelpView
  • Replace duplicated QR routing logic with centralized service calls
  • Update HelpView template to use platform service methods (isCapacitor, capabilities)
  • Add export data prompt after successfully adding a contact
  • Add NOTIFY_EXPORT_DATA_PROMPT notification constant
  • Implement exportContactData() method with platform service integration
  • Fix TypeScript compatibility for Vue Router route parameters
  • Maintain consistent QR navigation behavior across all views

Eliminates code duplication and improves platform abstraction by using
PlatformService instead of direct Capacitor references. Enhances user
experience with automatic export prompts for data backup.

- Create QRNavigationService to handle platform-specific QR routing - Remove direct Capacitor imports from ContactsView, ProjectsView, HelpView - Replace duplicated QR routing logic with centralized service calls - Update HelpView template to use platform service methods (isCapacitor, capabilities) - Add export data prompt after successfully adding a contact - Add NOTIFY_EXPORT_DATA_PROMPT notification constant - Implement exportContactData() method with platform service integration - Fix TypeScript compatibility for Vue Router route parameters - Maintain consistent QR navigation behavior across all views Eliminates code duplication and improves platform abstraction by using PlatformService instead of direct Capacitor references. Enhances user experience with automatic export prompts for data backup.
anomalist added 1 commit 3 weeks ago
6007bc34e4 refactor: centralize QR navigation logic and add export prompt after contact addition
trentlarson added 1 commit 5 days ago
anomalist added 106 commits 5 days ago
5cf1759653 Fix: switch to CSS-based text-truncate
433f3c1154 Fix GiftedDialog functionality
f4a7d437c8 Fix parameter passing in contact gift dialogs
9cd4551bed docs: add comprehensive GiftedDialog architecture overview
404a7cbc71 Add form field preservation in gifting flow
e741790d70 Fix ClaimView affirm delivery action
c30b94dcc7 Integrate TypeScript type checking into build process with conditional execution
54bfaafbd0 Fix entity type matching in ClaimView
3d38cb89a9 Fix HomeView registration status by using $accountSettings() instead of $settings()
06f3a4c7c2 Refactor: simplify GiftedDialog with explicit entity type props
aed16ebe94 Remove PROD_SHARE_DOMAIN constant and unify domain configuration
0bd0e7c332 Fix contact methods JSON string/array duality in PlatformServiceMixin
32f589b866 Fix Android emulator API connectivity with cleaner build script approach
b681905abd Upgrade Android API from 35 to 36
1d6418b02c Add custom API IP support for Android physical device development
3b1a63468c Add iOS support for custom API IP configuration
974d33b322 Document environment variable precedence and API configuration scheme
c27caf8887 Fix build script to fail on TypeScript errors
5ae0535935 fix: Restore "Get someone to onboard you" button functionality
607bb50a55 fix: Restore "Share Your Info" functionality with correct QR code format
4480778a49 fix: export contactMethods as JSON arrays instead of strings
b267d1bc66 Fix contact backup export: contactMethods now exports as JSON arrays instead of strings
ed0f49656d Simplify contactsToExportJson function
6868a322f1 feat: switch ContactQRScanShowView to URL-based contact sharing
3c37ead60d feat: add comprehensive Quick Start section and clean:all command
18e6aa5a9a Fix: gifting error messages
bf08e57ce7 Fix: re-organize entity type conditional logic in gifting flow
f98d6c7020 Fix notify initialization and axios access errors
0eb8d3d50e Migrate OnboardMeetingListView to new notify system and add comprehensive documentation
4f9fb068c8 Remove unused confirmation code from ActivityListItem and HomeView
778d00c2a4 refactor(HomeView): remove unused methods and deduplicate API server calls
d5db39878c Remove debug code from ShareMyContactInfoView
0277b05fef Fix: offer validation prematurely closes dialog
de47829dc2 fix: DataExportSection error
c969c536bf Fix: notify getting called before it's initialized
d30597a921 feat(logging): implement configurable log levels via VITE_LOG_LEVEL
7df52312ba fix(build): resolve shell script export error in .env.development
1dc534b61f Fix: update element locators
bb357f294a refactor(ui): remove unused image cache system and fix TypeScript compilation
8c0b547855 fix(typescript): resolve production build errors and add ESLint ignore comments
adfaef7947 fix(lint): resolve low and medium impact warnings
79593f12b4 fix(types): resolve notification system type safety issues
303f1bc565 refactor(cursor-rules): reorganize rules into logical directory structure
404f23c118 feat(cursor): add research diagnostic workflow and format base context rules
bc618bb13b feat(typescript): implement type-safe database error handling and eliminate any types
ef4f845f74 feat(ci): enforce type safety with ESLint errors and pre-commit validation
379056aae1 feat(typescript): resolve Priority 2 type safety issues across components
37559e1bad docs(typescript): add comprehensive type safety guidelines with Vue exceptions
This pull request can be merged automatically.
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.