Live Polling: have it enabled by default on pageload #5197
Unanswered
Benratelade
asked this question in
Q&A
Replies: 3 comments 2 replies
-
The Web UI's JS was overhauled in 6.3.0. Any loss of functionality should be considered a bug. PRs always welcome. The code is here: https://github.com/mperham/sidekiq/blob/main/web/assets/javascripts/application.js |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @mperham, I put together a very quick solution that handles when ?poll=true, and does nothing with any other params / values. See it here: Let me know if that's not the right way of contributing. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Please make sure you are testing against main as there have been some JS changes since 6.4.1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I was recently updating a bunch of gems in a project and this included a bump for Sidekiq from 6.2.2 to 6.4.1.
We noticed in our tests that taking users to URLs that include the param
poll=true
doesn't seem to work anymore. Sure enough, the "Live Poll" button no longer points to a URL and (I assume) enables some javascript that handles polling the state of queues.My question is this: is there a new and improved way of taking users to a page where "Live Poll" is enabled by default in the newer versions?
As a follow up question, if there isn't a new way of achieving this, was this an intended change? Or maybe the fact that users could visit a page with poll enabled by default was never a supported feature and only a happy side-effect of how Sidekiq's web interface was built?
Thanks in advance for anyone who can help shed some light on this.
Beta Was this translation helpful? Give feedback.
All reactions