Skip to content

feat(core): VT20-1908 updates to creation and deletion of connections #1272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 25 commits into
base: develop
Choose a base branch
from

Conversation

Sotatek-DucPhung
Copy link
Collaborator

Description

Please include a summary of the changes and a brief description about this PR.

Checklist before requesting a review

Issue ticket number and link

Testing & Validation

  • This PR has been tested/validated in iOS, Android and browser.
  • Added new unit tests, if relevant.

Design Review

  • In case this PR contains changes to the UI, add some screenshots and/or videos to show the changes on relevant devices.

Sotatek-DucPhung and others added 24 commits June 26, 2025 14:19
- Adjusted the local migration statements to streamline the handling of connections.
- Updated cloud migration logic to ensure proper association with identifiers.
- Enhanced error handling during contact updates in the cloud migration process.
- Updated migration logic to handle contact versioning and ensure proper association of history items with identifiers.
- Changed the type of contactUpdates to use 'unknown' for better type safety.
- Updated the identifier extraction for history items to use the correct property.
- Refactored the deletion of keys to ensure proper handling of contact updates.
…ecords

- Refactored contactRecord and connectionPairsToInsert to use object literals instead of class instances.
- Improved handling of history items by refining key checks and ensuring correct identifier extraction.
…T20-1906-Migrate-connections-to-have-per-account-visibility
- Refactored item insertion functions to improve clarity and added functionality for inserting item tags.
- Adjusted connection handling to ensure proper deletion and insertion of records in the migration process.
…and connection service

- Added ConnectionPairStorage and ContactStorage to the Agent class for improved data management.
- Updated ConnectionService to utilize the new storage classes, enhancing connection retrieval logic.
- Refactored connection handling to include contact details in connection responses.
@Sotatek-DucPhung Sotatek-DucPhung marked this pull request as draft July 18, 2025 04:19
@Sotatek-DucPhung Sotatek-DucPhung changed the title Feature/vt20 1908 updates to creation and deletion of connections feat(core): VT20-1908 updates to creation and deletion of connections Jul 18, 2025
…0-1908-updates-to-creation-and-deletion-of-connections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants