all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Thomas Lamprecht" <t.lamprecht@proxmox.com>,
	<pdm-devel@lists.proxmox.com>
Subject: Re: [PATCH 5/8] ui: add subscription registry with key pool and node status
Date: Thu, 07 May 2026 10:15:13 +0200	[thread overview]
Message-ID: <DICAMQ2K4TQ4.240ZOQDYGEEDK@proxmox.com> (raw)
In-Reply-To: <20260507072436.2649563-6-t.lamprecht@proxmox.com>

On Thu May 7, 2026 at 9:17 AM CEST, Thomas Lamprecht wrote:
> +
> +    fn toolbar(&self, ctx: &LoadableComponentContext<Self>) -> Option<Html> {
> +        let link = ctx.link();
> +        Some(
> +            Toolbar::new()
> +                .border_bottom(true)
> +                .with_child(
> +                    Button::new(tr!("Auto-Assign"))
> +                        .icon_class("fa fa-magic")
> +                        .on_activate(link.callback(|_| Msg::AutoAssignPreview)),
> +                )
> +                .with_spacer()
> +                .with_child(
> +                    Button::new(tr!("Apply Pending"))
> +                        .icon_class("fa fa-play")
> +                        .on_activate(link.callback(|_| Msg::ApplyPending)),
> +                )
> +                .with_child(
> +                    Button::new(tr!("Clear Pending"))
> +                        .icon_class("fa fa-eraser")
> +                        .on_activate(
> +                            link.change_view_callback(|_| Some(ViewState::ConfirmClearPending)),
> +                        ),
> +                )
> +                .with_flex_spacer()
> +                .with_child(
> +                    Button::refresh(ctx.loading()).on_activate({

note: this must be self.loading(), not ctx.loading(), otherwise this
does not compile

> +                        let link = link.clone();
> +                        move |_| link.send_reload()
> +                    }),
> +                )
> +                .into(),
> +        )
> +    }
> +




  reply	other threads:[~2026-05-07  8:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-07  7:17 [PATCH 0/8] subscription: add central key pool registry with reissue support Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 1/8] api: subscription cache: ensure max_age=0 forces a fresh fetch Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 2/8] api types: subscription level: render full names Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 3/8] subscription: add key pool data model and config layer Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 4/8] subscription: add key pool and node status API endpoints Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 5/8] ui: add subscription registry with key pool and node status Thomas Lamprecht
2026-05-07  8:15   ` Lukas Wagner [this message]
2026-05-07  8:33     ` Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 6/8] cli: add subscription key pool management subcommands Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 7/8] docs: add subscription registry chapter Thomas Lamprecht
2026-05-07  7:17 ` [PATCH 8/8] subscription: add Reissue Key action with pending-reissue queue Thomas Lamprecht
2026-05-07  7:50   ` Lukas Wagner
2026-05-07  8:38 ` superseded: [PATCH 0/8] subscription: add central key pool registry with reissue support 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=DICAMQ2K4TQ4.240ZOQDYGEEDK@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pdm-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 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