Skip to content

Filter feature #159

Description

@csarven

Follows https://github.com/solid/notifications-panel/blob/main/meetings/2023-02-02.md#add-ldn-channel-2023-ed to introduce a feature to allow fine-grained notification filtering, e.g., activity types, activities involving particular actors, tags.

It is based on a general requirement as suggested in solid/notifications-panel#1 (comment) :

Mechanism for actors to make a request to be notified about particular activities.

An example model is mentioned/proposed in #147 (comment) , where a filter property would have an object detailing the information to filter on:

{
    "filter": {
       "type": "Add",
       "actor": "https://csarven.ca/#i"
    }
}

And it is an easy jump to see how something like this can work too (if I'm not messing up the syntax here -- simplified here without JSON-LD context):

{
    "filter": {
       "target": {
         "type": "oa:Annotation",
         "oa:hasTarget": "https://csarven.ca/archives/linked-research-decentralised-web/ce36de40-64a7-4d57-a189-f47c364daa74#abstract",
         "dcterms:rights": "https://creativecommons.org/licenses/by/4.0/"
       },
       "type": "Add",
       "actor": "https://csarven.ca/#i"
    }
}

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions