freescout-help-desk / freescout

FreeScout — Free self-hosted help desk & shared mailbox (Zendesk / Help Scout alternative)
https://freescout.net
GNU Affero General Public License v3.0
3.01k stars 492 forks source link

Saved Replies are loading to slow - #1382

Closed jake-the-just closed 3 years ago

jake-the-just commented 3 years ago

Hello, we recently moves from HS to FS and imported a bigger amount of saved replies. Right now we are using around 280 saved replies which I am trying to organize.

Doing that, I am facing a loading problem. Every time the page is refreshing it takes around a minute to load the side - sometimes it even crashes. Quite annoying, because as soon as I e.g. assign a mail to a category the page is reloaded

Thats the message I am getting if I am checking the developer tools: [Violation] Added non-passive event listener to a scroll-blocking event. Consider marking event handler as 'passive' to make the page more responsive. See

Bildschirmfoto 2021-08-19 um 11 27 45

Could you fix this please?

freescout-helpdesk commented 3 years ago

In admin area or in the conversation?

jake-the-just commented 3 years ago

The Problem only occurs in the admin area: Bildschirmfoto 2021-08-20 um 09 39 12

freescout-helpdesk commented 3 years ago

Do you have any custom modules activated?

It's actually possible to have >400 saved replies without problems: https://github.com/freescout-helpdesk/freescout/issues/1273

jake-the-just commented 3 years ago

Ok, I have to check with our admin, may take a while as he is on vacation. I'll get back to you. Thanks for the quick responses so far!

obstschale commented 3 years ago

Indeed we have the following Modules active:

freescout-helpdesk commented 3 years ago

How long are your Saved Replies? How many symbols each?

jake-the-just commented 3 years ago

Sorry, due to the vacation season, the request has taken a back seat.

Our Saved replies have very different lengths. Short SR have e.g. 340 characters (including spaces), long SR can have about 5000 characters. Some SR contain (multiple) images, links and each SR has a fallback ({%customer.firstName%}).

freescout-helpdesk commented 3 years ago

Performance improved in Saved Replies Module v1.0.9