-
Notifications
You must be signed in to change notification settings - Fork 131
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
item data (size, last modified) in the file's list cell detail label #117
Conversation
…m+Extension. - Now in the ClientItemCell's detail label appears the size and the last modified date for every item.
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
=========================================
- Coverage 27.17% 27.07% -0.1%
=========================================
Files 63 63
Lines 5741 5762 +21
=========================================
Hits 1560 1560
- Misses 4181 4202 +21
Continue to review full report at Codecov.
|
Regarding #62, in case of folders is included the number of items instead of the folder size. I personally prefer the folder size. What do you think? @javiergonzper @mneuwert @michaelstingl @felix-schwarz |
@pablocarmu @jesmrec screenshots? |
Display both? Finder on macOS;
That's too much detail, but only size and number of items? |
On Files App they show the size only on the files. Not on the folders. But probably it is because that information could no be available (calculate the size of a folder with subfolders is not an easy task and maybe not all the cloud services return it). To be consisten I also prefer the size of the folder but not sure what it is more useful for a normal user. Files app: |
Size, number of items and last modification date. Too much in my opinion. |
Okay, then size is more useful I think… |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jesmrec is folder size expensive to calculate or is it something you get for free via server API?
@mneuwert we take the size from API |
ownCloud server might not know the size from folders that are mounted storages. That needs to be covered as well… |
From the app's perspective, I'm showing in the detail the
There is no current property in
Right now if there is no info about the size we're showing zero as displayed here. I wanted to mimic the behavior of the old app here, but instead of showing minute details I coded the date by days ie. Today, Tomorrow, 3 days ago,... |
i will check what happens after mounting an external storage... but the app will show what the server retrieves. |
In empty folders you set I'd set |
- Removed countStyle because .file is the default option.
I changed the property |
Regarding external storage, we can not know the folder and file sizes till we browse through it. PROPFIND returns:
with such value, the web UI sets Icon is not in the scope of the current PR. |
External storage issue fixed. From my side, this is OK to move forward... after code review (@mneuwert ) |
Description
Instead of the mime-type this PR write in the detail label the data in a readable way i.e.
54 Mb
and the last modified date i.e.06 sept, 2018
Related Issue
#62
Motivation and Context
This provides more information to the user and makes sense because we can sort by date and size
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: