public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Lukas Wagner" <l.wagner@proxmox.com>
To: "Proxmox Datacenter Manager development discussion"
	<pdm-devel@lists.proxmox.com>
Subject: [pdm-devel] supersede: [PATCH proxmox-yew-comp] task description: use hyphen (-) between the id and the action
Date: Fri, 19 Dec 2025 13:41:35 +0100	[thread overview]
Message-ID: <DF278Y104M4C.1X3BPAOLXFJ9M@proxmox.com> (raw)
In-Reply-To: <20251217145323.282432-1-l.wagner@proxmox.com>

On Wed Dec 17, 2025 at 3:53 PM CET, Lukas Wagner wrote:
> This way it matches the way we render task descriptions in the JS code.
> For instance, PBS GC tasks are now rendered as
>
>   "Datastore store2 - Garbage Collect"
>
> instead of
>
>   "Datastore store2 Garbage Collect"
>
> Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
> ---
>  src/utils/mod.rs | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/utils/mod.rs b/src/utils/mod.rs
> index 856297f..ca40fa3 100644
> --- a/src/utils/mod.rs
> +++ b/src/utils/mod.rs
> @@ -184,7 +184,7 @@ impl<A: Display, B: Display> IntoTaskDescriptionRenderFn for (A, B) {
>          let action = self.1.to_string();
>          Box::new(move |_, id| {
>              format!(
> -                "{} {} {}",
> +                "{} {} - {}",
>                  task_type,
>                  id.as_deref().unwrap_or("unknown"),
>                  action

superseded:

https://lore.proxmox.com/all/20251219124031.223144-1-l.wagner@proxmox.com/T/#u


_______________________________________________
pdm-devel mailing list
pdm-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel


      reply	other threads:[~2025-12-19 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-17 14:53 [pdm-devel] " Lukas Wagner
2025-12-19 12:41 ` Lukas Wagner [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=DF278Y104M4C.1X3BPAOLXFJ9M@proxmox.com \
    --to=l.wagner@proxmox.com \
    --cc=pdm-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