[Users] Report Bug to zimlet Attachment Alert (ModernUI)
Barry de Graaff
info at barrydegraaff.nl
Tue Jan 16 13:16:06 CET 2024
Is it possible with Attachment Alert Zimlet to identify the current
message or not ?
No, it will see the entire message, but it does not see the difference
between the newly typed message and the replies. It could be done via
regex, but it will not be 100% reliable.
On 12-01-2024 13:15, Camille Herry wrote:
> Hello Barry,
> Thank you for this feedback, what do you mean by “it is not easy to
> see if the attachment word is in the current message or in one of the
> replies”.
> Is it possible with Attachment Alert Zimlet to identify the current
> message or not ?
> Thanks in advance,
> Best regards,
> ---
> Camille HERRY
> Université de Lorraine - Direction du Numérique
> Sous-Direction Infrastructures & Services
>
> 24-30 rue Lionnois - 54003 Nancy Cedex
>
> Tel : +33 3 72 74 11 34
> Mail : camille.herry at univ-lorraine.fr
>
>
> ------------------------------------------------------------------------
> *De: *Barry <info at barrydegraaff.nl>
> *à: *Zeta <users at lists.zetalliance.org>
> *Envoyé: *jeudi 11 janvier 2024 13:15 CET
> *Sujet : *Re: [Users] Report Bug to zimlet Attachment Alert (ModernUI)
>
> Hello Camille,
>
> Sorry for the late reply, the Attachment Alert Zimlet is
> implemented using
> zimletEventEmitter.on(ZIMBRA_ZIMLET_EVENTS.ONBEFORESEND...
>
> The only thing passed via the event into the Zimlet is the actual
> message, meaning the Zimlet does not have access to the composer
> and because of this, it is not easy to see if the attachment word
> is in the current message or in one of the replies.
>
> Possible fixes would be, writing a new Zimlet, but base it on
> https://github.com/Zimbra/zimbra-zimlet-social-justice then a
> message could be shown on the screen if the word attachment is
> found but it will not do anything once the user hits send.
> Alternatively one could only trigger the attachment alert if the
> attachment word is found in the first 100/200 characters of the
> email... but that is buggy.
>
> So no good fixes I am afraid, for now, maybe best to leave it as is.
>
> Regards, Barry
>
> On 18-12-2023 10:56, Camille Herry wrote:
>
> Hello,
> We have test the zimlet attachment alerts (ModernUI) and she
> is really good, however I noticed a bug, which popup display
> alert when the pattern that we have configured is in the email
> currently being written and also in the email history.
> In my opinion, the popup should have an effect only for the
> current input.
>
> Would it be possible to make this fix?
> Thanks in advance,
> Best regards,
>
> ---
> Camille HERRY
> Université de Lorraine - Direction du Numérique
> Sous-Direction Infrastructures & Services
>
> 24-30 rue Lionnois - 54003 Nancy Cedex
>
> Tel : +33 3 72 74 11 34
> Mail : camille.herry at univ-lorraine.fr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zetalliance.org/pipermail/users_lists.zetalliance.org/attachments/20240116/7c36b755/attachment.html>
More information about the Users
mailing list