You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Matthew Raymer
447b4e26ef
feat: centralize identity creation with router navigation guard
Migrate automatic identity creation from scattered view components to centralized
router navigation guard for consistent behavior across all entry points.
**Key Changes:**
- Add global beforeEach navigation guard in router/index.ts
- Remove automatic identity creation from HomeView, ContactsView, InviteOneAcceptView,
and OnboardMeetingMembersView
- Keep minimal fallback logic in deep link scenarios with logging
- Exclude manual identity creation routes (/start, /new-identifier, /import-account)
**Benefits:**
- Eliminates code duplication and race conditions
- Ensures consistent identity creation regardless of entry point
- Centralizes error handling with fallback to manual creation
- Improves maintainability with single point of change
**Files Modified:**
- src/router/index.ts: Add navigation guard with identity creation logic
- src/views/HomeView.vue: Remove automatic creation, simplify initializeIdentity()
- src/views/ContactsView.vue: Add fallback with logging
- src/views/InviteOneAcceptView.vue: Add fallback with logging
- src/views/OnboardMeetingMembersView.vue: Add fallback with logging
**Testing:**
- Verified first-time user navigation creates identity automatically
- Confirmed existing users bypass creation logic
- Validated manual creation routes remain unaffected
- Tested deep link scenarios with fallback logic
**Documentation:**
- Created docs/identity-creation-migration.md with comprehensive details
- Includes migration rationale, implementation details, testing scenarios
- Documents security considerations and rollback plan
Resolves inconsistent identity creation behavior across different app entry points.
|
2 weeks ago |
.. |
migration-templates
|
Complete QuickActionBvcEndView Enhanced Triple Migration Pattern (4 minutes)
|
2 weeks ago |
migration-testing
|
feat: centralize identity creation with router navigation guard
|
2 weeks ago |
android-build-scripts.md
|
Add full iOS build system: script, npm integration, and documentation
|
2 weeks ago |
auto-run-guide.md
|
Remove redundant build:capacitor:* script aliases
|
2 weeks ago |
build-pattern-conversion-plan.md
|
Fix: markdownlint MD012/MD019 errors in build-pattern-conversion-plan.md
|
2 weeks ago |
build-systems-overview.md
|
Remove manual service worker registration; rely on VitePWA auto-registration
|
2 weeks ago |
build-troubleshooting.md
|
Remove manual service worker registration; rely on VitePWA auto-registration
|
2 weeks ago |
build-web-script-integration.md
|
Enable full PWA install experience in all web modes
|
2 weeks ago |
cefpython-implementation-guide.md
|
feat: Add comprehensive CEFPython implementation guide
|
2 weeks ago |
chrome_devtools.md
|
Fix UserNameDialog open error and add defensive ref check
|
3 weeks ago |
commit-message-template.md
|
Update migration template with comprehensive time tracking system (15 minutes)
|
3 weeks ago |
database-clearing.md
|
feat: implement script-based database clearing for development
|
2 weeks ago |
electron-auto-updates.md
|
fix: resolve Electron auto-updater 404 errors
|
2 weeks ago |
electron-build-patterns.md
|
refactor: implement clean modular Electron build system
|
2 weeks ago |
electron-build-scripts.md
|
docs: clarify Electron build scripts vs development scripts
|
2 weeks ago |
identity-creation-migration.md
|
feat: centralize identity creation with router navigation guard
|
2 weeks ago |
ios-build-scripts.md
|
Add full iOS build system: script, npm integration, and documentation
|
2 weeks ago |
ios-simulator-build-and-icons.md
|
docs: add iOS simulator build and app icon troubleshooting guide
|
2 weeks ago |
lazy-loading-patterns.md
|
docs: update build pattern conversion plan with consistent naming and mode handling
|
3 weeks ago |
migration-assessment-2025-07-16.md
|
feat: Complete PlatformServiceMixin migration and enhance tooling
|
2 weeks ago |
migration-assessment-corrected.md
|
feat: centralize identity creation with router navigation guard
|
2 weeks ago |
migration-time-tracker.md
|
feat: Complete NewEditProjectView.vue Enhanced Triple Migration Pattern and ImageMethodDialog improvements
|
3 weeks ago |
phase1-completion-summary.md
|
Fix HomeView notification migration to use proper constants pattern
|
3 weeks ago |
playwright_mcp.md
|
Fix: markdownlint MD012/MD019 errors in build-pattern-conversion-plan.md
|
2 weeks ago |
pwa-build-analysis.md
|
Remove manual service worker registration; rely on VitePWA auto-registration
|
2 weeks ago |
true-issues-analysis.md
|
feat: centralize identity creation with router navigation guard
|
2 weeks ago |
web-build-scripts.md
|
Add full iOS build system: script, npm integration, and documentation
|
2 weeks ago |