Skip to content

How to rename contacts exhaustively #7

Description

@angelo-v

The contact name (vcard:fn) is not only present in the contact document, but also in several other documents:

  • the vcard:nameEmailIndex
  • the group documents of every group the contact is member of

Since there is no backlink from the vcard:Individual to the address books and groups it is part of, one can not fully rename a contact by just knowing it's URI. This would only allow to change the name in the contacts own document, but not in the other places.

I wonder if a solid client-to-client spec for contacts should require those backlinks, to make it easier to rename a contact. If not, how else should client applications ensure that those indexes get updated eventually?

How does SolidOS contacts-pane handle this problem?

The contacts pane loads an address book and all the groups to the local rdflib store initially, when opening an address book. Therefore at the time of a renaming all documents are present in the store and rdflib can update all statements with the contacts name.

However, if SolidOS renames an Individual outside of the contacts-pane, the address book indexes and group documents do not get updated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions