From: "Dominik Rusovac" <d.rusovac@proxmox.com>
To: "Dominik Rusovac" <d.rusovac@proxmox.com>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH manager v2] ui: ha: add disarm/re-arm button
Date: Thu, 16 Apr 2026 13:21:47 +0200 [thread overview]
Message-ID: <DHUJG4UP2KCB.ABUKKCHKBOTS@proxmox.com> (raw)
In-Reply-To: <20260415064118.33290-1-d.rusovac@proxmox.com>
Superseded-by: https://lore.proxmox.com/pve-devel/20260416112033.148589-1-d.rusovac@proxmox.com/T/#u
On Wed Apr 15, 2026 at 8:41 AM CEST, Dominik Rusovac wrote:
> The button to disarm HA in either of the resource modes ('freeze' or
> 'ignore') is disabled as long as HA is disarmed. Analogously, the button
> to arm HA is disabled as long as HA is not disarmed.
>
> The icons ('unlink' and 'link') are chosen to emphasize that "Disarm HA"
> and "Arm HA" are complements. There may be more suitable pairs of icons
> though.
>
> Signed-off-by: Dominik Rusovac <d.rusovac@proxmox.com>
> ---
> changes since v1:
> * use camel case for function names
> * choose clearer parameter: 'comp' -> 'menuItem'
> * choose clearer function names:
> - 'disarm' -> 'handleDisarmButton'
> - 'rearm' -> 'handleArmButton'
> * deduplicate translation keys
> * use same translation keys as for menu items
> * remove obsolete 'params'
> * change button text "Re-arm HA" to "Arm HA"
> * remove extra new-line
>
> www/manager6/ha/Status.js | 104 ++++++++++++++++++++++++++++++++++
> www/manager6/ha/StatusView.js | 8 +++
> 2 files changed, 112 insertions(+)
>
[snip]
prev parent reply other threads:[~2026-04-16 11:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-15 6:41 Dominik Rusovac
2026-04-15 7:34 ` Daniel Kral
2026-04-15 12:32 ` Dominik Csapak
2026-04-15 13:32 ` Dominik Rusovac
2026-04-15 14:18 ` Dominik Csapak
2026-04-16 5:58 ` Dominik Rusovac
2026-04-16 7:33 ` Daniel Kral
2026-04-16 9:20 ` Thomas Lamprecht
2026-04-16 9:59 ` Daniel Kral
2026-04-16 11:21 ` Dominik Rusovac [this message]
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=DHUJG4UP2KCB.ABUKKCHKBOTS@proxmox.com \
--to=d.rusovac@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox