all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Lukas Wagner <l.wagner@proxmox.com>
To: Proxmox VE development discussion <pve-devel@lists.proxmox.com>,
	Aaron Lauterer <a.lauterer@proxmox.com>
Subject: Re: [pve-devel] [RFC manager] ui: DirEdit: add hint when to enable shared
Date: Tue, 9 May 2023 10:29:29 +0200	[thread overview]
Message-ID: <e6b13f5c-91ea-e1e7-375b-4ab64f7e1d2a@proxmox.com> (raw)
In-Reply-To: <20230509075611.884153-1-a.lauterer@proxmox.com>

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




  reply	other threads:[~2023-05-09  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-09  7:56 Aaron Lauterer
2023-05-09  8:29 ` Lukas Wagner [this message]
2023-08-21  8:48 ` Fiona Ebner
2023-08-21 10:03   ` Aaron Lauterer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6b13f5c-91ea-e1e7-375b-4ab64f7e1d2a@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=a.lauterer@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal