forked from bitwarden/clients
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Better management of realtime with contacts #334
Open
zatteo
wants to merge
10
commits into
master
Choose a base branch
from
fix/contacts-displayed-realtime
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Nov 15, 2024
-
New name more precisely show that we only fetch me and favorites.
Configuration menu - View commit details
-
Copy full SHA for 34226bd - Browse repository at this point
Copy the full SHA 34226bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd283e - Browse repository at this point
Copy the full SHA dbd283eView commit details -
feat: Add contact from realtime only if we should
It was possible to add a contact in the browser extension from realtime even if we did not want it in the browser extension.
Configuration menu - View commit details
-
Copy full SHA for 432918e - Browse repository at this point
Copy the full SHA 432918eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cb81ae - Browse repository at this point
Copy the full SHA 9cb81aeView commit details -
refactor: Create a method that fetch an hydrated paper
=> a paper with potential contact inside
Configuration menu - View commit details
-
Copy full SHA for 37ac6cf - Browse repository at this point
Copy the full SHA 37ac6cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 512008e - Browse repository at this point
Copy the full SHA 512008eView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2c5200 - Browse repository at this point
Copy the full SHA c2c5200View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9d10f - Browse repository at this point
Copy the full SHA 6b9d10fView commit details -
fix: Use correctly optional chaining to get me
me[0] should exist here because every one has me. But after we should use it until the end.
Configuration menu - View commit details
-
Copy full SHA for 7705380 - Browse repository at this point
Copy the full SHA 7705380View commit details -
feat: Remove special case for "me" update
I had to start with a special case for "me" update, because in Cozy Contacts, relations were stored only in the contact who created the relation. So when "me" was updated, a relation of me could have been deleted, and it was impossible to know which one easily, so it was impossible to know if the contact should be removed from the extension. With cozy/cozy-contacts#1020, relations are propagated to the target contact. So we will get a realtime event and we will be able to check if the contact must be displayed or not without any special case.
Configuration menu - View commit details
-
Copy full SHA for 3c915eb - Browse repository at this point
Copy the full SHA 3c915ebView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.