Uh oh!
There was an error while loading. Please reload this page.
Add quota to the files view - #5305
Conversation
MorrisJobke
commented
Jun 8, 2017
That was also our idea to put in down there. |
👎 ... You'll get a nice overview there, and we need this bar for the quota-buttons ( |
Dennis1993
commented
Jun 8, 2017
@MariusBluem oh okay. I don't know that, I don't use external storage :) |
Codecov Report
@@ Coverage Diff @@## master #5305 +/- ##
=========================================
Coverage ? 54.14% Complexity ? 22313 =========================================
Files ? 1381 Lines ? 85470 Branches ? 1325 =========================================
Hits ? 46275 Misses ? 39195 Partials ? 0
|
|
MorrisJobke
commented
Jun 9, 2017
It is only in the branded apps on the top. :/ |
MorrisJobke
commented
Jun 9, 2017
Why is it there for the normal version? This should be the "quota" type link from the external sites app and if this is not configured should not show up at all. |
MorrisJobke
commented
Jun 9, 2017
See comment above |
jancborchardt
commented
Jun 9, 2017
Ok, so TL;DR what to change here before we can merge? ;) |
nickvergessen
commented
Jun 9, 2017
I will have a look to bring the externals app link into this |
MariusBluem
commented
Jun 9, 2017
What about simply using the first quota-link? @nickvergessen |
enoch85
commented
Jun 9, 2017
Will this PR also recognize the total amount of storage even if a quota isn't set, or will it still say "unlimited"? |
nickvergessen
commented
Jun 9, 2017
I removed the "of Unlimited" because I think it's useless, the blue bar however will should the percentage of the total available space |
I can only move it to the bottom when the box shall be below the deleted files link. Or make it the last item in the list. Is that okay? @jancborchardt |
jancborchardt
commented
Jun 12, 2017
I'd say let's put it last in the list. If we add it to the sticky part on the bottom, it will obscire the list too much on mobile. |
MorrisJobke
commented
Jun 12, 2017
This is needed to put it to the bottom: position: fixed !important;
bottom:88px;
width: inherit !important;
background-color:#fff;
border-right:1px solid #eee;
z-index:1;We also need to update the padding of the last element in the upper menu to have a padding of 44px by default: .app-files#app-navigation>ulli:nth-last-child(2) {
margin-bottom:44px;
}and update the same rule in the trashbin to have .app-files#app-navigation>ulli:nth-last-child(2) {
margin-bottom:44px;
}let me update the CSS. |
MorrisJobke
commented
Jun 12, 2017
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Joas Schilling <coding@schilljs.com>
df5a8d9 to
27690e0CompareLukasReschke
commented
Jun 13, 2017
Rebased on master for test execution. |
LukasReschke
commented
Jun 13, 2017
@MorrisJobke Mind committing your patch for #5305 (comment)? |
MorrisJobke
left a comment
There was a problem hiding this comment.
Updated the quota bar to not have an icon 👍
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6328dc7 to
4a256aaComparejancborchardt
commented
Jun 13, 2017
Looked better before with the icon, in line with the others. Right now it might even be confused as being info of the Deleted files entry. |
MariusBluem
commented
Jun 13, 2017
The quota bar is something different then the sidebar items (deleted files, ...). It is a static element and not something you should/can click on ;) |
jancborchardt
commented
Jun 13, 2017
It absolutely should be possible to click on in the future so you see how the storage is used. Like on iOS or Android where you see which apps / filetypes use most. |
nickvergessen
commented
Jun 13, 2017
Yeah but that is not part of todays story. Currently 4 people prefer without the icon, and only you prefer with it. Do your thing, or merge. This needs to be merged and backported by friday, please take care of this @jancborchardt if you block this now. |
jancborchardt
commented
Jun 13, 2017
I did do it like this and it was overwritten. But sure, do design by voting. |
MorrisJobke
commented
Jun 13, 2017
But currently on iOS and Android this item also doesn't have an item. So I think this is more in line with that, but as always: we can improve on this if the icon is the better way: sure - we should go for it. Let's see what the users say. |
MorrisJobke
commented
Jun 13, 2017
I will take care of the backport. |
skjnldsv
commented
Jun 14, 2017
Nice work here! 👍 |





cc @jancborchardt apply beautification 😸