From: "Max R. Carrara" <m.carrara@proxmox.com>
To: "Ciro Iriarte" <cyruspy@gmail.com>
Cc: pve-devel@lists.proxmox.com
Subject: Re: [PATCH common/manager/proxmox-widget-toolkit/storage v2 00/17] GUI Support for Custom Storage Plugins
Date: Tue, 21 Jul 2026 11:24:10 +0200 [thread overview]
Message-ID: <DK452DJH10AL.3C30S3R5T4MJJ@proxmox.com> (raw)
In-Reply-To: <6a5bc3b4.481afadf.9e047.5039@mx.google.com>
On Sat Jul 18, 2026 at 8:19 PM CEST, Ciro Iriarte wrote:
> Hi Max,
>
> Since I'm the one who asked for the advanced hint, I should say plainly
> that x-advanced and x-hidden are worth keeping, in case the RFC marking
> makes them look optional.
>
> From a third-party plugin author's side this is the difference between an
> operator seeing a dozen fields with the four that matter buried among
> them, and seeing four fields with a collapsible Advanced section. My
> plugin carries management endpoint, credentials, pool, ldev_range,
> host_group_prefix, control_plane, QoS limits and consistency-group
> options; most deployments touch the endpoint, credentials and pool and
> never look at the rest. Without a hint, every one of those is equally
> prominent, and the hardcoded advanced list can't help since it only knows
> about inbuilt properties.
>
> On patternProperties as the mechanism I have no strong opinion -- that's
> a JSONSchema.pm call and you're better placed to make it. A plain
> allowlist of known x- keywords would serve me identically. My interest is
> only in the capability surviving in some form.
Hi Ciro!
Thanks a lot for your input, it's really valuable for us to know what
custom plugin authors would like to see in that regard.
The x-advanced and x-hidden keywords will definitely survive in one way
or another; if we decide not to go forward with the patternProperties
approach, I'll probably implement them in the same manner as sensitive
properties, that is, being able to specify them in `plugindata()`.
>
> On 'sensitive': I'd expect it in the default schema rather than as an x-
> keyword. It describes a property of the data rather than a UI hint, and
> the ACME case you mentioned suggests it'll have more than one consumer.
Yeah that's a good point, though ideally I'd like to add such a keyword
as part of a custom vocabulary [vocab] instead (or something similar).
In any case, it's bound to stay in one form or another.
>
> On testing: I'll validate against pve-FCLUPlugin once this lands in the
> repo, rather than per-revision while it's still in review -- so expect
> feedback from me after it's merged, not a Tested-by on v2.
ACK, sounds good! Thanks a lot! There shouldn't really be too many
surprises anyway, since the core logic is pretty fleshed out at this
point, I'd say.
>
> Thanks,
> Ciro
- Max
[vocab] https://json-schema.org/draft/2020-12/json-schema-core#name-schema-vocabularies
next prev parent reply other threads:[~2026-07-21 9:24 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 15:49 [PATCH common/manager/proxmox-widget-toolkit/storage v2 00/17] GUI Support for Custom Storage Plugins Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-common v2 01/17] json schema: add multiline string format Max R. Carrara
2026-07-17 15:49 ` [RFC pve-common v2 02/17] jsonschema: support 'patternProperties' and allow 'x-' keywords Max R. Carrara
2026-07-20 12:01 ` Jakob Klocker
2026-07-17 15:49 ` [PATCH pve-storage v2 03/17] api: plugins/storage: add initial routes and endpoints Max R. Carrara
2026-07-20 12:17 ` Jakob Klocker
2026-07-20 12:21 ` Jakob Klocker
2026-07-17 15:49 ` [PATCH pve-storage v2 04/17] api: plugins/storage/plugin: include schema in plugin metadata Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-storage v2 05/17] api: plugins/storage/plugin: mark sensitive properties in schema Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-storage v2 06/17] api: plugins/storage/plugin: factor plugin metadata code into helper Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-storage v2 07/17] api: plugins/storage/plugin: add plugins' 'content' to their metadata Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-storage v2 08/17] all plugins: add 'title' to properties, adapt 'description's Max R. Carrara
2026-07-17 15:49 ` [RFC pve-storage v2 09/17] plugin: mark 'preallocation' and 'content-dirs' properties as advanced Max R. Carrara
2026-07-17 15:49 ` [RFC pve-storage v2 10/17] plugin, dirplugin: mark certain properties as hidden Max R. Carrara
2026-07-17 15:49 ` [PATCH proxmox-widget-toolkit v2 11/17] form: introduce new 'proxmoxtextarea' field Max R. Carrara
2026-07-17 15:49 ` [PATCH proxmox-widget-toolkit v2 12/17] utils: introduce helper function getFieldDefFromPropertySchema Max R. Carrara
2026-07-17 15:49 ` [PATCH proxmox-widget-toolkit v2 13/17] acme: use helper to construct ExtJS fields from property schemas Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-manager v2 14/17] api: add API routes 'plugins' and 'plugins/storage' Max R. Carrara
2026-07-20 12:26 ` Jakob Klocker
2026-07-17 15:49 ` [PATCH pve-manager v2 15/17] ui: storage view: display error when no editor for storage type exists Max R. Carrara
2026-07-17 15:49 ` [PATCH pve-manager v2 16/17] ui: storage: add basic UI integration for custom storage plugins Max R. Carrara
2026-07-17 15:49 ` [RFC pve-manager v2 17/17] ui: storage: use property extension keywords for UI hints Max R. Carrara
2026-07-18 18:19 ` [PATCH common/manager/proxmox-widget-toolkit/storage v2 00/17] GUI Support for Custom Storage Plugins Ciro Iriarte
2026-07-21 9:24 ` Max R. Carrara [this message]
2026-07-20 12:48 ` Jakob Klocker
2026-07-21 9:09 ` Max R. Carrara
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=DK452DJH10AL.3C30S3R5T4MJJ@proxmox.com \
--to=m.carrara@proxmox.com \
--cc=cyruspy@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox