* [pve-devel] [PATCH manager] gui: fix firewall security group help button chapter link
@ 2022-11-04 9:18 Daniel Tschlatscher
2022-11-04 9:56 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Tschlatscher @ 2022-11-04 9:18 UTC (permalink / raw)
To: pve-devel
The help button under Datacenter > Firewall > Security Group did not
have the proper help chapter link set.
First reported here:
https://forum.proxmox.com/threads/broken-help-link-in-proxmox-gui.117503/
Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
---
I noticed that the onlineHelp field for our custom classes is
sometimes defined outside of the class, in the Config which defines
the layout of the navigation panel, and sometimes inside of the class
directly.
This time I added it inside the class, as it seems to be the more
commonly used thing. Though, is there any preference for this?
www/manager6/dc/SecurityGroups.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/dc/SecurityGroups.js b/www/manager6/dc/SecurityGroups.js
index 5fb6860d..26172bf3 100644
--- a/www/manager6/dc/SecurityGroups.js
+++ b/www/manager6/dc/SecurityGroups.js
@@ -199,6 +199,7 @@ Ext.define('PVE.SecurityGroups', {
alias: 'widget.pveSecurityGroups',
title: 'Security Groups',
+ onlineHelp: 'pve_firewall_security_groups',
layout: 'border',
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH manager] gui: fix firewall security group help button chapter link
2022-11-04 9:18 [pve-devel] [PATCH manager] gui: fix firewall security group help button chapter link Daniel Tschlatscher
@ 2022-11-04 9:56 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2022-11-04 9:56 UTC (permalink / raw)
To: Proxmox VE development discussion, Daniel Tschlatscher
Am 04/11/2022 um 10:18 schrieb Daniel Tschlatscher:
> The help button under Datacenter > Firewall > Security Group did not
> have the proper help chapter link set.
>
> First reported here:
> https://forum.proxmox.com/threads/broken-help-link-in-proxmox-gui.117503/
>
> Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
> ---
> I noticed that the onlineHelp field for our custom classes is
> sometimes defined outside of the class, in the Config which defines
> the layout of the navigation panel, and sometimes inside of the class
> directly.
> This time I added it inside the class, as it seems to be the more
> commonly used thing. Though, is there any preference for this?
>
meh, not using the class itself directly is mostly relevant for components where
there's either a different docs for different usages, albeit a) that is really
rare and b) that can be overridden too.
So no, basically no difference, and personally I'd say that declaring it in the
class itself keeps related information better together and visible, and thus
easier to keep in sync. The usage declaration in the Config modules should mostly
have properties declared that are relevant for the navigation/tab bar itself, not
the panel that gets shown if the menu/tab entry is actually selected.
>
> www/manager6/dc/SecurityGroups.js | 1 +
> 1 file changed, 1 insertion(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-04 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 9:18 [pve-devel] [PATCH manager] gui: fix firewall security group help button chapter link Daniel Tschlatscher
2022-11-04 9:56 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox