You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @pjmuller we already did some experimental development in this direction and found out that is not that simple as it seems
does avo already listen for some broadcasts to dynamically update a single field in the SHOW view?
No, right now there isn't any component that is listening from broadcast.
is there a monkey patch way to achieve this?
Ejecting the components and implement a broadcast listener
and/or can you outline how us (or someone else of the community) can create a PR to support this more natively?
The main challenge we encountered was selecting the appropriate field/resource and ensuring that every object required to render a field is properly set up.
When a page is rendered, there's some behind-the-scenes logic that configures the resource, fetches the fields, and so on.
For broadcasting, we need to execute all of that logic again and make sure that the field and all related objects are in the same state they were in when the page was first rendered. This is critical, as the field might include a format_using block or other logic that influences the rendered value.
In conclusion, there's no simple or well-defined approach I can recommend at this moment, but we would love to support this use case.
Feature
See loom https://www.loom.com/share/aab4da4104b541c2bb80f45fef000f5d
Goal: update the value on a page without having to refresh it
In short
The text was updated successfully, but these errors were encountered: