public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Hannes Laimer <h.laimer@proxmox.com>
To: "Michael Köppl" <m.koeppl@proxmox.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH proxmox-backup v8 11/13] ui: add move group action
Date: Thu, 23 Apr 2026 15:47:15 +0200	[thread overview]
Message-ID: <4271de9a-e4d6-42c4-82e4-da7d26133131@proxmox.com> (raw)
In-Reply-To: <DI0KOFVRM077.1AQX8YC29DO3J@proxmox.com>

On 2026-04-23 15:34, Michael Köppl wrote:
> On Wed Apr 22, 2026 at 3:39 PM CEST, Hannes Laimer wrote:
> 
> [snip]
> 
>> +    items: {
>> +        xtype: 'inputpanel',
>> +        onGetValues: function (values) {
>> +            let win = this.up('window');
>> +            let result = {
>> +                'backup-type': win.backupType,
>> +                'backup-id': win.backupId,
>> +                'target-ns': values['target-ns'] || '',
>> +            };
>> +            if (win.namespace && win.namespace !== '') {
>> +                result.ns = win.namespace;
>> +            }
>> +            if (values['merge-group'] !== undefined) {
>> +                result['merge-group'] = values['merge-group'];
>> +            }
> 
> when I uncheck the "Merge Group" checkbox, the `merge-group` param is
> not set in the request. since the default value in the backend is
> `true`, merging is still attempted.
> 

right, good catch! should just use `delete_if_default(.., true)`

>> +            return result;
>> +        },
>> +        items: [
>> +            {
>> +                xtype: 'displayfield',
>> +                fieldLabel: gettext('Group'),
>> +                cbind: {
>> +                    value: '{group}',
>> +                },
> 
> [snip]





  reply	other threads:[~2026-04-23 13:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 13:39 [PATCH proxmox-backup v8 00/13] fixes #6195: add support for moving groups and namespaces Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 01/13] ui: show empty groups Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 02/13] datastore: lift check_namespace_depth_limit to pbs-datastore Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 03/13] datastore: have BackupGroup::destroy consume the group lock Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 04/13] datastore: split remove_namespace into flat and recursive variants Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 05/13] datastore: add move journal for coordinating with gc phase 1 Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 06/13] datastore: add move-group Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 07/13] datastore: add move-namespace Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 08/13] docs: add section on moving namespaces and groups Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 09/13] api: add POST endpoint for move-group Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 10/13] api: add POST endpoint for move-namespace Hannes Laimer
2026-04-22 13:39 ` [PATCH proxmox-backup v8 11/13] ui: add move group action Hannes Laimer
2026-04-23 13:35   ` Michael Köppl
2026-04-23 13:47     ` Hannes Laimer [this message]
2026-04-22 13:39 ` [PATCH proxmox-backup v8 12/13] ui: add move namespace action Hannes Laimer
2026-04-23 14:49   ` Michael Köppl
2026-04-22 13:39 ` [PATCH proxmox-backup v8 13/13] cli: add move-namespace and move-group commands Hannes Laimer
2026-04-23 16:29 ` [PATCH proxmox-backup v8 00/13] fixes #6195: add support for moving groups and namespaces Michael Köppl
2026-04-23 22:38 ` applied: " Thomas Lamprecht
2026-04-24  8:31   ` Fabian Grünbichler
2026-04-24  8:43     ` Hannes Laimer

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=4271de9a-e4d6-42c4-82e4-da7d26133131@proxmox.com \
    --to=h.laimer@proxmox.com \
    --cc=m.koeppl@proxmox.com \
    --cc=pbs-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