public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared
@ 2023-05-09  7:56 Aaron Lauterer
  2023-05-09  8:29 ` Lukas Wagner
  2023-08-21  8:48 ` Fiona Ebner
  0 siblings, 2 replies; 4+ messages in thread
From: Aaron Lauterer @ 2023-05-09  7:56 UTC (permalink / raw)
  To: pve-devel

To hopefully reduce confusion what the 'shared' checkbox does.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---

I saw it one time too many where users were a bit confused as to what
this checkbox is for. Since we have a hard time to find a better label,
maybe we want to put a small hint below it?

The phrasing can probably be improved upon. But I think having something
there that can hopefully explain it enough, transporting that the
sharing itself needs to be configured beforehand by the user, would help.

 www/manager6/storage/DirEdit.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
index 7e9ec44d..8c6f868a 100644
--- a/www/manager6/storage/DirEdit.js
+++ b/www/manager6/storage/DirEdit.js
@@ -31,6 +31,10 @@ Ext.define('PVE.storage.DirInputPanel', {
 		uncheckedValue: 0,
 		fieldLabel: gettext('Shared'),
 	    },
+	    {
+		xtype: 'displayfield',
+		value: gettext('Enable if the path is a location that is shared between the nodes in the cluster.'),
+	    },
 	];
 
 	me.callParent();
-- 
2.30.2





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared
  2023-05-09  7:56 [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared Aaron Lauterer
@ 2023-05-09  8:29 ` Lukas Wagner
  2023-08-21  8:48 ` Fiona Ebner
  1 sibling, 0 replies; 4+ messages in thread
From: Lukas Wagner @ 2023-05-09  8:29 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

Hi!

On 5/9/23 09:56, Aaron Lauterer wrote:
> To hopefully reduce confusion what the 'shared' checkbox does.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> 
> I saw it one time too many where users were a bit confused as to what
> this checkbox is for. Since we have a hard time to find a better label,
> maybe we want to put a small hint below it?
> 
> The phrasing can probably be improved upon. But I think having something
> there that can hopefully explain it enough, transporting that the
> sharing itself needs to be configured beforehand by the user, would help.
> 
>   www/manager6/storage/DirEdit.js | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
> index 7e9ec44d..8c6f868a 100644
> --- a/www/manager6/storage/DirEdit.js
> +++ b/www/manager6/storage/DirEdit.js
> @@ -31,6 +31,10 @@ Ext.define('PVE.storage.DirInputPanel', {
>   		uncheckedValue: 0,
>   		fieldLabel: gettext('Shared'),
>   	    },
> +	    {
> +		xtype: 'displayfield',
> +		value: gettext('Enable if the path is a location that is shared between the nodes in the cluster.'),
> +	    },
>   	];
>   
>   	me.callParent();

The wording is fine, but I think a tooltip instead of a displayfield would be better.
Also, don't forget that the 'shared' flag also exists for LVM storage.

As a side note, the documentation does not really explain the flag at all. I think
one short paragraph on the effects of this flag and when/how to use it would not hurt.

Cheers,
-- 
- Lukas




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared
  2023-05-09  7:56 [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared Aaron Lauterer
  2023-05-09  8:29 ` Lukas Wagner
@ 2023-08-21  8:48 ` Fiona Ebner
  2023-08-21 10:03   ` Aaron Lauterer
  1 sibling, 1 reply; 4+ messages in thread
From: Fiona Ebner @ 2023-08-21  8:48 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

Am 09.05.23 um 09:56 schrieb Aaron Lauterer:
> To hopefully reduce confusion what the 'shared' checkbox does.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> 
> I saw it one time too many where users were a bit confused as to what
> this checkbox is for. Since we have a hard time to find a better label,
> maybe we want to put a small hint below it?
> 
> The phrasing can probably be improved upon. But I think having something
> there that can hopefully explain it enough, transporting that the
> sharing itself needs to be configured beforehand by the user, would help.
> 
>  www/manager6/storage/DirEdit.js | 4 ++++

While directory certainly is the most common one, adding a similar hint
for LVM might also be worth it.

>  1 file changed, 4 insertions(+)
> 
> diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
> index 7e9ec44d..8c6f868a 100644
> --- a/www/manager6/storage/DirEdit.js
> +++ b/www/manager6/storage/DirEdit.js
> @@ -31,6 +31,10 @@ Ext.define('PVE.storage.DirInputPanel', {
>  		uncheckedValue: 0,
>  		fieldLabel: gettext('Shared'),
>  	    },
> +	    {
> +		xtype: 'displayfield',

Might be better as a tooltip or do you think that's not prominent enough?

> +		value: gettext('Enable if the path is a location that is shared between the nodes in the cluster.'),

With regards to phrasing: maybe "Enable if the underlying file system is
already shared between nodes"?

> +	    },
>  	];
>  
>  	me.callParent();




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared
  2023-08-21  8:48 ` Fiona Ebner
@ 2023-08-21 10:03   ` Aaron Lauterer
  0 siblings, 0 replies; 4+ messages in thread
From: Aaron Lauterer @ 2023-08-21 10:03 UTC (permalink / raw)
  To: Fiona Ebner, Proxmox VE development discussion

I'll send a v2 with tooltips and for LVM as well.

On 8/21/23 10:48, Fiona Ebner wrote:
> Am 09.05.23 um 09:56 schrieb Aaron Lauterer:
>> To hopefully reduce confusion what the 'shared' checkbox does.
>>
>> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
>> ---
>>
>> I saw it one time too many where users were a bit confused as to what
>> this checkbox is for. Since we have a hard time to find a better label,
>> maybe we want to put a small hint below it?
>>
>> The phrasing can probably be improved upon. But I think having something
>> there that can hopefully explain it enough, transporting that the
>> sharing itself needs to be configured beforehand by the user, would help.
>>
>>   www/manager6/storage/DirEdit.js | 4 ++++
> 
> While directory certainly is the most common one, adding a similar hint
> for LVM might also be worth it.

Good idea!

> 
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/www/manager6/storage/DirEdit.js b/www/manager6/storage/DirEdit.js
>> index 7e9ec44d..8c6f868a 100644
>> --- a/www/manager6/storage/DirEdit.js
>> +++ b/www/manager6/storage/DirEdit.js
>> @@ -31,6 +31,10 @@ Ext.define('PVE.storage.DirInputPanel', {
>>   		uncheckedValue: 0,
>>   		fieldLabel: gettext('Shared'),
>>   	    },
>> +	    {
>> +		xtype: 'displayfield',
> 
> Might be better as a tooltip or do you think that's not prominent enough?

Both work for me. From a UI perspective, the tooltip is surely better. The 
downside is, that users might not notice it.

> 
>> +		value: gettext('Enable if the path is a location that is shared between the nodes in the cluster.'),
> 
> With regards to phrasing: maybe "Enable if the underlying file system is
> already shared between nodes"?
> 
Sounds better than the first iteration.
>> +	    },
>>   	];
>>   
>>   	me.callParent();




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-21 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09  7:56 [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared Aaron Lauterer
2023-05-09  8:29 ` Lukas Wagner
2023-08-21  8:48 ` Fiona Ebner
2023-08-21 10:03   ` Aaron Lauterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal