knadh / listmonk

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
https://listmonk.app
GNU Affero General Public License v3.0
14.46k stars 1.32k forks source link

Lists page, loading spinner missing #1822

Open rpmcoding opened 4 months ago

rpmcoding commented 4 months ago

Version:

Description of the bug and steps to reproduce:

/admin/lists

My lists are large and so perhaps users with smaller lists will not notice this.

However, while the data is loading and waiting to display, as it does on other pages such as admin/campaigns and admin/subscribers a loading spinner is no longer displayed.

It just says "Nothing here" for about 10 seconds and then the data shows.

Also, pagination seems to have similar issues.

Screenshots:

Lists-listmonk

knadh commented 4 months ago

Will investigate this. How many lists and subscribers do you have? If you've millions of subscribers and these pages have slowed down, I'd recommend enabling Settings -> Performance -> Cache slow database queries. The page loads will become instant (albeit with cached aggregate counts that are updated periodically, such as the total number of subscribers in a list).

rpmcoding commented 4 months ago

@knadh 20 or so lists. 5m subscribers. Thanks for the tip about Cache slow database queries - has helped massively!

MaximilianKohler commented 4 months ago

I could have sworn there was already another issue and PR for this but I can't find it.

Oh, I'm thinking of this related one https://github.com/knadh/listmonk/issues/1736.