Refresh (Panel)UI after certain file operations

Hi,

for certain reasons we convert uploaded files into a unique file format (e.g. all videos into MP4) through an external service. As this conversion might take minutes we’d like to decouple the conversion from the upload process.

Therefore we use the kirby-queue plugin which generally works fine, BUT after conversion we’d like to a) trigger refresh the UI to show the converted file after it has been created and b) show the conversion status through the process.

Any ideas how to get this done @distantnative or @texnixe ? How can i trigger a UI refresh?

Thanks for any hints,

Thomas E.-E.

From the backend, you can’t.

If you have code in the frontend (a section, field…), emitting these two events might work: