Replies: 1 comment 4 replies
-
Hey @michabbb Would be cool! :) though I'm not quite sure whether it's worth introducing another dependency to the package. I think for now simple polling every 2-5 seconds would be more than sufficient, easier to implement and not alienate existing package users with additional dependencies. I think I had thought of introducing the auto-reload before, but I couldn't figure out how to nicely handle updates in the UI when new entries are detected. For example, you're on page 5, currently viewing log #45, and 2 seconds later there's 10 new entries. Does the page stay on page 5 and just load new entries for that page? Or does it stay on the same results but only change the pagination items? Perhaps auto-reload should only work when you're on the first page? Pagination makes auto-reload a bit complex, but to refactor it to an infinite scrolling list would be too much work too. So, that's my hesitation for now. Idea is great! But currently I don't have a good idea how to properly implement it so that everyone's happy. |
Beta Was this translation helpful? Give feedback.
-
To be clear, I am not talking about "update every x seconds" like here: #289 (comment)
A real live view would be nice, maybe with laravel reverb or something :)
Beta Was this translation helpful? Give feedback.
All reactions