[pve-devel] [PATCH manager v2] ui: DirEdit: LVMEdit: add hint when to enable shared

Aaron Lauterer a.lauterer at proxmox.com
Tue Oct 10 15:19:28 CEST 2023



On 10/10/23 15:06, Fiona Ebner wrote:
> Am 21.08.23 um 12:06 schrieb Aaron Lauterer:
>> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
>> ---
>>   www/manager6/storage/DirEdit.js | 4 ++++
>>   www/manager6/storage/LVMEdit.js | 4 ++++
>>   2 files changed, 8 insertions(+)
>>
>> diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
>> index 7e9ec44d..8469a7c3 100644
>> --- a/www/manager6/storage/DirEdit.js
>> +++ b/www/manager6/storage/DirEdit.js
>> @@ -30,6 +30,10 @@ Ext.define('PVE.storage.DirInputPanel', {
>>   		name: 'shared',
>>   		uncheckedValue: 0,
>>   		fieldLabel: gettext('Shared'),
>> +		autoEl: {
>> +		    tag: 'div',
>> +		    'data-qtip': gettext('Enable if the underlying file system is already shared between nodes.'),
>> +		}
> 
> eslint complains about missing trailing comma

hmm, when did that happen... now it does it too for me. Will send another version with it fixed.
> 
>>   	    },
>>   	];
>>   
>> diff --git a/www/manager6/storage/LVMEdit.js b/www/manager6/storage/LVMEdit.js
>> index 75c7bdb8..0d9efd21 100644
>> --- a/www/manager6/storage/LVMEdit.js
>> +++ b/www/manager6/storage/LVMEdit.js
>> @@ -227,6 +227,10 @@ Ext.define('PVE.storage.LVMInputPanel', {
>>   	    name: 'shared',
>>   	    uncheckedValue: 0,
>>   	    fieldLabel: gettext('Shared'),
>> +	    autoEl: {
>> +		tag: 'div',
>> +		'data-qtip': gettext('Enable if the LVM is located on a shared LUN.'),
>> +	    }
> 
> eslint complains about missing trailing comma
> 
>>   	},
>>       ],
>>   });
> 
> With those fixed:
> Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>





More information about the pve-devel mailing list