mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.99k stars 1.99k forks source link

Feature Idea: Custom Database location #4999

Open Nrosa01 opened 7 months ago

Nrosa01 commented 7 months ago

Summary

Currently database is stored at the /Documents/Focalboard directory in windows, presumably similar in MacOS and Linux. This proposal suggests adding a custom database location.

How important this is to me and why

Importance: Medium

I like focalboard as it's a fully portable app, but not being able to have the database in the same dir as the executable makes it more cumbersome to move across devices.

Use cases:

  1. Having a focalboard executable and database in a pendrive, so it's fully portable
  2. Having a folder with differente databases, being able to tell focalboard at anytime what database to load

Additional context/similar features

None

Any examples of good implementations of this capability: In the settings menu, add an entry called "Set Database location" that opens a native file explorer dialog and allows to choose an existing .db or a directory where it will be created. This setting is persistent. The focalboard path should be stored in a file next to the executable so focalboard can remain fully portable.