Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2042

Display the disk free space at different places

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.4.2
    • Component/s: GUI

      Description

      We could use shutil.disk_usage() to get the free disk space. A sample code would be:

      shutil.disk_usage(path).free
      

      That information could be displayed at those GUI steps:

      • when adding an account, when a local folder is selected
      • in the Accounts settings, next to the local folder

      The information would be printed in green until the value is lower than XX MiB (TBD), it will then be displayed in red.

      The information could be used later when syncing: before any download, check the disk free space and do the download when there is enough space. But this will be done in a specific ticket.

       Adding mockups on zeplin here:

      Storage screens

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 5 hours
                  4d 5h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.