feat: replace authorized representative input with contact selection dialog
#219
Open
jose
wants to merge 4 commits from project-representative-dialog into master
pull from: project-representative-dialog
merge into: trent_larson:master
trent_larson:account-import-duplicate-prevention
trent_larson:active_did_redux
trent_larson:activedid_migration
trent_larson:address-duplicates
trent_larson:ai-context
trent_larson:android-15-check
trent_larson:android-file-save
trent_larson:android-safe-area-insets
trent_larson:app_id_fix
trent_larson:ask-for-contacts-export
trent_larson:build-dev-to-dist
trent_larson:build-improvement
trent_larson:build-ios
trent_larson:build-web-serve-test
trent_larson:build-with-env
trent_larson:bulk-members-dialog-refactor
trent_larson:capacitor-local-save
trent_larson:claim-view-error-handling
trent_larson:claimview-fullfills-offer
trent_larson:contact-gifting-current-user
trent_larson:contact-path
trent_larson:contacts-view-fixes
trent_larson:cross-platform-factory
trent_larson:cross-platform-factory-redux
trent_larson:d9085ced6df7dc7bdcd899959cea6489cab7f8b8
trent_larson:db-backup-cross-platform
trent_larson:deep-link
trent_larson:deep-link-views-safe-area-inset
trent_larson:deep-links-android-update
trent_larson:deep_linking
trent_larson:design-tweaks-2023-12
trent_larson:dialog-notification-z-index
trent_larson:dialog-styles-unified
trent_larson:didview-invalid-did-handling
trent_larson:electron-build-capacitor-config
trent_larson:electron-build-config-overwrite
trent_larson:electron-copy-paste-keyboard-shortcuts
trent_larson:electron_fix_20250317
trent_larson:emojis
trent_larson:entity-selection-list-component
trent_larson:entity-selection-list-component-infinite-scroll
trent_larson:experimental_plugin
trent_larson:eye-slash
trent_larson:fix-contact-import-export
trent_larson:fix-deep-link
trent_larson:fix-service-worker
trent_larson:friend-tech-inspired-pwa-dialog
trent_larson:get-get-hash
trent_larson:gifting-periphery-improvements
trent_larson:gifting-ui-2025-05
trent_larson:home-icon-enhancements
trent_larson:home-view-notification-improvements
trent_larson:homeview-cleanup-2025-03
trent_larson:homeview-refresh-2025-02
trent_larson:imagemagick-anrdoid
trent_larson:integrate-notification-plugin
trent_larson:ios-contact-copy
trent_larson:ios-disable-zoom
trent_larson:ios-qr-code-copy
trent_larson:load-build-mode-env-file
trent_larson:logger-level
trent_larson:logging-upgrade
trent_larson:main
trent_larson:master
trent_larson:master-patch
trent_larson:master-settings-upgrade
trent_larson:matthew-scratch-2025-06-28
trent_larson:meeting-members-admission-dialog
trent_larson:meeting-members-admission-dialog-refactor
trent_larson:meeting-members-admission-improvements
trent_larson:meeting-members-set-visibility
trent_larson:migrate-dexie-to-sqlite
trent_larson:nearby-filter
trent_larson:new-activity-mark-read
trent_larson:new-storage
trent_larson:nostr
trent_larson:notification-line-wrapping
trent_larson:notification-request-permission-dialog
trent_larson:notification-section
trent_larson:notification-system
trent_larson:notify-initialization-fix
trent_larson:notify-time
trent_larson:offer-edit
trent_larson:offer-validation-logic
trent_larson:onboard-alert-component
trent_larson:onboarding-dialog-fix
trent_larson:passkey
trent_larson:passkey-cache
trent_larson:performance-optimizations-testing
trent_larson:photo-reverse
trent_larson:plan-loc
trent_larson:platformservicemixin-interface-consolidation
trent_larson:playwright-pwa-install-test
trent_larson:playwright-test-00-fix
trent_larson:playwright-test-60-fix
trent_larson:playwright-test-updates
trent_larson:profile-pic
trent_larson:profile_include_location
trent_larson:project-gives
trent_larson:projectview-hide-offer-link-unregistered
trent_larson:qrcode-capacitor
trent_larson:refactor-initialize
trent_larson:registration-gate
trent_larson:registration-prompt-parity
trent_larson:remove-cannot-upload-images-notification
trent_larson:remove-image-cache
trent_larson:replace-iconrenderer
trent_larson:search-map-fix
trent_larson:seed-phrase-backup-prompt
trent_larson:side_step
trent_larson:simple-signer
trent_larson:split_build_process
trent_larson:sql-absurd-sql
trent_larson:sql-absurd-sql-further
trent_larson:sql-wa-sqlite
trent_larson:star-projects
trent_larson:star-projects2
trent_larson:starred-projects
trent_larson:streamline-attempt
trent_larson:sw-cleanup
trent_larson:switching-identities-change-name
trent_larson:tmp
trent_larson:trent-tweaks
trent_larson:tweaks
trent_larson:ui-fixes-2024-03
trent_larson:ui-fixes-2025-03
trent_larson:ui-fixes-2025-06-w2
trent_larson:units-mocking
trent_larson:v-onboarding-2024-04
trent_larson:view-headings-refresh
trent_larson:vite-version
trent_larson:web-serve-fix
trent_larson:web-tests
trent_larson:wip_new_notifications
4 Commits
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
b1fa6ac458 |
feat: show the recent contacts in the alphabetical section of choosers
|
2 days ago |
|
|
9ff24f8258 |
fix: in project-edit view, don't show agent warning on new one, and automatically switch if they're changing
|
2 days ago |
|
|
9a3409c29f |
refactor: remove unused code from ProjectRepresentativeDialog
- Remove conflictChecker prop (always passed as no-op function) - Remove unused emitCancel method and cancel event handling - Simplify handleEntitySelected by removing unnecessary type check - Update NewEditProjectView to remove conflict-checker binding and empty cancel handler The conflictChecker prop was not needed since representative selection doesn't require conflict detection. The cancel event was never emitted and the parent handler was empty, so both were removed. |
3 days ago |
|
|
a142737771 |
feat: replace authorized representative input with contact selection dialog
Replace the plain text input for authorized representative with an interactive contact selection interface that provides better UX and maintains data consistency. Changes: - Add ProjectRepresentativeDialog component using EntityGrid for contact selection (excludes "You" and "Unnamed" special entities) - Replace text input with clickable field showing contact icon, name, and DID - Implement conditional UI states: initial "Assign..." placeholder vs assigned representative display with unset button - Refactor selectedRepresentative to computed property derived from agentDid (single source of truth, prevents sync issues) - Inline representativeDisplayName for simplicity - Support changing representative by clicking on assigned field - Support unsetting representative via trash button The new implementation ensures agentDid remains the authoritative state while selectedRepresentative is automatically computed, preventing the previously possible desync when agentDid was set directly (e.g., via the "make original owner an authorized representative" button). |
4 days ago |