From: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
To: Thomas Lamprecht <t.lamprecht@proxmox.com>,
Proxmox VE development discussion <pve-devel@lists.proxmox.com>
Subject: Re: [pve-devel] applied: [PATCH manager v2] fix #3994: Options menu entry in the System menu
Date: Fri, 13 May 2022 09:55:17 +0200 [thread overview]
Message-ID: <56094244-2673-e153-7945-2063767cd189@proxmox.com> (raw)
In-Reply-To: <1390d06b-f06a-2518-8d99-5cb074abb9f2@proxmox.com>
On 5/12/22 17:13, Thomas Lamprecht wrote:
> Am 5/6/22 um 14:39 schrieb Daniel Tschlatscher:
>> Add the subentry "Options" in the "System" menu to expose some options
>> in the GUI which were not exposed before.
>>
>> Added a new file for displaying and editing the node config options
>> which were not exposed through the GUI yet. Namely those are the
>> settings for wakeonlan and startall-on-boot-delay. Edited the Makefile
>> to include the newly created file.
>>
>> Signed-off-by: Daniel Tschlatscher <d.tschlatscher@proxmox.com>
>> ---
>> Changes from v2:
>>
>> - Moved the file from the widget-toolkit to the pve-manager repository
>> because it implements PVE specific functionality.
>> - I originally rewrote this class to use a ViewController, but then
>> found out that the ObjectGrid does most of what I wanted already, I
>> just had to address it correctly.
>> This means the code is now a bit shorter and a lot more concise.
>>
>> www/manager6/Makefile | 1 +
>> www/manager6/node/Config.js | 9 ++++
>> www/manager6/node/NodeOptionsView.js | 67 ++++++++++++++++++++++++++++
>> 3 files changed, 77 insertions(+)
>> create mode 100644 www/manager6/node/NodeOptionsView.js
>>
>>
> applied, thanks!
>
> I moved it one item below, as IMO DNS and Host are too related to be split by some
> general "Options" navigation entry.
>
> Some other points to improve:
>
> - setting the online help, maybe to 'proxmox_node_management' which would make
> it point to:
> https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#proxmox_node_management
> (the chapter could maybe do good with some addition w.r.t. first start delay
This sounds to me like a suggestion to set the online help for the
panel, i.e. the
button in the top right corner. But that's already included in the patch.
Or are you suggesting to put it somewhere else too?
>
> - It's not clear what unit the start delay has, you could mention that explicitly,
> simplest way to do so is adding a ' (s)' to the fieldLabel after the gettext.
The field does not display a value while displaying Default, though it
explicitly states
'Seconds' after any value is set. I think it would become very clear to
anybody then
what unit this setting represents.
Still, adding ' (s)' probably wouldn't kill me either. 😉
>
> - Wake on LAN could do with a "Local MAC Address" emptyText, combined with the
> onlineHelp button it should then be clear enough.
That's a very good suggestion, I will look into it.
>
> can you please look into those?
>
> FYI and not directly related:
> if we ever expose the vzdump.conf options over GUI I'd also add them here in this
> panel, as subpanel; would be a good use of all that empty space ;-)
Noted.
next prev parent reply other threads:[~2022-05-13 7:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-06 12:39 [pve-devel] " Daniel Tschlatscher
2022-05-11 12:27 ` Markus Frank
2022-05-12 15:13 ` [pve-devel] applied: " Thomas Lamprecht
2022-05-13 7:55 ` Daniel Tschlatscher [this message]
2022-05-13 8:00 ` Thomas Lamprecht
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=56094244-2673-e153-7945-2063767cd189@proxmox.com \
--to=d.tschlatscher@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
--cc=t.lamprecht@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