or the left menu would be open on the projects list tab
Then the user click on a project and all its configuration is loaded to initialize the JS components.
Performance Implications
It will be faster to navigate between projects as it avoids to completely reload the page (of course actually cache helps us here). The time spent will be Ajax load of configuration + GetCapabilities and a new JS modules initialization
there is already an option in lizmap 3.x in the admin Services form to allow to 1/ see the map list in a left dock 2/ avoid the project landing page and go to a given map by default. We should take this into account (keep or remove these options)
we should keep in mind the auth / acl : it will need work. How to connect in a single page ? Modal form ? For example, when arriving on a map, I can sometime need to connect, in order to be able to edit data.
I won't choose modal for the map list. IMHO this is not a modern way to show information.
we could use a left pannel, with only map titles and images, as it can be done now (option in the Services admin conf), but what will be shown in the empty map on the right side when the user has not yet chosen a map ?
we could use a wide div above the map (hiding the map), to mimic the present project page.
Lizmap RFC: [UI] Access to Lizmap projects as a SPA
Date 2019/08/08
Author Nicolas Boisteault (@nboisteault )
maintainer @nboisteault
Version Lizmap-Web-Client 4
Summary
Here we discuss the UI for Lizmap project access as a SPA (Single Page Application)
Proposed Solution
The actual projects page (http://www.domain.com/index.php/view/) would instead load the actual map page but the projects list would be shown as :
Then the user click on a project and all its configuration is loaded to initialize the JS components.
Performance Implications
It will be faster to navigate between projects as it avoids to completely reload the page (of course actually cache helps us here). The time spent will be Ajax load of configuration + GetCapabilities and a new JS modules initialization
Votes
(required)