all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Daniel Kral" <d.kral@proxmox.com>
To: "Michael Köppl" <m.koeppl@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH manager 05/18] ui: form/CRSOptions: allow auto rebalancing only for static and dynamic mode
Date: Tue, 14 Apr 2026 09:18:11 +0200	[thread overview]
Message-ID: <DHSP0J5PP17D.3FWN1RI3CRU9Y@proxmox.com> (raw)
In-Reply-To: <DHS5IWULCJGP.3NEVHAEMGHOE0@proxmox.com>

On Mon Apr 13, 2026 at 6:01 PM CEST, Michael Köppl wrote:
> On Thu Apr 9, 2026 at 1:41 PM CEST, Daniel Kral wrote:
>
> [snip]
>
>> @@ -42,14 +46,15 @@ Ext.define('PVE.form.CRSOptions', {
>>                      name: 'ha',
>>                      fieldLabel: gettext('Scheduling Mode'),
>>                      deleteEmpty: false,
>> -                    value: '__default__',
>>                      comboItems: [
>>                          ['__default__', Proxmox.Utils.defaultText + ' (basic)'],
>>                          ['basic', gettext('Basic (Resource Count)')],
>>                          ['static', gettext('Static Load')],
>>                          ['dynamic', gettext('Dynamic Load')],
>>                      ],
>> -                    defaultValue: '__default__',
>> +                    bind: {
>> +                        value: '{crsMode}',
>> +                    },
>>                  },
>>                  {
>>                      xtype: 'proxmoxcheckbox',
>> @@ -67,6 +72,7 @@ Ext.define('PVE.form.CRSOptions', {
>>                      boxLabel: gettext('Automatically rebalance HA resources'),
>>                      bind: {
>>                          value: '{autoRebalancing}',
>> +                        disabled: '{!canUseAutoRebalancing}',
>
> not a big deal, but wanted to mention it nonetheless: if a user selects
> e.g. static mode and enables auto rebalancing and then later switches to
> basic mode, the checkbox remains checked visually, but the value is
> still set to false once submitted. It's just a cosmetic issue, but
> something I noticed during my testing.

Thanks for the feedback!

I thought about this too, but it also felt a little bit odd if a user
flicks through the scheduling modes and the auto rebalancing fields get
wiped every time the user goes to the default/basic scheduling mode...

Maybe a compromise is to completely hide those options alltogether, so
that the value isn't seen at all? Though that would hide the
functionality and it isn't the most obvious that one needs to select
'static' or 'dynamic' to get the auto rebalancing options.

>
>>                      },
>>                  },
>>                  {





  reply	other threads:[~2026-04-14  7:17 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 11:41 [PATCH-SERIES manager/docs 00/18] crs docs updates + load balancer ui and docs followup Daniel Kral
2026-04-09 11:41 ` [PATCH manager 01/18] ui: form/CRSOptions: add missing edit modal title Daniel Kral
2026-04-09 11:41 ` [PATCH manager 02/18] ui: form/CRSOptions: rename HA Scheduling to Scheduling Mode Daniel Kral
2026-04-09 11:41 ` [PATCH manager 03/18] ui: form/CRSOptions: replace HA service term with HA resource Daniel Kral
2026-04-09 11:41 ` [PATCH manager 04/18] ui: form/CRSOptions: use view model for auto rebalancing option Daniel Kral
2026-04-09 11:41 ` [PATCH manager 05/18] ui: form/CRSOptions: allow auto rebalancing only for static and dynamic mode Daniel Kral
2026-04-13 16:01   ` Michael Köppl
2026-04-14  7:18     ` Daniel Kral [this message]
2026-04-14  7:32       ` Michael Köppl
2026-04-14  7:39         ` Daniel Kral
2026-04-09 11:41 ` [PATCH docs 06/18] ha-manager: crs: replace service term with HA resource Daniel Kral
2026-04-09 11:41 ` [PATCH docs 07/18] ha-manager: crs: remove note about manual changes to datacenter config Daniel Kral
2026-04-10  8:17   ` Shannon Sterz
2026-04-10 11:18     ` Daniel Kral
2026-04-10 11:37       ` Shannon Sterz
2026-04-09 11:41 ` [PATCH docs 08/18] ha-manager: crs: improve introduction Daniel Kral
2026-04-09 11:41 ` [PATCH docs 09/18] ha-manager: crs: introduce crs scheduling mode section Daniel Kral
2026-04-09 11:41 ` [PATCH docs 10/18] ha-manager: crs: generalize the description for basic and static load modes Daniel Kral
2026-04-09 11:41 ` [PATCH docs 11/18] ha-manager: crs: remove HA group config from scheduling points list Daniel Kral
2026-04-09 11:41 ` [PATCH docs 12/18] ha-manager: crs: use headings for the scheduling points Daniel Kral
2026-04-13 15:52   ` Michael Köppl
2026-04-09 11:41 ` [PATCH docs 13/18] ha-manager: crs: reword the rebalance on start scheduling point Daniel Kral
2026-04-13 15:53   ` Michael Köppl
2026-04-09 11:41 ` [PATCH docs 14/18] ha-manager: crs: add more information about rebalance on start in its section Daniel Kral
2026-04-09 11:41 ` [PATCH docs 15/18] ha-manager: crs: change crs modes to include all active guests Daniel Kral
2026-04-09 11:41 ` [PATCH docs 16/18] ha-manager: crs: add dynamic load scheduler Daniel Kral
2026-04-09 11:41 ` [PATCH docs 17/18] screenshots: update crs datacenter options screenshot Daniel Kral
2026-04-09 11:41 ` [PATCH docs 18/18] ha-manager: crs: add load balancer section Daniel Kral
2026-04-13 16:11   ` Michael Köppl
2026-04-14 12:03   ` Dominik Rusovac
2026-04-13 16:11 ` [PATCH-SERIES manager/docs 00/18] crs docs updates + load balancer ui and docs followup Michael Köppl
2026-04-14  7:24   ` Daniel Kral
2026-04-15  9:19 ` superseded: " Daniel Kral

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=DHSP0J5PP17D.3FWN1RI3CRU9Y@proxmox.com \
    --to=d.kral@proxmox.com \
    --cc=m.koeppl@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