-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
see file size in file browser #3521
Comments
I don't think it's on the roadmap, but I don't see a problem with adding it, if someone wants to work on it. The frontend and the API should treat it as optional information, because some storage backends may not have an easy way to calculate a size. |
Sounds like a cool feature - could @ashleytqy, @rosaswaby, @danagilliann and I work on this together? |
Absolutely! In general, if no-one has indicated that they're working on an issue, there's no need to ask permission to tackle it. :-) Can you see what bits of code you'll need to look at? |
is this the right place to start? notebook/notebook/services/contents/filemanager.py Lines 244 to 278 in 97b3b96
and notebook/notebook/static/tree/js/notebooklist.js Lines 773 to 838 in 97b3b96
|
Yep, that looks right. There are three kinds of model that the server can send to the frontend, for directories, notebooks, and files (i.e. files other than notebooks). It probably makes sense for notebooks and files to have a size field. |
Fixed by #3539 |
Hi,
I was wondering if there is a way (or if it's a planned feature ) to see the files size in the file browser, next to the modification time, for instance.
Thanks.
The text was updated successfully, but these errors were encountered: