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

Fix go back button in graph #813

Open
discordianfish opened this Issue Jun 16, 2015 · 16 comments

Comments

Projects
None yet
@discordianfish
Copy link
Member

discordianfish commented Jun 16, 2015

Hi,

if you click the go back button in the graph view, nothing happens. Instead it should change the expression input field back to the last value and refresh the graph.

@varunpatro

This comment has been minimized.

Copy link

varunpatro commented Oct 5, 2015

@discordianfish Hi what's the status of this PR? Is this enhancement still missing?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Oct 5, 2015

Yes, that is still missing.

@nsauro

This comment has been minimized.

Copy link

nsauro commented Oct 5, 2017

Is still legit? I do not see a "go back" button on the graph view.

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Oct 5, 2017

The browser functionality to load the previous page is meant here.

@discordianfish

This comment has been minimized.

Copy link
Member Author

discordianfish commented Oct 5, 2017

We should probably completely rewrite the graph ui. This could be made so much better. Maybe I'll find some time for that but maybe we find a more experience frontend person for that. I mean, I imaging this being The Great Thing to work on as a UX/frontend person who wants to contribute to some FOSS.

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Oct 5, 2017

If I understood correctly, the big picture is to rewrite the Prometheus server web UI in the same way the Alertmanager UI was rewritten. Or, in other words, the Elm-based UI revamp is meant as a canary for a common way to build the web UI in the Prometheus ecosystem.

@discordianfish

This comment has been minimized.

Copy link
Member Author

discordianfish commented Oct 5, 2017

@beorn7 I've heard similar rumors :) Is there a issue to track that though?

@nsauro

This comment has been minimized.

Copy link

nsauro commented Oct 5, 2017

With regards to this particular issue, how would the back button work if there are multiple charts on the page? Would it just cycle through some stack of chart edit events, and then update the last "current" chart?

With regards to the last few comments, does that mean this should not really be looked at, since there is a potential rewrite in the works(or roadmap?)

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Oct 5, 2017

As far as I understand, we do already update the URL when changing any state on the page, but when going back and forward through the browser's history, the URL changes but the page is not refreshed. (Disclaimer: I'm not a front-end developer.)

About the rewrite: I think this is more in the "let's put in on the roadmap" stage than in the "let's file a tracking issue" stage. I don't feel empowered to make the call if it should happen in the first place.
@nsauro having said that, I wouldn't wait for the rewrite if you have an easy fix for the issue at hand.

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this issue Oct 12, 2017

added reference to mssql exporter (prometheus#813)
* added reference to mssql exporter

* renamed exporter to MSSQL as recommended by brian-brazil
@limscoder

This comment has been minimized.

Copy link

limscoder commented Nov 20, 2017

@beorn7 I'd love to hear more about p8s plans with Elm. Is that just an idea at this point or is there planned work?

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Nov 20, 2017

@limscoder No planned work unfortunatey, I'd love if someone could dedicate some time and wants to kick of such rewrite. I believe separating the UI from the server and only using the existing APIs (a few information are still missing, but could be easily added) would help a lot to make for a better experience and remove a lot of old cruft. I've had many discussions with others and have a bunch of ideas around that.

Happy to discuss in a different forum (new issue, mailing list), let's keep this issue to the back button.

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Nov 21, 2017

For that separate discussion, I recommend to loop in @w0rm and @mxinden as those have worked on the new Alertmanager UI, which is supposed to be a canary for the grand unified way how to do UIs in Prometheus land.

@nwchandler

This comment has been minimized.

Copy link

nwchandler commented Jan 8, 2019

Is this still open for assistance? I ran into the same thing while exploring Prometheus a bit (namely, going through the Prometheus: Up and Running book). I'd be happy to try to help figure out how to address it, unless there are plans for major UI changes, as alluded to above.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jan 8, 2019

There's no big changes currently in sight, so please go ahead.

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Feb 17, 2019

I'm currently rewriting the expression browser UI in React and this should be fixed by that.

@nwchandler

This comment has been minimized.

Copy link

nwchandler commented Feb 18, 2019

Sounds good, @juliusv .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.