Skip to content

Added Smart Auto-Refresh System to Dashboard Headerauto refresh added#156

Open
Himanshityagii24 wants to merge 1 commit intovolcano-sh:mainfrom
Himanshityagii24:himanshi-tyagi
Open

Added Smart Auto-Refresh System to Dashboard Headerauto refresh added#156
Himanshityagii24 wants to merge 1 commit intovolcano-sh:mainfrom
Himanshityagii24:himanshi-tyagi

Conversation

@Himanshityagii24
Copy link
Copy Markdown

Description

  • Configurable auto-refresh with 5s-5m intervals
  • Intuitive settings panel with quick presets
  • Real-time countdown and refresh statistics
  • Smart pause/resume during manual refreshes
  • Visual indicators for refresh status

Importance

  • Reduces manual refresh actions.
  • Ensures data freshness for monitoring dashboards
  • Improves user productivity and experience

Screenshots

image
image
image

@volcano-sh-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign monokaix
You can assign the PR to them by writing /assign @monokaix in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Himanshityagii24 <tyagihimanshi241@gmail.com>
@Himanshityagii24
Copy link
Copy Markdown
Author

/assign @Monokaix

@karanBRAVO
Copy link
Copy Markdown
Member

I have already implemented this in PR/148.
We don't have to call from frontend (client-side) to backend-side every time. I have used SSE in which the server automatically sends the updated data to the client side.

@Himanshityagii24
Copy link
Copy Markdown
Author

@karanBRAVO That's excellent! SSE and client-side auto-refresh actually complement each other perfectly - SSE handles real-time server-initiated updates while auto-refresh gives users control over their monitoring frequency and provides a reliable fallback when SSE connections drop.Rather than competing approaches, this creates a robust hybrid system where users get both real-time updates AND the flexibility to control their data refresh experience.

@karanBRAVO
Copy link
Copy Markdown
Member

But that PR is already having refresh button :)

@Himanshityagii24
Copy link
Copy Markdown
Author

Yes!,but users still need manual control for specific monitoring scenarios

@Himanshityagii24
Copy link
Copy Markdown
Author

SSE connections often fail, and during those times, this hybrid system can be very helpful. So why stick with a manual refresh button?

@karanBRAVO
Copy link
Copy Markdown
Member

Ok, that's correct, but you can create a separate settings page for this kind of stuff

@Himanshityagii24
Copy link
Copy Markdown
Author

Yeah, that is something I will propose as well. First, let me get approval for the idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants