OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: tiermutter on June 14, 2024, 08:43:44 AM

Title: New Dashboard
Post by: tiermutter on June 14, 2024, 08:43:44 AM
Here are some screenshots and experiences with the new dashboard (90% browser zoom, Darkmode by DarkReader Firefox plugin):

(https://i.ibb.co/smDJffV/dashboard1.png) (https://ibb.co/smDJffV)

I found that the Disk Usage widget shown as diagram will change to table mode when the widget is enlarged to at least two rows. Since I am not a fan of coloured diagrams I like this option.

(https://i.ibb.co/2kzGbZ1/dashboard2.png) (https://ibb.co/2kzGbZ1)

Same for Firewall diagram, on first screenshot when it's size is one row it shows less information than on two rows...

(https://i.ibb.co/PZW0n4K/dashboard3.png) (https://ibb.co/PZW0n4K)

... enlarging this widget to three rows it will also turn into table mode and firewall log. Nice!

(https://i.ibb.co/z29x39g/dashboard4.png) (https://ibb.co/z29x39g)

My impressions and wishes:
For firewall widget it would be nice to separate live log from events when in table mode.
See screenshot 4, having longer v6 addresses, source and destination are overleaping in some cases, maybe it is possible to shorten them in those cases.
For CPU widget it would be nice to have the option to reduce it to total graph only.

After years working with the old dashboard, this new and modern dashboard is kinda strange for me and I am sure I will miss the old simple and plain one for the first time. What I like is the option to have different sizes for each widget.


Next I would like to test OVPN DCO, I just don't know when I'll have time to do it :(
Title: Re: New Dashboard
Post by: Seimus on June 14, 2024, 12:00:37 PM
I am used to the old one too, but actually looking forward for this new UI, it looks beautiful and if it scales in mobile browsers properly it will be awesome experience.

Thanks for the pics!

Regards,
S.
Title: Re: New Dashboard
Post by: tiermutter on June 14, 2024, 12:02:36 PM
Good idea to have a look on mobile devices... Starting VM again to catch some screenshots...
Title: Re: New Dashboard
Post by: tiermutter on June 14, 2024, 12:19:07 PM
Ok, with mobile devices the new dashboard is uncomfortable...

When sliding you must take care not to touch a widget since then you will move it around.
On mobile view there is only the small edge where you can slide, on desktop view there is also the left menu where you are able to slide.
I also wondered on PC browser that it is not possible to copy textdata (eg IP addresses) from widgets since you then will move the widget, but that's not a problem to me.

Here are some screenshots from mobile device... It was not possible to take a "scrolling" screenshot since this also catched the first widget to move it...

(https://i.ibb.co/mHdMyCs/Screenshot-20240614-120531-Opera.jpg) (https://ibb.co/mHdMyCs) (https://i.ibb.co/M5KWbF5/Screenshot-20240614-120810-Opera.jpg) (https://ibb.co/M5KWbF5)
Title: Re: New Dashboard
Post by: fabianodelg on June 14, 2024, 12:21:38 PM
I just hope that will not be 'heavy' on CPU like the current one....
Title: Re: New Dashboard
Post by: Seimus on June 14, 2024, 12:28:38 PM
Thank for checking on the mobile too.

Yes that may be uncomfortable I am logging a lot via phone when I am on VPN or not on my PC.
Hopefully here will be some lock function or something to prevent widget movement when scrolling.

Regards,
S.
Title: Re: New Dashboard
Post by: DEC670airp414user on June 14, 2024, 12:36:06 PM
very cool. thank you for sharing
Title: Re: New Dashboard
Post by: tuto2 on June 14, 2024, 02:49:44 PM
Quote from: Seimus on June 14, 2024, 12:28:38 PM
Thank for checking on the mobile too.

Yes that may be uncomfortable I am logging a lot via phone when I am on VPN or not on my PC.
Hopefully here will be some lock function or something to prevent widget movement when scrolling.

Regards,
S.

Sure, here you go: https://github.com/opnsense/core/commit/34cafe3e9835cb48c41ad063d2aba2700e7f701a

I hadn't done extensive tests on touch yet other than increasing the responsiveness with auto-sizing widgets based on screen size, but this is an obvious one.

Thanks for the feedback! The other points have been noted as well.

Cheers,
Stephan
Title: Re: New Dashboard
Post by: tuto2 on June 14, 2024, 02:52:55 PM
Quote from: fabianodelg on June 14, 2024, 12:21:38 PM
I just hope that will not be 'heavy' on CPU like the current one....

Which CPU, client or firewall?

In general, CPU/GPU usage has increased somewhat on the client side (neat graphics aren't free), and reduced on the firewall side.

Cheers,
Stephan
Title: Re: New Dashboard
Post by: Seimus on June 14, 2024, 03:12:42 PM
Quote from: tuto2 on June 14, 2024, 02:49:44 PM
Sure, here you go: https://github.com/opnsense/core/commit/34cafe3e9835cb48c41ad063d2aba2700e7f701a

I hadn't done extensive tests on touch yet other than increasing the responsiveness with auto-sizing widgets based on screen size, but this is an obvious one.

Thanks for the feedback! The other points have been noted as well.

Cheers,
Stephan

Oooh you are a fast one, thanks Stephan!

Regards,
S.
Title: Re: New Dashboard
Post by: julsssark on June 14, 2024, 06:27:15 PM
I played around with the new dashboard using the default theme and I like it.

The widgets do not display correctly using the cicada theme. Interfaces example attached.

Should testing focus on the default theme until the theme owners put out updates?
Title: Re: New Dashboard
Post by: Seimus on June 15, 2024, 12:06:15 AM
Use the default theme, otherwise issues you may encounter and report with custom themes maybe false positive for the new dashboard.

I did spin it as well in a VM, and I must say I am impressed, that new dashboard is fluid, also in regards of resources drain, I don't see anything significant.

Well done OPN devs.

Regards,
S.
Title: Re: New Dashboard
Post by: newsense on June 15, 2024, 04:45:30 AM
Quote from: julsssark on June 14, 2024, 06:27:15 PM
Should testing focus on the default theme until the theme owners put out updates?

Yes. I wouldn't expect theme updates earlier than RC1, some may only be available on the GA or shortly after.
Title: Re: New Dashboard
Post by: franco on June 15, 2024, 10:33:19 AM
We are considering the addition of a default dark theme in order to avoid theme developers playing catch-up with the changes, but not before all of 24.7 is out.

I don't think existing themes will be (fully) fixed in time so it may take a few 24.7.x even, but I know that Rene is looking at tweaking the dashboard in his themes already.


Cheers,
Franco
Title: Re: New Dashboard
Post by: tuto2 on June 15, 2024, 01:48:17 PM
Quote from: Seimus on June 15, 2024, 12:06:15 AM
I did spin it as well in a VM, and I must say I am impressed, that new dashboard is fluid, also in regards of resources drain, I don't see anything significant.

Well done OPN devs.

Much appreciated! The design focuses on efficiency as much as possible in contrast to the old dashboard, which had a tendency to be slow on page load.

When you consider resource drain, there's always going to be a cost to data collection. Things are now better with the streaming implementations which prevent backend processes from having to start/stop all the time - reducing a lot of the overhead.

While the roadmap for the dashboard for 24.7 is set (some widgets have yet to be added), new ideas for widgets are welcome of course. For anyone willing to have a go at this themselves, the development documentation will be synced around the time of the 24.7 release.

Cheers,
Stephan
Title: Re: New Dashboard
Post by: tiermutter on June 15, 2024, 02:30:50 PM
Thank you Stephan. Assuming that all existing widgets will be available later, I have no idea for new widgets but I will give it some thoughts.
For new GW widget it has less data than old widget, but I believe missing RTT/RTTd and packet loss are in process...
For wireguard widget in my opinion it is nit nessacary to have keys shown there to have a more compact widget than we currently have.

I am happy to contribute, but sorry that I only can do with ideas and wishes since I am not able to code something...
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on June 15, 2024, 02:41:25 PM
Imo the most important widget that I used most of the time was connected VPN users.

It would be nice to have a widget that shows the currently connected SSLVPN, Wireguard and IPsec Roadwarriors. (Like the old dashboard ipsec widget). Though maybe a combined VPN widget that collects the data from all 3 core vpn implementations into one place would be nifty.

Scope would be:

Protocol: Ipsec, Wireguard, SSLVPN
Username: The username (wireguard will have pubkey)
Inner Tunnel IP: An array of IPv4, IPv6 addresses the username or pubkey has assigned
Connection Status: Boolean, either green or red depending on the connection status of the username/pubkey (for sslvpn and ipsec since they track connection status) - For wireguard it could be if the last handshake isnt older than 5 minutes since its exchanged every 2 minutes or so.
Last connection datetime: A date/time that shows when the client have been last connected.

Just a rough idea.
Title: Re: New Dashboard
Post by: fabianodelg on June 15, 2024, 03:30:04 PM
Quote from: tuto2 on June 14, 2024, 02:52:55 PM

Which CPU, client or firewall?

In general, CPU/GPU usage has increased somewhat on the client side (neat graphics aren't free), and reduced on the firewall side.


Firewall side. The current dashboard demand a toll to the Firewall CPU. I hope the new one, don't (I don't mind if the load is on the client CPU though)

Best
F
Title: Re: New Dashboard
Post by: alex303 on June 15, 2024, 08:57:51 PM
Quote from: franco on June 15, 2024, 10:33:19 AM
We are considering the addition of a default dark theme in order to avoid theme developers playing catch-up with the changes, but not before all of 24.7 is out.

Cheers,
Franco

Please do it.
Title: Re: New Dashboard
Post by: newsense on June 15, 2024, 10:42:33 PM
Hi Stephan,

A widget that could be fixed/enhanced is the clock one.

On FWs where NTPD is disabled it would be great if the widget would show if the system clock is synchronized via chrony.


Regarding System Information one, I was rather liking all the info presented in the old one. Particularly useful when viewed on a phone. Splitting all that information in widgets and then scrolling though all those widgets when viewed on a phone might not be ideal.


Thanks for reading this.

As for an idea to add to the dashboard, if you're familiar with PingInfoView utility from Nirsoft, having a similar customizable widget could be useful for one logging into a FW to have at a glance a view of whether a set of machines on that site are operational or not.
Title: Re: New Dashboard
Post by: Seimus on June 16, 2024, 11:34:51 AM
Maybe bit out of the scope idea for widgets but:

A. I would like to see a widget similar as is for rules (pie graph & table graph) for the Shaper, that would pull stats per rule. I use the  Shaper > Status for T-shooting quiet a lot.

B. Widget for LLDP, having this to check if I see proper Port connections between devices and if they are really connected to ports they should have been is helping with T-shoot as well.

Regards,
S.
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on June 20, 2024, 09:24:15 PM
Stephan did a really good job with the new dashboard framework.

So I'm throwing my Caddy plugin into the mix too and will probably offer two small widgets. They're almost done. Nicest addition is an overview of all automatic Let's Encrypt certificates, listed by expiration date.

https://github.com/opnsense/plugins/pull/4049
Title: Re: New Dashboard
Post by: Seimus on June 20, 2024, 09:26:29 PM
Quote from: Monviech on June 20, 2024, 09:24:15 PM
Stephan did a really good job with the new dashboard framework.

So I'm throwing my Caddy plugin into the mix too and will probably offer two small widgets. They're almost done. Nicest addition is an overview of all automatic Let's Encrypt certificates, listed by expiration date.

https://github.com/opnsense/plugins/pull/4049

<3

Regards,
S.
Title: Re: New Dashboard
Post by: opnsenseuser on June 22, 2024, 09:26:42 PM
I´m doing my best to get a really good new dark look for 24.7 with the new dashboard

you can look at the new vicuna and cicada dashboard here

https://github.com/opnsense/plugins/pull/4044 (https://github.com/opnsense/plugins/pull/4044)

regard
rené
Title: Re: New Dashboard
Post by: muchacha_grande on June 22, 2024, 09:47:29 PM
Impressive... really good...
Title: Re: New Dashboard
Post by: opnsenseuser on July 17, 2024, 09:51:10 PM
i think it looks great. I haven't activated all the widgets on the dashboard, but a few.
themes: cicada and vicuna

24.7-RC1 release
Title: Re: New Dashboard
Post by: jonm on July 18, 2024, 05:33:12 PM
Just trying 24.7b on my test box and it looks great but I don't see my two VPN interfaces in the dashboard interfaces widget. Should they be there or have they moved somewhere else?
Title: Re: New Dashboard
Post by: AhnHEL on July 26, 2024, 04:00:41 AM
Everything is running good and its looking good now too  ;D.   Thank you for all your hard work.

I wanted to point out that CPU widget says I have 8 cores 4 threads.

Its an E3-1240v3.  It should say 4 Cores 8 Threads.

Anyone else seeing this swap in Cores vs Threads?
Title: Re: New Dashboard
Post by: mostwanted002 on July 26, 2024, 05:24:38 AM
https://forum.opnsense.org/index.php?topic=41731.msg205114#msg205114

Cross-posting here because this seems to be a more appropriate thread for it
Title: Re: New Dashboard
Post by: franco on July 26, 2024, 08:25:08 AM
> I wanted to point out that CPU widget says I have 8 cores 4 threads.

Nice catch.

https://github.com/opnsense/core/commit/678eaf2fb99a

# opnsense-patch 678eaf2fb99a


Cheers,
Franco
Title: Re: New Dashboard
Post by: jenix on July 26, 2024, 09:35:34 AM
The new dashboard really looks nice. Great job, i like it.

I do noticed some issues with resizing the widgets though:
- The "Firewall Live Log" widget displays as if you can expand it vertically (showing the 'arrow down' mouse cursor when you are at the bottom of the widget), but i can only expand it horizontally
- The "Interfaces" widget can't be expanded vertically which would be really nice to see the status of all my interfaces
- The "Services" widget can be expanded vertically, but the change is not saved. After clicking the 'save' button and reloading the dashboard, it is back to its around half-screen height
- The "Disk" widget can't be expanded vertically only. This would be great to switch to the detailed bar view while keeping the width aligned with all the other widgets.
- The "Traffic Graph" widget shows the mouse cursor for vertical expansion while it is not possible (the same as the "Firewall Live Log").

It would be also nice if there is a separate editing mode (the default dashboard is view only and you have to click an 'edit' button to be able to change any of the widgets). This would also be very helpful to prevent accidental widget changes on mobile.
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on July 26, 2024, 11:01:45 AM
I opened an issue for these resize issues last week:

https://github.com/opnsense/core/issues/7628
Title: Re: New Dashboard
Post by: Patrick M. Hausen on July 26, 2024, 11:20:22 AM
Can we get the "picture" widget back? I actually use this. Seriously ;)

I place the company logo of $customer on the dashboard so I always know which firewall I am working on at the moment.
Title: Re: New Dashboard
Post by: Stormscape on July 26, 2024, 12:44:20 PM
So here's my feedback on the new widgets:
1. The CPU usage graph has too much information. The old widgets just showing the 1, 5, and 15 minute load averages in System Information, and a real time overall usage was perfectly fine. Frankly I don't even know the difference between the graphs on the new CPU usage widget, which seem to be mostly of usefulness to a software developer, and not necessarily a network administrator.
2. There should be more configurability to the widgets. Having to add multiple graph only widgets simply to restore what was previously text line items under System Information feels... clunky? As a result I've got a cluttered screen full of half circle widgets with tiny text underneath each one
3. The disk widget doesn't even show actual space, just a percentage used.
4. The thermal sensors widget, which previously detected thermal sensor names correctly, appears to have buggered up slightly with this update. My PCH temp now detects as a 2nd "Core 0".
5. Overall it feels like a heavy focus on fancy graphs and less of a focus on text, which is fine, but there needs to be an option for people who preferred the old text heavy interface.
EDIT:
6. Just noticed the Services widget doesn't seem to remember its size. If I expand it so all services are visible and click save, when I navigate away and return to the dashboard, it's shrunken in size again so that you have to scroll to view all services.
Title: Re: New Dashboard
Post by: Seimus on July 26, 2024, 05:27:03 PM
Quote from: Patrick M. Hausen on July 26, 2024, 11:20:22 AM
Can we get the "picture" widget back? I actually use this. Seriously ;)

I place the company logo of $customer on the dashboard so I always know which firewall I am working on at the moment.

+1

I used this a lot.

Regards,
S.
Title: Re: New Dashboard
Post by: beckzg on July 26, 2024, 05:33:21 PM
If I make any changes on the new Dashboard and click Save, then nothing happens just hangs, in the Debug console I see the following error:

opnsense_widget_manager.js?v=4b589a9d0ec1c234:558 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getWidgetConfig')
    at opnsense_widget_manager.js?v=4b589a9d0ec1c234:558:66
    at Array.map (<anonymous>)
    at WidgetManager._saveDashboard (opnsense_widget_manager.js?v=4b589a9d0ec1c234:557:41)
    at HTMLButtonElement.<anonymous> (opnsense_widget_manager.js?v=4b589a9d0ec1c234:284:24)
    at HTMLButtonElement.dispatch (jquery-3.5.1.min.js?v=4b589a9d0ec1c234:2:43090)
    at v.handle (jquery-3.5.1.min.js?v=4b589a9d0ec1c234:2:41074)

I tried different browser and operating systems, private browse, but all the time I get this behaviour.
Title: Re: New Dashboard
Post by: Seimus on July 26, 2024, 05:35:20 PM
I have observed a weird behavior with the new GUI:

1. Multiple devices connected to GUI
If this happens on both sessions the Widgets start to fail load

2. Mobile browser view of GUI is a bit borked
If you connected to the GUI via phone, the widgets are offset, also it looks like the view for phones is based on rows. Meaning if you style the widgets using PC to be like columns, on phone they will be drawn from perspective of the rows.

Regards,
S.
Title: Re: New Dashboard
Post by: PhoenixRider on July 26, 2024, 08:43:59 PM
The traffic monitor doesn't work for me, doesn't show anything. I use the Vicuna theme.
Title: Re: New Dashboard
Post by: lignumaqua on July 26, 2024, 10:57:10 PM
Quote from: Seimus on July 26, 2024, 05:35:20 PM
I have observed a weird behavior with the new GUI:

1. Multiple devices connected to GUI
If this happens on both sessions the Widgets start to fail load

Same here. Dashboard on desktop alone works fine, however if I try and open it on an iPad at the same time then both fail. Only seems to work with one client at a time. This is a problem as I habitually leave the dashboard open in a tab on the desktop and I know I'll forget to close it just so I can use the iPad.
Title: Re: New Dashboard
Post by: rkubes on July 26, 2024, 11:43:30 PM
Not to pile on, since it's already been reported twice, but also noting that my biggest concern since the update is the lack of ability for multiple devices to see the dashboard at once. It just doesn't handle it gracefully and individual widgets start to break down.

I also miss the configurability of the widgets. For example, the Firewall Log and the System Log I used to have something like 20+ entries configured (I typically view it on a 4K monitor). However, the currently Firewall Log only shows 5 entries and you can't expand it. The System Log only shows like 4 entries. Any time there's any noise on top of what you're looking for it makes both of them essentially useless.

I'm sure they'll continue to improve and think they have a lot of potential, but so far it's very jarring due to these issues.
Title: Re: New Dashboard
Post by: franco on July 27, 2024, 10:15:50 AM
Posting here as well: the web server seems to have too few configured concurrent processing threads:

https://github.com/opnsense/core/commit/724f8494d6

# opnsense-patch 724f8494d6
# configctl webgui restart

This may help with widgets not loading in a single instance, but was mainly a problem when a second dashboard was opened at the same time.


Cheers,
Franco
Title: Re: New Dashboard
Post by: Patrick M. Hausen on July 27, 2024, 01:52:46 PM
Nope. Both Deciso appliances load the dashboard just fine while the APU4 looks like this.

This is just a WireGuard endpoint that provides an IPv6 tunnel to our Frankfurt office. No PPPoE, just a single (LAN) interface, firewall disabled - really no need to buy some beefier hardware at the moment.  ;)
Title: Re: New Dashboard
Post by: lignumaqua on July 27, 2024, 06:25:05 PM
Quote from: franco on July 27, 2024, 10:15:50 AM
Posting here as well: the web server seems to have too few configured concurrent processing threads:
Cheers,
Franco
Thank you - that fixed it for me with viewing on the Desktop and iPad at the same time. :-)
Title: Re: New Dashboard
Post by: _tribal_ on July 27, 2024, 09:45:52 PM
Edge browser v127.0.2651.74  dev console:
[Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://192.168.1.91:50443/ui/themes/cicada/build/fonts/SourceSansPro-Regular/SourceSansPro-Regular.woff
dashboard:1306 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://192.168.1.91:50443/ui/fonts/fontawesome-webfont.woff2?v=4.7.0
dashboard:1306 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://192.168.1.91:50443/ui/themes/cicada/build/fonts/bootstrap/glyphicons-halflings-regular.woff
dashboard:1 [Intervention]Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://192.168.1.91:50443/ui/themes/cicada/build/fonts/SourceSansPro-Semibold/SourceSansPro-Semibold.woff
chart.min.js?v=c5d33278e23c773a:13  Refused to load the image 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23666" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 20 20"><path d="m10 3 2 2H8l2-2v14l-2-2h4l-2 2"/></svg>' because it violates the following Content Security Policy directive: "img-src 'self'".

_draw @ chart.min.js?v=c5d33278e23c773a:13


I'm not sure that was the plan. ::)
What browser did you create the GUI for?
EDGE has errors and very strong lags. ???
Firefox doesn't seem to have any errors, but the interface lags a lot too. If it doesn't have enough i5-10300H for rendering, it's a very strange GUI. And I wonder what network speed is needed if gigabit is not enough? :o

And this I have not yet discussed the design of widgets... one does not change the size in full length, the second with huge empty fields, the temperature widget in total has its own life.
I'm very surprised that it was released in this condition.
Title: Re: New Dashboard
Post by: franco on July 29, 2024, 08:46:37 AM
Quote from: _tribal_ on July 27, 2024, 09:45:52 PM
I'm not sure that was the plan. ::)
What browser did you create the GUI for?
Is that a loaded question? If yes please tone it down and feel free to provide a PR :)


Cheers,
Franco
Title: Re: New Dashboard
Post by: AngusStewart on July 29, 2024, 09:20:10 AM
Quote from: Patrick M. Hausen on July 26, 2024, 11:20:22 AM
Can we get the "picture" widget back? I actually use this. Seriously ;)

I place the company logo of $customer on the dashboard so I always know which firewall I am working on at the moment.

+1
Title: Re: New Dashboard
Post by: tokade on July 29, 2024, 10:03:04 AM
Will there be widgets for speedtest and NTP be added?
They have been there in the old version of the dashboard.
Title: Re: New Dashboard
Post by: OzziGoblin on July 29, 2024, 10:47:25 AM
Yeah, I've had a look at this new landing page and to be honest I'm not a fan, key information is no longer available like viewing the firewall log, interface statistics etc.

It's dissappointing to be honest, I'd rather keep the 24.1 interface.
Title: Re: New Dashboard
Post by: tokade on July 29, 2024, 10:51:10 AM
@OzziGoblin

Have you noticed that you can add more widgets to the dashboard, e.g. interface statistic? The view also depends how large you make the widgets.
Title: Re: New Dashboard
Post by: OzziGoblin on July 29, 2024, 11:02:55 AM
yip, I saw that but as I mentioned the ones I wanted are missing and I don't need a bunch of fancy graphs.  Sorry, I know a lot of effort has been put into this, but I prefer the previous landing page.
Title: Re: New Dashboard
Post by: Patrick M. Hausen on July 29, 2024, 11:25:26 AM
My three biggest annoyances currently:

- no SMART widget
- IPsec tunnels - no way to explore the layer 2 SAs
- services - no way to hide services like the dpinger which just clutters the widget

After all while I see the technical appeal and appreciate the effort - this will turn out great in another generation or two - currently I get less information in more screen real estate, unfortunately.
Title: Re: New Dashboard
Post by: nerd on July 29, 2024, 11:27:20 AM
After tinkering around with the new dashboard, I run into the following 'issues'.

1) can't seen to enlarge (vertically) the interfaces to show them all at once. Needing to scroll to see them is less than ideal.
2) both announcements and services tile will not remember their vertical size.
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on July 29, 2024, 11:58:52 AM
Quote from: Patrick M. Hausen on July 29, 2024, 11:25:26 AM
My three biggest annoyances currently:

- IPsec tunnels - no way to explore the layer 2 SAs
...

When I submitted the IPsec Widget I tried to keep the scope small, it can always be enhanced in the future.

I wanted it to be stable with the least resize issues or information overload as possible.

Now that Widget configurability seems to be a choice too, it could get an option to show more information.

Here was the relevant PR: https://github.com/opnsense/core/pull/7549
Title: Re: New Dashboard
Post by: Patrick M. Hausen on July 29, 2024, 12:06:53 PM
Quote from: Monviech on July 29, 2024, 11:58:52 AM
When I submitted the IPsec Widget I tried to keep the scope small, it can always be enhanced in the future.
I wanted it to be stable with the least resize issues or information overload as possible.
Now that Widget configurability seems to be a choice too, it could get an option to show more information.

But as a result you simply dropped 90% of the relevant information that was present in the old widget ...  :-\
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on July 29, 2024, 12:17:57 PM
Well nobody complained about it when the PR was live for a while. And it was in the developement versions for a while.

I'm not defending it, just saying that it is a contribution and others can enhance it. That's what "Community Edition" is for.
Title: Re: New Dashboard
Post by: Patrick M. Hausen on July 29, 2024, 12:23:57 PM
Quote from: Monviech on July 29, 2024, 12:17:57 PM
Well nobody complained about it when the PR was live for a while. And it was in the developement versions for a while.
Valid point. I don't follow PRs on a regular schedule, though. Only when I am faced with a specific problem.

Quote from: Monviech on July 29, 2024, 12:17:57 PM
I'm not defending it, just saying that it is a contribution and others can enhance it. That's what "Community Edition" is for.
The problem I see is that to get just the information and functionality of the old dashboard back, a heck of a lot of work will still be necessary. And tedious tasks with lots of tinkering and attention to detail not commonly loved by developers  ;) And so I wonder about the motivation for the new one. Why this huge undertaking at all? MVC conversion? Was the old dashboard that "old school"?

No bad feelings - it will get better, I'm sure. Not quite confident I could contribute - this JS stuff is all Greek to me. Actually it isn't because I know Greek  :D
Title: Re: New Dashboard
Post by: OzziGoblin on July 29, 2024, 12:46:17 PM
It would be great if there was an option to use the old dashboard if a person wanted it.
Title: Re: New Dashboard
Post by: ivwang on August 05, 2024, 05:59:56 AM
Quote from: Stormscape on July 26, 2024, 12:44:20 PM
---deleted---
3. The disk widget doesn't even show actual space, just a percentage used.
4. The thermal sensors widget, which previously detected thermal sensor names correctly, appears to have buggered up slightly with this update. My PCH temp now detects as a 2nd "Core 0".
5. Overall it feels like a heavy focus on fancy graphs and less of a focus on text, which is fine, but there needs to be an option for people who preferred the old text heavy interface.
---deleted---

Regarding 3, also the disk widget sometimes "changes" to dimension other than the set one. More easily to observe if there are another widgets in the same row adjacent to disk widget and/or directly below it.

In my case,  I set the disk widget to minimum dimension with other widgets to the side and below of it. Works through first several dashboard page reloads, but then the disk widget just grows a unused blank inside it. As result the widget below it is pushed down.

The new dashboard widgets look cool with higher update frequency and graphs, but it really takes more space than the old one.
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on August 06, 2024, 10:26:36 AM
Here are some small improvements for the Ipsec Widget.

- It shows if at least one child is connected, install time, Bytes In and Bytes Out.

It requires these two patches:

https://github.com/opnsense/core/commit/809e3be
https://github.com/opnsense/core/commit/6057619


opnsense-patch 809e3be 6057619
Title: Re: New Dashboard
Post by: OzziGoblin on August 06, 2024, 10:38:21 AM
does anyone know why, in order to show live firewall log data there has to be so much free unoccupied space on the browser screen?
Also on the old console I could show 15 lines of activity, the new widget seems limited to 4, is this editable?
Title: Re: New Dashboard
Post by: xkpx on August 06, 2024, 01:43:13 PM
First impresssions:
1. Clicking on firewall always use rule id in page and i need to remove it ()
2. Mobile version is pain for me the dashboard is moving like crazy and i can't scroll,
But in general its very cool to see some new things implemented ^^
ThanksTeam!
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on August 06, 2024, 01:57:30 PM
You can use the lock button and save the state of it. Then if you go mobile, the dashboard is locked.
Title: Re: New Dashboard
Post by: franco on August 06, 2024, 01:59:41 PM
Don't forget to save the locking itself. ;)


Cheers,
Franco
Title: Re: New Dashboard
Post by: bandit8623 on August 07, 2024, 05:42:44 PM
will there be a dark mode included? i prefer not to have to use a browser plugin to make this dashboard page not blind me.  default its not the greatest
Title: Re: New Dashboard
Post by: franco on August 07, 2024, 05:45:24 PM
There are several dark theme plugins to choose from.

Whenever we get to revamping the default theme it will probably also include a dark mode sibling....


Cheers,
Franco
Title: Re: New Dashboard
Post by: bandit8623 on August 07, 2024, 08:00:37 PM
Quote from: franco on August 07, 2024, 05:45:24 PM
There are several dark theme plugins to choose from.

Whenever we get to revamping the default theme it will probably also include a dark mode sibling....


Cheers,
Franco
ive tried 2 diff themes and the interface goes dark but not the widgets.  the widgets are bright white.  only way to get dark ive found is use dark reader.
Title: Re: New Dashboard
Post by: franco on August 07, 2024, 08:05:46 PM
Ok, you can open tickets on GitHub plugins for the individual themes.


Cheers,
Franco
Title: Re: New Dashboard
Post by: bandit8623 on August 07, 2024, 08:57:06 PM
Quote from: franco on August 07, 2024, 08:05:46 PM
Ok, you can open tickets on GitHub plugins for the individual themes.


Cheers,
Franco



i found one that works .   Cicada
thx
Title: Re: New Dashboard
Post by: toz on August 28, 2024, 10:43:11 PM
Quote from: Patrick M. Hausen on July 26, 2024, 11:20:22 AM
Can we get the "picture" widget back? I actually use this. Seriously ;)

I place the company logo of $customer on the dashboard so I always know which firewall I am working on at the moment.

My thouhts exactly !!!
Title: Re: New Dashboard
Post by: itngo on September 29, 2024, 11:25:58 AM
Quote from: toz on August 28, 2024, 10:43:11 PM
Quote from: Patrick M. Hausen on July 26, 2024, 11:20:22 AM
Can we get the "picture" widget back? I actually use this. Seriously ;)

I place the company logo of $customer on the dashboard so I always know which firewall I am working on at the moment.

My thouhts exactly !!!

Me too! Picture Widge is essential....
Title: Re: New Dashboard
Post by: Monviech (Cedrik) on September 29, 2024, 11:29:59 AM
https://forum.opnsense.org/index.php?topic=43063

o system: add a picture widget
Title: Re: New Dashboard
Post by: franco on September 29, 2024, 11:30:47 AM
Yes, it's there since 24.7.5 and was never gone from 24.4 and also will not be gone from 24.10.  ;)


Cheers,
Franco
Title: Re: New Dashboard
Post by: thatso on October 20, 2024, 12:27:30 PM
Quote from: tokade on July 29, 2024, 10:03:04 AM
Will there be widgets for speedtest and NTP be added?
They have been there in the old version of the dashboard.

+1 for the NTP status widget.

Also, the old bar graph widget for CPU/memory/disk/swap/state table size was way more intuitive at one glance and more compact than the new single gauges.
Title: Re: New Dashboard
Post by: franco on October 21, 2024, 09:16:41 AM
NTP doesn't have an API yet and the widgets now want an API to show the data.  Not sure which speedtest you mean, we only have iperf in the plugins.

I agree about the gauges. We will have something to do about them mid-term, but it's not an immediate priority at the moment.


Cheers,
Franco
Title: Re: New Dashboard
Post by: Patrick M. Hausen on October 21, 2024, 09:22:47 AM
Quote from: franco on October 21, 2024, 09:16:41 AM
Not sure which speedtest you mean, we only have iperf in the plugins.

Probably os-speedtest-community from the mimugmail repo. That came with a cron job definition so you could schedule regular tests and a dashboard widget displaying the results.