You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started working on adding stuff that requires jQuery in my 'jquery' branch. tgharold@3cf2046
It's not ready for a pull into the master, but it is working for auto-refreshing the graph on the details page. Current version is hard-coded to reload the graph every 10 seconds.
My plan is that there will be a set of config file boolean parameters that can be set to enable this behavior. The refresh interval would be tuned by an "aggressiveness" parameter (default of 200). Higher "aggressiveness" values would result in more frequent refreshes of the graph. For a graph which is 86400 seconds wide, the default refresh would be (86400 / 200) or every 432 seconds. For a graph that is 7200 seconds wide, refresh time would be (7200/200) = 36 seconds.
Minimum aggressiveness value would be 1, maximum aggressiveness value would be 1000.
In cases where auto-refresh is enabled, the 'cache' option will need to be changed to match the refresh interval.
Other possible uses of jQuery that I'm thinking about:
On a host page with multiple graphs, add a filter box at the top which can quickly hide any graphs that don't match the filter. It would be a simple text filter that matches on p= value, pi= value and t= value. The initial version might just mash those (3) parameter values together and use them as the <div> id value.
Changing the graph size on-the-fly.
Being able to select multiple types in the left-hand column for display at the same time on the host page.
Quick filtering of hosts on the index page.
Other ideas?
I don't feel a need to completely restructure CGP as I really like the design and the use of URLs that can be bookmarked. The UI is very good for exploring all of the possible graphs. Hopefully you like the upcoming changes that I'm doing on the jquery branch.
The text was updated successfully, but these errors were encountered:
I've started working on adding stuff that requires jQuery in my 'jquery' branch. tgharold@3cf2046
It's not ready for a pull into the master, but it is working for auto-refreshing the graph on the details page. Current version is hard-coded to reload the graph every 10 seconds.
My plan is that there will be a set of config file boolean parameters that can be set to enable this behavior. The refresh interval would be tuned by an "aggressiveness" parameter (default of 200). Higher "aggressiveness" values would result in more frequent refreshes of the graph. For a graph which is 86400 seconds wide, the default refresh would be (86400 / 200) or every 432 seconds. For a graph that is 7200 seconds wide, refresh time would be (7200/200) = 36 seconds.
Minimum aggressiveness value would be 1, maximum aggressiveness value would be 1000.
In cases where auto-refresh is enabled, the 'cache' option will need to be changed to match the refresh interval.
Other possible uses of jQuery that I'm thinking about:
<div>
id value.I don't feel a need to completely restructure CGP as I really like the design and the use of URLs that can be bookmarked. The UI is very good for exploring all of the possible graphs. Hopefully you like the upcoming changes that I'm doing on the jquery branch.
The text was updated successfully, but these errors were encountered: