Current Behavior
The explorer footer shows the count of selected items but not their total size. Users cannot easily determine how much space the selected files occupy without checking properties individually or doing mental math.
Reproduction Steps:
- Open Puter and navigate to a folder
- Create several files of different sizes (or use existing files)
- Select multiple files by clicking while holding Ctrl (or Cmd on Mac)
- Look at the footer at the bottom of the window
- Observe: Footer shows "X items selected" (or similar)
- Observe: No information about the total size of the selected files are displayed
Expected Behavior
When files are selected, the footer should display the total cumulative size of all selected items in human-readable format (e.g., "3 items selected • 45.2 MB").
Acceptance Criteria:
Steps To Test
- Open Puter and create test files (note the size of each file)
- Select one of the files in Explorer
- Verify footer shows something like:
"1 item selected • {file_size}"
- Add another file to selection (Ctrl+Click or Cmd+Click or hold shift + arrow key)
- Verify footer updates to: "2 items selected • {file)_size}" and that the total file size value is correct
- De-select one of the files and verify total_size is properly subtracted
Submission
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Guide to submitting pull requests: https://hackmd.io/@timothy1ee/Hky8kV3hlx
Current Behavior
The explorer footer shows the count of selected items but not their total size. Users cannot easily determine how much space the selected files occupy without checking properties individually or doing mental math.
Reproduction Steps:
Expected Behavior
When files are selected, the footer should display the total cumulative size of all selected items in human-readable format (e.g., "3 items selected • 45.2 MB").
Acceptance Criteria:
Steps To Test
"1 item selected • {file_size}"
Submission
Download https://cap.so/ to record your screen (use Studio mode). Export as an mp4, and drag and drop into an issue comment below.
Guide to submitting pull requests: https://hackmd.io/@timothy1ee/Hky8kV3hlx