3liz / lizmap-plugin

Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
https://www.lizmap.com/
GNU General Public License v2.0
61 stars 30 forks source link

Add a panel with project misconfigurations & optimisation suggestions #389

Open mdouchin opened 2 years ago

mdouchin commented 2 years ago

We have a list of long well-known possible misconfigurations in a Lizmap project:

Or pieces of advice to improve performances or "user-friendlyship"

It could be great to list these things and warn the user with a of changes to make.

mdouchin commented 2 years ago

cc @rldhont @nboisteault

Gustry commented 2 years ago
Gustry commented 1 year ago

List of current QMessageBox used, because of a project check :

Gustry commented 5 months ago
nboisteault commented 4 months ago
nboisteault commented 4 months ago
Gustry commented 4 months ago

@nboisteault We are trying to make the list objective :)

warn users about heavy jpg, png, svg files in print composer

What is heavy ? :)

suggest server cache for not editable layers and no specific rights

This is IMHO very project specific. For now, we can't make "suggestion", as all "errors" are reported in the CFG file and then displayed in LWC when connected as an admin, so we must stay objective.

Gustry commented 4 months ago

suggest server cache for not editable layers and no specific rights. We could save a lot of GetMap requests.

See the issue https://github.com/3liz/lizmap-web-client/issues/4327 The cache can lead to other side effect and not necessary for all layers.

nboisteault commented 4 months ago

@nboisteault We are trying to make the list objective :)

warn users about heavy jpg, png, svg files in print composer

What is heavy ? :)

I don't know ;)

suggest server cache for not editable layers and no specific rights

This is IMHO very project specific. For now, we can't make "suggestion", as all "errors" are reported in the CFG file and then displayed in LWC when connected as an admin, so we must stay objective.

So let's not write it in cfg :)

nboisteault commented 4 months ago

suggest server cache for not editable layers and no specific rights. We could save a lot of GetMap requests.

See the issue 3liz/lizmap-web-client#4327 The cache can lead to other side effect and not necessary for all layers.

I'll fix this one.