feat: switch ContactQRScanShowView to URL-based contact sharing

- Replace CSV QR value copying with URL generation for better UX
- Add generateEndorserJwtUrlForAccount import and Account type
- Implement proper error handling for URL generation failures
- Maintain consistency with ContactQRScanFullView behavior
- Add documentation for the URL solution implementation

Recipients can now click shared URLs to add contacts directly instead of
manually pasting CSV data into input fields.

addresses:  https://app.clickup.com/t/86b63xhz4
This commit is contained in:
Matthew Raymer
2025-08-07 03:14:45 +00:00
parent 783ad6e122
commit 6868a322f1
3 changed files with 116 additions and 13 deletions

View File

@@ -1062,9 +1062,9 @@ export const PlatformServiceMixin = {
: null,
contactMethods:
contact.contactMethods !== undefined
? (Array.isArray(contact.contactMethods)
? JSON.stringify(contact.contactMethods)
: contact.contactMethods)
? Array.isArray(contact.contactMethods)
? JSON.stringify(contact.contactMethods)
: contact.contactMethods
: null,
};