-
Notifications
You must be signed in to change notification settings - Fork 75
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
Dashboard Chart with auto update #197
base: main
Are you sure you want to change the base?
Conversation
839c0a4
to
f02f978
Compare
2541d68
to
65798c2
Compare
The navigation bar ended up scrolling in some resolutions and depending on the number of records in the queues (which are displayed in the navbar) I intend to make more visual changes that will probably improve this. |
65798c2
to
cf50b95
Compare
I'm trying to see a way to make it work with resque... I've never worked with resque, I'm not sure how I'm going to do it. For now I will leave it exclusive to solid_queue |
893dfcf
to
dfc4775
Compare
@rosa I removed the WIP, I'm open to suggestions on the code. |
Hey @MacLove13, thanks for this! I like the idea but not that it's completely tied to Solid Queue, unlike the other pages in Mission Control. Abstractions like |
I tried to do it using abstractions, but I couldn't do a where by dates/time in a way that doesn't impact performance. I'll try a few more things in the next few days to remove the direct use of the database and use abstractions. Memory usage for filtering jobs becomes a major bottleneck for fast auto update |
I made some changes to be able to search the database, due to the control of created_at and finished_at.
The Navigation Menu will now update automatically every 5 seconds.
The Dashboard chat will update according to the time chosen in the uptime dropdown menu. By default, it is also 5 seconds.
The graph will also show the last 20 records according to the dropdown, for example, last 20 seconds.
When you enter the screen, the graph will be empty and will be filled as you watch it.
Features:
Preview:
Gravacao.de.Tela.2024-11-10.as.18.26.05.mov