Sys Info Widget Getting Out of Hand
-
The system information widget is getting out of hand. It needs to be split out by info and operational.
System/Serial number, BOIS, and CPU type could initiate a new informational section. No doubt there would be other future additions.
-
IIRC you can use the same widget multiple times in 2.4 and hide things as needed.
https://redmine.pfsense.org/issues/7182
-
Guess I haven't been keeping up lately.
-
We've tossed around the idea of splitting it up, putting the parts with data/graphs separate from the general info. No clear consensus on where to draw the line yet but it is getting a bit too large. Plus then we'd need upgrade code and everything else to handle the transition. Not difficult work but it hasn't made its way up anyone's list of priorities so far.
Using multiple copies and filters can help for those who want to shrink it for the time being.
-
If I had to make a decision on something like this I would start by identifying which items are obvious for group A and which are obvious for group B. Then for the not so obvious items I would.
a) create a third group.
b) stick them in one group or the other.
c) rationalize each of them into group A or group B. Whichever they seem to be best fit. -
Because you can now have multiple copies of the widget on the dashboard and choose which items you like to see in each copy, there is no need to explicitly make 2 "system widgets" and decide in a fixed way what items to put in each.
You could just modify the default config so that it has 2 copies of the system widget on the default dashboard, with fields selected in some "reasonable" way. No "back-end" code is needed.
Users who do not like the existing, or some new default dashboard layout can flexibly modify it anyway.
-
Yep, I played around with this, and it's cool… except I don't think I saw a way to rename the widget, or at least add some custom text to the title. For example, I might want all of the graph items to be labeled as "System resources" (if I could rename it), or "System Information - Resources" (if I could add some custom text to the end)...
-
@virgiliomi:
Yep, I played around with this, and it's cool… except I don't think I saw a way to rename the widget, or at least add some custom text to the title. For example, I might want all of the graph items to be labeled as "System resources" (if I could rename it), or "System Information - Resources" (if I could add some custom text to the end)...
Yeh, I have thought about that also - so I could rename "System Information" to "System Performance" for a filtered section, or filter OpenVPN to just show clients and name it "OpenVPN Clients" or… - I will have a quick look/think if there is an easy bit of code that can abstract that widget title easily.
-
PR https://github.com/pfsense/pfsense/pull/3707 adds the ability to customize the widget title, for widgets that currently have any customizable options.
(For widgets that do not have anything customizable, the user is not likely to want/need to change the widget tile. And widgets like this do not have any of the code to show the "wrench tool" and open the settings panel. I was basically too lazy to add that to those widgets.)