Open skurfuerst opened 7 years ago
Hmm I like the idea, but at the same time we should be careful about creating such ad-hoc APIs as we'd need to maintain them. Can we maybe declare it as an unplanned extensibility?
yes, for sure, I'd definitely declare it as unplanned extensibility!
@skurfuerst can we close it now since you have this fancy extensibility thing in place?
Not exactly, you'd have to override the whole tree, at the current state it's not possible to only override the tree elements. I've experienced this while developing this: https://github.com/sitegeist/Sitegeist.TrafficLights
UI-specific code: https://github.com/sitegeist/Sitegeist.TrafficLights/tree/master/Resources/Private/TrafficLights/src
Ok, let's reopen then
<- must-have for 1.0.0
One of our core feature sponsors needs a way to manipulate the rendering of the TreeNodes; i.e. he wants to display additional icons based on custom property values.
In order to support that, we at least need to put the tree node React elements in the registry, so they can be overridden from the outside.