[pve-devel] [PATCH manager v17 10/10] ui: add options to add virtio-fs to qemu config
Dominik Csapak
d.csapak at proxmox.com
Tue Apr 8 08:54:45 CEST 2025
On 4/8/25 00:42, Thomas Lamprecht wrote:
> Am 07.04.25 um 15:49 schrieb Markus Frank:
>> + {
>> + xtype: 'displayfield',
>> + userCls: 'pmx-hint',
>> + value: gettext('Directory Mappings can be managed under Datacenter -> Directory Mappings'),
>> + },
>
> Hints can be OK, but in the end they are always some form of
> admission of bad UX, as said often OK as they at least slightly
> improve the status quo, not everything can be perfected. But, if
> they can be replaced by some actionable feature, then doing so is
> always better.
>
> Here we e.g. could replace the hint with showing a simple
> "Goto <directory mapping management>" below the field that is a link
> to the respective datacenter option tab.
>
> @Dominik: didn't we have a function or use-site of something like
> this already? I had the StateProvider in mind, but nothing very
> obvious (albeit it would have the info required to assemble the link
> I guess).
yes, i think you mean this:
---
click: function() {
Ext.state.Manager.getProvider().set('dctab', { value: 'ceph' }, true);
},
---
where we link to the ceph panel from the datacenter summary in www/manager6/dc/Health.js
More information about the pve-devel
mailing list