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

Feature/10124/quota takes too much space #10321

Closed
wants to merge 11 commits into from

Conversation

newhinton
Copy link
Contributor

See #10124
Closes #10245

Signed-off-by: fnuesse <felix.nuesse@t-online.de>
Signed-off-by: fnuesse <felix.nuesse@t-online.de>
@MorrisJobke
Copy link
Member

cc @nextcloud/designers

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some cleanup of the git history would be nice, but the code looks good 👍

@@ -430,5 +430,4 @@ public function getNodeType($folderpath) {
return $node->getType();
}


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to revert this one?

}

return $reducedStorageSize . " " . $ending;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind to squash all the commits into one?

@MorrisJobke MorrisJobke added enhancement design Design, UI, UX, etc. 2. developing Work in progress labels Jul 25, 2018
@MorrisJobke MorrisJobke modified the milestone: Nextcloud 15 Jul 25, 2018
@jancborchardt
Copy link
Member

@newhinton as review, but also answering to your comment at #10124 (comment)

Consider a combination like this:
200B of 500GB

In that case simply use "less than":

<0.1 of 500 GB used

We should not show the unit twice, and using two different units is confusing for quick info gathering.

@newhinton
Copy link
Contributor Author

@jancborchardt I have implemented the minimalistic way

@MorrisJobke I would sqash, or change the history (i messed it quite up) but git for windows and the pgp-signing don't play well together. If you wish, i could make a new branch?

@MorrisJobke
Copy link
Member

@MorrisJobke I would sqash, or change the history (i messed it quite up) but git for windows and the pgp-signing don't play well together. If you wish, i could make a new branch?

That would be nice :) And also while doing it you could fix the merge conflict 🙈

Thanks a lot for your help here 👍

@newhinton
Copy link
Contributor Author

@jancborchardt @MorrisJobke While i was recreating the pr, i discussed this with some people, and we had the great idea to not show the used size at all. Something like 65% of 6TB would be way more informative to the user on the first glance, and when he needs more precise information, he can look at the tooltip/his settings.

( Maybe we could create a modal in the future, which opens when the quota item is clicked, as i discussed with @jancborchardt )

@newhinton newhinton closed this Aug 27, 2018
@nickvergessen nickvergessen deleted the feature/10124/quota-takes-too-much-space branch August 27, 2018 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress design Design, UI, UX, etc. enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants