Skip to content

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Sep 24, 2025

Summary

  • Adds new hints and improves documentation for the QuotaPlugin
  • Removes unused code
  • Tidies up and refactors existing code

These changes improve readability and simplify maintenance, without introducing breaking changes.

TODO

  • ...

Checklist

Add new hints and improve documentation for the QuotaPlugin. This commit also removes unused code and tidies up some code, which improves readability and simplifies maintenance, without introducing breaking changes.

Signed-off-by: Josh <[email protected]>
Tagged with \@internal instead for now.

Signed-off-by: Josh <[email protected]>
Doesn't match current interface.

Signed-off-by: Josh <[email protected]>
Updated the buildFileViewMock method to accept int, float, or false as quota type.

Signed-off-by: Josh <[email protected]>
Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

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

nice improvements :)

@joshtrichards joshtrichards added the 3. to review Waiting for reviews label Sep 25, 2025
@joshtrichards joshtrichards marked this pull request as ready for review September 25, 2025 14:01
@joshtrichards joshtrichards requested a review from a team as a code owner September 25, 2025 14:01
@joshtrichards joshtrichards requested review from ArtificialOwl, icewind1991, skjnldsv and sorbaugh and removed request for a team September 25, 2025 14:01
joshtrichards and others added 2 commits September 26, 2025 13:11
Co-authored-by: Carl Schwan <[email protected]>
Signed-off-by: Josh <[email protected]>
Co-authored-by: Carl Schwan <[email protected]>
Signed-off-by: Josh <[email protected]>
@joshtrichards joshtrichards added ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) and removed technical debt labels Sep 26, 2025
}
// Explicitly handle unknown/invalid free space
if ($freeSpace === false || $freeSpace < 0) {
// You might log here; currently allows the operation
Copy link
Member

Choose a reason for hiding this comment

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

no need to log here as this is fully expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: dav ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants