Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contents of tabs is not updated with polling interval: off #696

Closed
dmitriy-kudelko opened this issue Feb 27, 2024 · 8 comments
Closed

Contents of tabs is not updated with polling interval: off #696

dmitriy-kudelko opened this issue Feb 27, 2024 · 8 comments

Comments

@dmitriy-kudelko
Copy link

dmitriy-kudelko commented Feb 27, 2024

Hey guys!

Thanks for this great and useful app.

I'd like to report a UI issue which seemingly appeared in one of recent versions. I noticed it while upgrading to 5.14.1.
Although tab headers are displayed properly, the bodies (content) are not. So the UI looks as follows:

Screenshot image

Looks like it's something related to routing as refreshing the page fixes the issue. However you need to do it each time you navigate to a different queue in the sidebar.

P.S. I'm using @bull-board/nestjs, but I guess it's just a wrapper, so I'm hopefully reporting this in the appropriate repo.

@felixmosh
Copy link
Owner

Hi @dmitriy-kudelko, thank you for reporting this issue.

I can't reproduce it with the express adapter (probably not related to server adapter at all)

Can you debug it? Check what do you get in the console.

There is the described behaviour, it refetches the new queue status.

Check the network, maybe there is some pending (un resolved requests)

@dmitriy-kudelko
Copy link
Author

dmitriy-kudelko commented Feb 27, 2024

Hi @felixmosh ,

Sure I've looked into it and no requests to /api/queues are made when navigation between queues. They only happen when reloading or navigating to a specific queue using browser address bar. There are no errors in the console or long running requests.

So not sure what's going on.

Video
bull-queues-720.mov

@felixmosh
Copy link
Owner

Can u check if there is a setting that disables the refetch (delay: off)

@dmitriy-kudelko
Copy link
Author

@felixmosh , oh yeah, there indeed seems to be a bug related to polling... I had Polling interval set to off.
When I set it to any other value (even 15 mins), queues data is properly fetched and displayed when navigating between tabs.

@felixmosh
Copy link
Owner

Can you elaborate?

@dmitriy-kudelko
Copy link
Author

Can you elaborate?

Yes, sorry. I was talking about this settings modal, which pops up when clicking on gear icon on the top right:

Screenshot image

Are we talking about the same thing? Or what did you mean my saying a setting that disables the refetch?

@felixmosh
Copy link
Owner

polling interval = off, means it stops to poll the server.
I thing that you are right, it should refetch when navigating, but without the polling.

Thanx, I'll work on it asap

@felixmosh
Copy link
Owner

fixed on v5.14.2

@felixmosh felixmosh changed the title Contents of tabs is not shown Contents of tabs is not updated with polling interval: off Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants