-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Update quota on files upload #7592
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@@ -11,7 +11,7 @@ class="nav-icon-<?php p($item['icon'] !== '' ? $item['icon'] : $item['id']) ?> s | |||
</a> | |||
</li> | |||
<?php } ?> | |||
<li id="quota" class="pinned <?php | |||
<li id="quota" class="pinned <?php p($pinned===0?'first-pinned ':'') ?><?php |
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.
This fixes the pinned position of the quota if the files_trashbin app is disabled (meaning no other apps have registered another app-navigation pinned entry)
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.
Tested and works 👍
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.
👍 awesome!
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.
jsunit tests fail
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Codecov Report
@@ Coverage Diff @@
## master #7592 +/- ##
============================================
- Coverage 51.17% 50.67% -0.51%
Complexity 24886 24886
============================================
Files 1602 1538 -64
Lines 94750 87002 -7748
Branches 1368 0 -1368
============================================
- Hits 48485 44085 -4400
+ Misses 46265 42917 -3348
|
Build failure unrelated. |
Apparently there is a race condition sometimes where the quota status get requested before the MOVE request gets executed. Which result in an incomplete update. I'll fix it. |
Fix #6690