refactor: move Import Contacts section to DataExportSection component #226

Merged
jose merged 3 commits from accountview-contact-management-bundling into master 2025-11-21 11:03:01 +00:00
Owner
  • Move Import Contacts UI section from AccountViewView to DataExportSection
  • Consolidate import/export functionality in a single component
  • Move related methods: uploadImportFile, showContactImport, checkContactImports
  • Convert module-level ref to component property (inputImportFileName)
  • Remove unused imports (ref, ImportContent) from AccountViewView
  • Rename "Download Contacts" button to "Export Contacts"
  • Improve import UI styling with full-width file input and button

ClickUp: https://app.clickup.com/t/86b6kucy5

- Move Import Contacts UI section from AccountViewView to DataExportSection - Consolidate import/export functionality in a single component - Move related methods: uploadImportFile, showContactImport, checkContactImports - Convert module-level ref to component property (inputImportFileName) - Remove unused imports (ref, ImportContent) from AccountViewView - Rename "Download Contacts" button to "Export Contacts" - Improve import UI styling with full-width file input and button ClickUp: https://app.clickup.com/t/86b6kucy5
jose added 1 commit 2025-11-19 13:28:38 +00:00
- Move Import Contacts UI section from AccountViewView to DataExportSection
- Consolidate import/export functionality in a single component
- Move related methods: uploadImportFile, showContactImport, checkContactImports
- Convert module-level ref to component property (inputImportFileName)
- Remove unused imports (ref, ImportContent) from AccountViewView
- Rename "Download Contacts" button to "Export Contacts"
- Improve import UI styling with full-width file input and button
jose added 1 commit 2025-11-19 13:32:48 +00:00
Update the section title from "Data Export" to "Data Management" to better reflect that the component handles both data export and import functionality.
jose added 1 commit 2025-11-20 10:45:18 +00:00
- Fix contactMethods not being exported (was checking for string instead of array)
- Add missing notes and iViewContent fields to $insertContact method
- Normalize empty strings to null when saving contacts in ContactEditView

This ensures contact data integrity is maintained during export/import operations.
jose merged commit 6ec2002cb0 into master 2025-11-21 11:03:01 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: trent_larson/crowd-funder-for-time-pwa#226