Project history : Add a version viewer windows in the plugin
This PR is a refactor and enhancement to bring a new history window to browse the history of a project directly from the plugin
To open the new windows a new toolbar button has been added.
The windows is divided in three parts for the users to be able to:
- Scroll thought projects versions the left
- Explore change visually in case the version is diffable
- Viewing layer changed, version metadata (author creation date, user agent, etc...), and changesets details .
This PR is marked as draft because some testing are still required and the feature still have rough edges
For reviewer a brief technical documentation is available in the comment
You can find the artificat for this PR : https://github.com/MerginMaps/qgis-plugin/actions/runs/11574049071
I'll update the link for future version
When I select Files tab at the bottom right and then change the version in the left panel, it keeps going back to Layers tab. It would be good to remember the selection, so user does not need to keep selecting the tab again:
Another observation, it takes a while for plugin:
- to cache the older version
- to render the map (specifically the background map and not the changes)
^^ An example of caching and creating the map
A small technical is made using excalidraw, ask me for accesss if you need to modify it
For the interface:
For asynchronous operation
Fetch new versions
ChangesetsDownloader ( download a version)
Hi @uclaros we have a big one here :) Thanks!
Let's merge this now and continue fixing from master 🎉