Skip to content

UX: Disk Usage / Storage Free Space Widget #4266

@nkonidaris

Description

@nkonidaris

A useful addition to the side bar or else where would be a disk/storage used/free widget indicating the used and free space of the mapped volumes, which in my case is an external HDD. This would give users a easy visual of how full their current storage medium is, allowing for upgrading of storage capacity, or otherwise.

An example is shown below,

image

P.S. I am about to become a member to support this great project! Keep up to good work!


This feature will be part of our next stable release and can already be tested with the development preview build:

  • A manual quota in GB can be set with the newly added environment variable PHOTOPRISM_FILES_QUOTA. If the detected free space of the Originals folder is lower, the actual free space takes precedence over a manual quota.
  • To always use the automatically detected (free) disk space plus the existing library size as the maximum storage size, you can set PHOTOPRISM_USAGE_INFO to "true" in your compose.yaml file without specifying a manual quota.
  • Be aware that under certain conditions, e.g. when using Docker Desktop on MacOS, an incorrect (free) disk size may be detected (I am not working on a fix for this, as it should be provided by Apple or Docker). 🍎 🐛

Screenshots

Sidebar navigation and the Library > Import page when the configured limit in GB is exceeded:

Image

Usage information in the sidebar navigation when there is still enough free storage:

Image

Metadata

Metadata

Labels

enhancementEnhancement or improvement of an existing featureideaFeedback wanted / feature requestreleasedAvailable in the stable releasetestedChanges have been tested successfullyuxImpacts User Experience

Projects

Status

Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions