Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upFix go back button in graph #813
Comments
discordianfish
added
the
enhancement
label
Jun 16, 2015
This comment has been minimized.
This comment has been minimized.
varunpatro
commented
Oct 5, 2015
|
@discordianfish Hi what's the status of this PR? Is this enhancement still missing? |
This comment has been minimized.
This comment has been minimized.
|
Yes, that is still missing. |
fabxc
added
kind/enhancement
and removed
enhancement
labels
Apr 28, 2016
brian-brazil
added
low hanging fruit
component/ui
priority/P3
help wanted
and removed
help wanted
labels
Jul 14, 2017
gouthamve
added
the
hacktoberfest
label
Sep 28, 2017
This comment has been minimized.
This comment has been minimized.
nsauro
commented
Oct 5, 2017
|
Is still legit? I do not see a "go back" button on the graph view. |
This comment has been minimized.
This comment has been minimized.
|
The browser functionality to load the previous page is meant here. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 I've heard similar rumors :) Is there a issue to track that though? |
This comment has been minimized.
This comment has been minimized.
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?) |
This comment has been minimized.
This comment has been minimized.
|
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. |
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
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? |
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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. |
This comment has been minimized.
This comment has been minimized.
|
There's no big changes currently in sight, so please go ahead. |
This comment has been minimized.
This comment has been minimized.
|
I'm currently rewriting the expression browser UI in React and this should be fixed by that. |
This comment has been minimized.
This comment has been minimized.
nwchandler
commented
Feb 18, 2019
|
Sounds good, @juliusv . |
discordianfish commentedJun 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.