Repository navigation
Add documentation for the interaction API - #16087
Conversation
95bfe80 to
4bbc796
Compare
📖 Documentation Preview📄 2 changed documentation pagesLast updated: Wed, 25 Nov 2026 12:12:04 GMT |
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com> Assisted-by: ClaudeCode:claude-opus-5-5
4bbc796 to
2652c56
Compare
artonge
left a comment
There was a problem hiding this comment.
Some of my comments are for the API itself, but in case there is still room for adjustment...
| * - ``Receivers\CircleReceiver`` | ||
| - A team. | ||
| * - ``Receivers\RoomReceiver`` | ||
| - A Talk conversation. | ||
| * - ``Receivers\DeckReceiver`` |
There was a problem hiding this comment.
Shouldn't those be in their own apps?
There was a problem hiding this comment.
You mean the classes themselves? If so, the problem with that would be that referencing classes from other apps becomes awkward as you have to hard-code the FQCN.
There was a problem hiding this comment.
you have to hard-code the FQCN
I am not sure to understand what you mean
There was a problem hiding this comment.
Moving those classes in apps means that anyone that wants to check if an event is restricted, needs to hard-code the fully qualified class name of the right receiver class, check if the class is available (as the app may be absent or disabled), if the class exists create an instance passing the right parameters (so it would also mean that in code we'd need to use stubs) and pass the instance to the event constructor. Having those definitions in server means no one needs to do any of this for "common" receivers.
There was a problem hiding this comment.
It is indeed easier to have it in server, but conceptually, it make more sense to have it in their own apps. Also, if an app want to specifically react to another app's recipient, then I think it is ok to go through those hoops.
But fine to keep it like that, we can improve down the line.
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
☑️ Resolves
Adds documentation for the interaction API (
RestrictInteractionEvent) introduced in NC 34.0.2🖼️ Screenshots
✅ Checklist
codespellor similar and addressed any spelling issues