We should fire the same events as in the Ember UI (on node creation, node removal etc.) as documented here:
http://neos.readthedocs.io/en/stable/ExtendingNeos/InteractionWithTheNeosBackend.html#javascript-events
Some events are obsolete due to the iframe solution. These would be imho:
All of these would now be eual to DOMContentLoaded in the guest frame. But maybe we should fire them anyway to make it possible to distinguish between the different states they represent?
I'd suggest if we have a website which makes use of these events, we can check whether we really need them (and which ones)
Not all of them makes sense. But Neos.NodeCreated, Neos.NodeRemoved and Neos.NodeSelected would be very useful and important
I need that in a current project. Especially I need to know when a content node is inserted into the DOM and I need to know the nodeType in the eventlistener.
If someone can implement this in the near future (next 3 weeks), I can offer some donation from my project budget. Currently I could give like 500 € for that.
I had this on my todo list, but the tricky part is figuring out what events are really needed.
E.g. currently all of these things are already possible via our extensibillity API (by registering a custom Saga and listening for the right kind of Redux actions).
@DrillSergeant maybe we could have a call about what things you would want to achieve and what would be the best way to do it?
@dimaip yeah nice. We already chatted on slack about this. I would love to explain my need during a call. Just contact me on slack to find a date for it.
@dimaip I think @grebaldi has there a good opinion: His list of events who are obsolete looks very good to me. At the end, there are this events left:
Neos.NodeCreatedNeos.NodeRemovedNeos.NodeSelectedThe only I would recommend to have from the obsolete list is Neos.FullScreenModeActivated and Neos.FullScreenModeDeactivated, because sometimes you want to use it as a "fast preview"
Most helpful comment
Not all of them makes sense. But
Neos.NodeCreated,Neos.NodeRemovedandNeos.NodeSelectedwould be very useful and important