Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display file size #308

Merged
merged 5 commits into from
Mar 2, 2024
Merged

Conversation

JackSpagnoli
Copy link
Contributor

@JackSpagnoli JackSpagnoli commented Jan 16, 2024

Displays the size of a file or directory on the file tree.

Files and complete directories display file size, partially selected directories display selected / total, and unselected files and directories show the total size in grey.

@JackSpagnoli
Copy link
Contributor Author

JackSpagnoli commented Jan 16, 2024

Idk if you want this adding to the main release or not, I just wanted it for on my fork and thought you might be interested.

Lmk if there's anything you'd want changed.

@mtkennerly
Copy link
Owner

Thanks! I think this is a great change.

The only change I'd like, instead of putting the sizes in a column on the right, would be to put them as badges right after the file/folder name. I think that would be more consistent with the current design and would avoid the need to visually scan over a lot of blank space to match a file with its size. Like this:

image

@mtkennerly mtkennerly merged commit e2a2cf4 into mtkennerly:master Mar 2, 2024
@mtkennerly mtkennerly added this to the v0.23.0 milestone Mar 2, 2024
@mtkennerly mtkennerly added the enhancement New feature or request label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants