hi guys, is there any documentation available arou...
# avo-2
t
hi guys, is there any documentation available around having a resource page updated/reloaded from external triggers? I saw this https://github.com/avo-hq/avo/pull/889 but there turbo is mentioned, but I cannot imagine how that would help here. Usecase: a resource has many sub_resources, these sub resources may be added outside of the Avo admin but should reflect directly on the page in Avo
l
hey @thankful-stone-82785. There isn't a way to trigger that yet
that PR you referenced is a starting point. it's very early, but it's a starting point
t
Ok! So there's no way to refer to the loaded turbo frame and trigger that
l
we're focusing on other things at the moment, but we're always welcoming PRs
you can add your own JS
and set a timeout or something
t
Sure thing, understood!
Yes, I'll do that for now 🙂
Thanks
l
you can even connect to a websocket and trigger that update from JS
this document should point you to the right direction
t
Thanks Adrian!
l
and even go further using Stimulus JS https://docs.avohq.io/2.0/stimulus-integration.html
for sure!
anytime!
2 Views