scubajeff / lespas

Les Pas, photo album app for Nextcloud user
Apache License 2.0
452 stars 22 forks source link

[Feature request] Multiple server support #148

Open AntoineHX opened 1 year ago

AntoineHX commented 1 year ago

Use case: If you have 2 or more Nextcloud server with different usage/users, it'll be useful to synchronise albums to a specific server.

Feature:

  1. Handle multiple Nextcloud connections. Maybe like different users ?
  2. Allow selection of the server to sync to for each album.

Alternative: Handle a set of Nexcloud connections and synchronise everything on all servers.

scubajeff commented 1 year ago

The hardest part of implementing this feature is the UX design, will user need to switch user to see different server view or the app need to combine them all in a single view? how to set the device gallery backup target in each of these circumstance? should albums be synced to it's original server or need to provide a way to sync them to multiple server? etc, etc...

AntoineHX commented 1 year ago

I don't know the implementation and what's easy to do or not. But I would say that a starting solution with minimal impact on the UX would be:

The choice of server could be done when adding new album. Another approach that might be lighter on the UX, is instead to define a default server (Parameters section) that would be used for all new album. And allow migration of the album to another server from the album view.