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

UI should be live with information pushed from server #2541

Open
andrewrk opened this Issue Nov 3, 2017 · 12 comments

Comments

Projects
None yet
@andrewrk
Copy link

andrewrk commented Nov 3, 2017

There's no reason to press a refresh button. Instead of the dashboard requesting information from the server, it should subscribe to information from the server, and update the UI to reflect changes from the server.

@maciaszczykm

This comment has been minimized.

Copy link
Member

maciaszczykm commented Nov 7, 2017

Agreed. Auto-refresh would be a temporary solution in this case as it is easier to implement at the moment.

@hexsprite

This comment has been minimized.

Copy link

hexsprite commented Nov 14, 2017

You could look at using GraphQL as it supports real-time data Subscriptions and has great cross platform support.

@javajon

This comment has been minimized.

Copy link

javajon commented Dec 3, 2017

For inspiration CoreOS Tectonic dashboard for Kubernetes updates dynamically.

@Antiarchitect

This comment has been minimized.

Copy link

Antiarchitect commented Dec 15, 2017

Just tracking this.

@kachkaev

This comment has been minimized.

Copy link

kachkaev commented Feb 24, 2018

As a step towards this, would it be reasonable to implemented a refresh button to re-fetch lists of pods, deployments, etc? I know one can just refresh the entire page, but that's not quite the same. List refresh can work much faster because it won't require css and js reloading, which is especially noticeable on slow remote networks.

I imagine it can look like this:

refresh-list

Or like this:

refresh-all

@floreks

This comment has been minimized.

Copy link
Member

floreks commented Feb 24, 2018

We are considering few solutions.

  1. Adding auto-refresh option to local settings so user can select i.e. that he wants data to be refreshed every x sec.
  2. Thanks to angular migration it will be possible to support watch for resources as apiserver exposes watch endpoints.

We will revisit this after we finish angular migration.

@kachkaev

This comment has been minimized.

Copy link

kachkaev commented Feb 24, 2018

Good to know! If you consider adding auto-refresh option in future, it'd be also useful to have a tick to stop data refreshing when the tab is not focused. Here is how this setting looks like in netdata (server monitoring tool):

screen shot 2018-02-24 at 11 58 57

@nebrass

This comment has been minimized.

Copy link

nebrass commented Apr 13, 2018

Where is this issue? why it is frozen? I think this is a very important feature for the Dashboard :/

@maciaszczykm

This comment has been minimized.

Copy link
Member

maciaszczykm commented Apr 13, 2018

@nebrass It is frozen because otherwise, bot would automatically close it after 30 days. I agree that it is very important, but even more important for us was the update to the new Angular as some of the old stuff was going to be deprecated and we wanted to use new functionality. Unfortunately, at the moment I have no time to contribute anymore so let's hope for contributions from other people to push migration and this feature forward.

@spacecat

This comment has been minimized.

Copy link

spacecat commented Sep 26, 2018

13 apr. Last post. Long time ago. Just checking on status? Also, my first though was "Click on a category in the left nav and the right / main view should reload/refresh. Now I have to click back and forth between categories in the left nav to update the right view. Dynamically/auto-update by subscribing to the server definitely would be the ultimate solution as already mentioned.

@benc-uk

This comment has been minimized.

Copy link

benc-uk commented Oct 25, 2018

I would love to see this, I run a lot of demos of Kubernetes and having the dashboard auto refresh would make my life so much easier. It would make the dashboard feel a lot more modern and responsive

@zedtux

This comment has been minimized.

Copy link

zedtux commented Jan 16, 2019

I'm also looking for this feature that would make the dashboard so much better! Please ! 🙏

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