solid / notifications

Solid Notifications Technical Reports
https://solid.github.io/notifications/protocol
MIT License
11 stars 7 forks source link

Add ldn-channel-2023 ED #147

Closed csarven closed 1 year ago

csarven commented 1 year ago

This ED defines the LDNChannel2023 Notification Channel Type. This specification deprecates LinkedDataNotifications Subscription 2021.


Preview

csarven commented 1 year ago
acoburn commented 1 year ago

Introduced activityType as a feature to indicate the desired notification activity type, e.g., messages can be about particular activities, like when a resource is created or added to a container (a general requirement as suggested in https://github.com/solid/notifications-panel/issues/1#issue-489650894 ). I suggest making this a core feature of Solid Notifications Protocol. Subscription Server and Notification Receiver is a specialisation of LDN Receiver. (See also https://www.w3.org/TR/ldn/#subscribing-to-notifications ).

I really like this idea, and I also think this should be considered for the core notifications protocol. I would suggest generalizing this a bit further, calling it, perhaps, filter, which would accept an object. For example:

{
    "filter": {
       "type": "Add"
    }
}

This would allow implementations (that support the feature) to have a much more generalized filtering mechanism.

To continue this example, one could add an actor property in the filter to accept only notifications from a particular agent. Other properties (e.g. tag) could be added to this, as needed. It could be a very extensible mechanism.

csarven commented 1 year ago

Merging as per https://github.com/solid/notifications-panel/blob/main/meetings/2023-02-02.md#add-ldn-channel-2023-ed .