Loading a modal when you navigate to a content nod...
# package-development
w
Does anyone know if there is a hook/event for when you navigate to a edit a content node? Goal - call an API when we navigate to a content node & potentially show a modal based on API result
If I do find out, I will post it here. But if any of the HQ gang are around and not on summer holidays be intreresting to see if this can be achieved
n
If there is, I haven't found it. I've been consuming UMB_WORKSPACE_CONTEXT, the observing the entity type and unique
w
Hmm so you observe those two but what extension type are you putting it in order to know as soon as you enter/visit a content node? Custom workspace context, a custom global context. I have a workspace view added but the ctor not hit until you view/switch to that workspace view. Ideally wanting to know the unique as soon as I navigate in and making my workspace all the highest order/weight seems an ugly solution. So open to any ideas you have @nathanwoulfe