Services widget

Started by julsssark, July 11, 2026, 03:35:04 AM

Previous topic - Next topic
Yes, the design of the service box is okay, but it could be better. I'm also not entirely sure why the "button" class was used for the service widget. But okay—what is strange, though, is that the service widget's heading is missing. It is visible in edit mode, however. Is that intentional?
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

Quote from: opnsenseuser on July 28, 2026, 08:25:04 AMthe service widget's heading is missing. It is visible in edit mode, however. Is that intentional?

It seems to be intentional for maximum compactness. It was the first thing that threw me off, because in a dark theme, it kindof looks like the services table is part of the widget above.

July 28, 2026, 09:03:25 AM #47 Last Edit: July 28, 2026, 04:26:14 PM by opnsenseuser
so i changed the colors again, because this didn´t fit.

but the service widget needs the header i think

it would look like this with the header for vicuna and cicada

only the alert service´s are in red.

I find that it doesn't look so cluttered in terms of color, and appears calmer.

Request: https://github.com/opnsense/plugins/pull/5584
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

I think the service widgets should have a unified design, if only for the sake of clarity.

Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

Quote from: opnsenseuser on July 28, 2026, 09:03:25 AMI find that it doesn't look so cluttered in terms of color, and appears calmer.

Agreed. It's still not following the UX of the other widgets (where there's a LED-like icon to show the status of the "thing"), but as a compromise between compactness and visual appeal, this does look a lot better to me...

July 28, 2026, 09:58:13 AM #50 Last Edit: July 28, 2026, 09:59:49 AM by opnsenseuser
Quote from: dseven on July 28, 2026, 08:42:47 AM
Quote from: opnsenseuser on July 28, 2026, 08:25:04 AMthe service widget's heading is missing. It is visible in edit mode, however. Is that intentional?

It seems to be intentional for maximum compactness. It was the first thing that threw me off, because in a dark theme, it kindof looks like the services table is part of the widget above.

That doesn't make sense to me. Because when I look at the WOL widget, it takes up just as much space as the service widget ;-)
But that's a line break problem.
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

July 28, 2026, 10:07:01 AM #51 Last Edit: July 28, 2026, 10:27:46 AM by opnsenseuser
The DHCP widget could also save a considerable amount of vertical space if the IP address and hostname were on the same line instead of separated.
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

July 28, 2026, 10:20:08 AM #52 Last Edit: July 28, 2026, 10:31:08 AM by opnsenseuser
would be a simple solution for the dhcp widget.
It would all be in one line, much clearer and tidier, and above all, more space-saving.

see screenshot

There are other widgets too, that could be optimized in terms of space.
But it's quite clear to me that the service widget needs a heading.
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

July 28, 2026, 10:58:59 AM #53 Last Edit: July 28, 2026, 11:22:47 AM by dseven
Quote from: opnsenseuser on July 28, 2026, 10:20:08 AMIt would all be in one line, much clearer and tidier, and above all, more space-saving.

I suspect (don't know) that they went after the Services widget first because it was the biggest offender in terms of space wastage (you'd typically have a lot more Services than you'd have DHCP networks, etc.).

To properly align all the widget columns horizontally, you would need to use either JavaScript or different CSS classes, since the widgets have varying numbers of columns. However, it is possible and could save a lot of space.
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)

Quote from: opnsenseuser on July 28, 2026, 10:07:01 AMThe DHCP widget could also save a considerable amount of vertical space if the IP address and hostname were on the same line instead of separated.
The wasted space needs to removed on this one :

And then it's fine IMHO :)

This :

Is not a real improvement when it comes to the wasted vertical space ;(
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

I'd like to see an option to exclude static leases for the Kea dashboard widget.

I have an Ultrwide monitor so my columns might be slightly larger than yours but my Kea DHCP Widget already lists the Devices and IPs side by side.

Quote from: nero355 on July 28, 2026, 05:30:17 PMThe wasted space needs to removed on this one :

And then it's fine IMHO :)
AhnHEL (Angel)

Today at 02:59:16 AM #58 Last Edit: Today at 03:11:34 AM by drosophila
At least the text is readable entirely, contrary to the ddns widget, which should use the full line for the IP instead of only the first column, and also should line-break the IP if it doesn't fit, like it does with the update time (compare how the "fe" (and all following hextets) is cut off while the "AM" is moved into the next line). The description "Current IP" could be put into the same line if it would line-break, to possibly save one line.
It seems to not have been used with IPv6 much yet. :)

If you stretch the individual widget to make it wider, the row also shifts upwards.
Supermicro A2SDi-4C-HLN4F
Team Rebellion Member (sidebar / themes: tukan, cicada & vicuna)