New dashboard widgets

Started by waxhead, July 28, 2024, 09:06:52 AM

Previous topic - Next topic
Hi,

Just a little bit of feedback

1. BUG: On the first load, many widgets display "failed to load widget". If I refresh the page it (often) works.

2. BUG: The services widget does not seem to remember when I resize it (to my knowledge, all other widgets does).

3. Feature request: Would it be possible to compact the text a bit on some of the widgets (services, interfaces etc)? Less padding around text would make for a more relaxing and tidy view, and more information on screen - especially on the services widget.

4. Feature request: Widgets that can be resized does not show any clue that it can be reiszed

5. Feature request: The firewall widget has two modes, text mode and graphical "cake" mode which is not apparent - how about splitting them into two separate widgets?

6. Comment: While the new changes are welcome, I miss the old system information widget that compressed a lot of info in one widget without the need to launch multiple widgets.

7. Feature request : The underline of the headers seems to take it's own text line and consumes a lot of horizontal space. How about changing this:

header
---------
info,info,info

to this

header
info,info,info

instead?

I fully agree with waxhead. In my opinion the new widgets are fun to play around with, but for commercial use they are a step backward.

  • More screen space is wasted as before
  • More effort is needed to set up the dashboard in an informative and consistent way as before
  • There is no separate CPU gauge anymore that allows to judge CPU utilization at a glance. The CPU graphs look beautiful but are of little use as they automatically scale.
  • Widget layout from 24.1 is lost after migration to 24.7. I would have expected to at least keep the number of columns in the previous layout

Some suggestions:


  • Make a new widget that combines the gauges for CPU, Memory, Swap and Disk in one widget. Or maybe re-include them in the main system widget. I can't imagine that anyone would not want to see at a glance if CPU or memory usage is constantly at 100%
  • Make at least the CPU, Memory, Swap and Disk Graphs editable so that their scale is fixed to 100%
  • Add a GUI button to export and import the widget configuration, including widget selection, positioning and individual configuration. This would allow to make dashboards look alike across multiple firewalls. As is, manually arranging the dashboard on 50 firewalls identically is a nightmare

Please don't get me wrong, I am very enthusiastic about OPNsense, but these new widgets are just not yet ready for prime time.

August 12, 2024, 06:58:31 PM #2 Last Edit: August 12, 2024, 07:00:28 PM by Monviech
If you check "System - Configuration - Backups" you can check the restore areas, there Dashboard exists. So I think you could import it from a backup.

It also exists for the XMLRPC Sync for HA.

There is still some tweaking done to make the UX better. Check out github where there are a few open Dashboard tickets. Feel free to add an issue there if you would like something improved, it makes it easier to track.

https://github.com/opnsense/core/issues
Hardware:
DEC740

Quote from: Monviech on August 12, 2024, 06:58:31 PM
If you check "System - Configuration - Backups" you can check the restore areas, there Dashboard exists. So I think you could import it from a backup.

It also exists for the XMLRPC Sync for HA.

There is still some tweaking done to make the UX better. Check out github where there are a few open Dashboard tickets. Feel free to add an issue there if you would like something improved, it makes it easier to track.

https://github.com/opnsense/core/issues

Are you saying I can stay on this latest version and rever to the old dashboard? I highly, highly prefer it. I would love an option to use legacy dashboard

No I did not say that. I just answered the prior poster about the ability to backup and restore the current dashboard.
Hardware:
DEC740

Yes, I posted this elsewhere. Formatting issue on Temps widget.


Interface statistics widget while pretty and colourfull pie chart it is useless. You need to hover over the sections to see statistics, in smaller forms does not even show which interface is which colour.
The update may be progressive from the point of coding the widgets and usage of the router resources but from standpoint of actual usefulness it is a huge downgrade.
Another problem is that current dashboard is sluggish, I experience hiccups that take 3-5 seconds from time to time. I don't think this is ready to put into a release.


I think the old dashboard was more functional, the new one is half baked but slightly more readable. My impression in 24.7.1:
1) like before, very slow, browser will eventually offer to kill the window which i didn't do before
2) no CPU or disk in system information widget (CPU worked, disk shown tooo many rows so it's ok to be replaced with the separate gauge)
3) CPU widget 4 charts, all empty, alternating between nothing and a flat orange line -> i'd prefer the gauge with only "total" info
4) Cannot click on the headers to go to the actual window, it is the nr.1 issue
5) Cannot resize many widgets, there's no chance to make a nice layout with aligned windows
6) settings are gone from most of the windows
7) Services widget is too long, 2 lines per item, it could have just one button on the right
8) Gateways, Wireguard also too long, either can't resize or not looking good in 2 column mode..some less important information like WG last timestamp or RTT could be compressed (small font, combining into mini table) or removed
9) Interfaces widget too long, should put IP to the right even in column window, this 2-5 line approach sucks

+1 - the old dashboard was definitely more functional... I suspect it would be too much work to keep both the old one alongside the new one, leaving the user the choice to decide which one to use  ::)

Quote from: Monviech on August 12, 2024, 06:58:31 PM
If you check "System - Configuration - Backups" you can check the restore areas, there Dashboard exists. So I think you could import it from a backup.


This dashboard option seems to be gone. I thought the Dashboard info might be in WebUI portion of the backup but that doesn't do it. Any idea what 'restore area' it's backed up in now?


Quote from: hushcoden on August 20, 2024, 05:54:41 PM+1 - the old dashboard was definitely more functional... I suspect it would be too much work to keep both the old one alongside the new one, leaving the user the choice to decide which one to use  ::)

We also had this need and created a very simple plugin to meet this requirement. I hope it helps!

https://github.com/cloudfence/opnsense-dashboard-legacy/tree/0.1
Cloudfence Open Source Team