public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: [pmg-devel] applied: [PATCH pmg-gui 1/4] fix #4137: display receiver in attachment/virus quarantine
Date: Sat, 22 Oct 2022 16:30:13 +0200	[thread overview]
Message-ID: <bb62ee52-e8dd-c814-f01b-48551365433c@proxmox.com> (raw)
In-Reply-To: <20221020191500.2414-2-s.ivanov@proxmox.com>

Am 20/10/2022 um 21:14 schrieb Stoiko Ivanov:
> the attachment and virus quarantines contain all quarantined mail for
> all recipients - so we should display which mail is being
> delivered/deleted - mostly if a mail is sent to multiple addresses
> served by the same PMG.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
> ---
> * the naming of the sender_renderer (which actually just adds the sender
>   to the subject it actually renders) was adapted for the function name
>   Probably a different choice for both might be clearer
>   (sender_subject_renderer, sender_receiver_subject_renderer)?> 
>  js/AttachmentQuarantine.js |  4 ++--
>  js/Utils.js                | 23 ++++++++++++++++++-----
>  js/VirusQuarantine.js      |  4 ++--
>  3 files changed, 22 insertions(+), 9 deletions(-)
> 
>

applied, thanks! I made a follow up commit cleaning up the code a bit more,
dropping passing along the metaData to the helper fn if it isn't used yet
anyway (if we really get future direct users we can either just wrap it or
re-add it) and transforming the render fns to arrow functions, with render_
in the prefix of the name.

FWIW, I'm not sure that placing the "To" in a new line in the (previously)
"Sender/Subject" column, but maybe rather just add a additional column and
increase the default width of the quarantine grid in attachment/virus Q,
bonus points if it's responsive for smaller (e.g., < 1600px width) windows
/displays, with full hd and bigger the horizontal space is rather unused
anyway. But, that said, it works OK enough as is, and it isn't affecting the
user facing Quarantine, so I don't care to much; just noticed it and wanted
to mention it, maybe someone has a better idea.




  reply	other threads:[~2022-10-22 14:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 19:14 [pmg-devel] [PATCH pmg-gui 0/4] low-hanging improvments for the quarantine interface Stoiko Ivanov
2022-10-20 19:14 ` [pmg-devel] [PATCH pmg-gui 1/4] fix #4137: display receiver in attachment/virus quarantine Stoiko Ivanov
2022-10-22 14:30   ` Thomas Lamprecht [this message]
2022-10-20 19:14 ` [pmg-devel] [PATCH pmg-gui 2/4] quarantine: contextmenu: refactor for use in other quarantines Stoiko Ivanov
2022-10-22 14:32   ` [pmg-devel] applied: " Thomas Lamprecht
2022-10-20 19:14 ` [pmg-devel] [PATCH pmg-gui 3/4] quarantine: add common controller for all quarantines Stoiko Ivanov
2022-10-22 13:37   ` Thomas Lamprecht
2022-10-20 19:15 ` [pmg-devel] [PATCH pmg-gui 4/4] quarantine: move all quarantines to the new controller Stoiko Ivanov

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=bb62ee52-e8dd-c814-f01b-48551365433c@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=s.ivanov@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