OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: cookiemonster on October 09, 2024, 11:36:05 AM

Title: Should the Services widget match service names to plugin names
Post by: cookiemonster on October 09, 2024, 11:36:05 AM
Hello.
Version    24.7.5_3
It might have been asked already when transitioning to OPN 24 series and new dashboard, if so apologies.
I find the Services widget when adding services to show, do not seem to match the services on the left-hand side that are used when configuring them.
Examples:
- Widget: Reverse Proxy and Web Server
I have os-nginx installed and enabled. I imagine this is what the widget is refering to.

- Widget: ddclient
I have both Dynamic DNS and Dynamic DNS (Legacy) installed. Only the new one enabled, result of preparation for deprecation.
Neither match the entry in the widget listing.

This is only cosmetic lack of consistency and the new dashboard is actually nice.
So is a question really, are we expecing them to match or is this how is designed to be?
Title: Re: Should the Services widget match service names to plugin names
Post by: Monviech (Cedrik) on October 09, 2024, 01:20:30 PM
There's a difference in where this data comes from.

Here's the example with Nginx:

https://github.com/opnsense/plugins/blob/f25a1fa6d54ef53339ab02685ecaf53a8fa5fcbb/www/nginx/src/opnsense/mvc/app/models/OPNsense/Nginx/Menu/Menu.xml#L3

https://github.com/opnsense/plugins/blob/f25a1fa6d54ef53339ab02685ecaf53a8fa5fcbb/www/nginx/src/etc/inc/plugins.inc.d/nginx.inc#L58

So its in the responsibility of each plugin Maintainer.

I for example made sure to use the same descriptions for Caddy:

https://github.com/opnsense/plugins/blob/f25a1fa6d54ef53339ab02685ecaf53a8fa5fcbb/www/caddy/src/opnsense/mvc/app/models/OPNsense/Caddy/Menu/Menu.xml#L3

https://github.com/opnsense/plugins/blob/f25a1fa6d54ef53339ab02685ecaf53a8fa5fcbb/www/caddy/src/etc/inc/plugins.inc.d/caddy.inc#L59
Title: Re: Should the Services widget match service names to plugin names
Post by: cookiemonster on October 09, 2024, 01:49:07 PM
Ok thanks Monviech. One for plugin maintainers. Got it.