public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Roland Kammerer <roland.kammerer@linbit.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] pve-manager/www: API for external plugins?
Date: Thu, 3 Nov 2022 11:28:09 +0100	[thread overview]
Message-ID: <Y2OXuexwf1tv8roV@rck.sh> (raw)

Dear PVE devs,

I'm the maintainer of the linstor-proxmox plugin and thanks to your
storage plugin API we have a strong FLOSS and customer user base. What
would be nice for our users is better integration in the web GUI,
especially in "Datacenter -> Storage -> Add".

I'm not a web dev at all, I just patched in a new entry into
pvemanagerlib.js. From what I see in the Makefile that itself is just
the concatenated version of several .js files. Would it be possible to
have an extra "plugin.js" that then just includes all .js from some
/i/dont/know/plugins/ directory? I also saw that there is at least one
dict that glues things together (storageSchema in Utils.js), so there
probably would be some need to "register" external plugins into these
data structures. And that is where I stop showing my entire lack of web
development knowledge :).

Could you provide some kind of API that allows external plugins to
integrate into the GUI? Or maybe it even exists and I did not see it?

Thanks, rck



             reply	other threads:[~2022-11-03 10:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 10:28 Roland Kammerer [this message]
2022-11-04 13:46 ` Thomas Lamprecht
2022-11-21  8:26   ` Roland Kammerer

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=Y2OXuexwf1tv8roV@rck.sh \
    --to=roland.kammerer@linbit.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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal