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 REQUEST] Quota improvements from GraphAPI #4411

Open
10 tasks
jesmrec opened this issue May 23, 2024 · 1 comment
Open
10 tasks

[FEATURE REQUEST] Quota improvements from GraphAPI #4411

jesmrec opened this issue May 23, 2024 · 1 comment

Comments

@jesmrec
Copy link
Collaborator

jesmrec commented May 23, 2024

That comes from #4401 (comment)

Some improvements we could add, taking advantage of GraphAPI:

  • If quota is exceeded, currently we show No storage usage information available. I'd show the bar full instead. We can also take advantage of the state field that comes in the response:
 "quota": {
                "remaining": 0,
                "state": "exceeded",
                "total": 1000000000,
                "used": 1423007244
            },

playing with colors depending on the status is another option (normal, nearing, exceeded)

  • Quota is updated in some scenarios, that we could spread to those ones in which the value changes locally:

    • Adding a new file
    • Deleting a new file
    • (Maybe all of these cases can be handled updating the quota in the synchronization/refresh operation)

They could trigger a new request to update the values

  • Show spaces' quota as well

  • Showing the quota in manage accounts dialog

  • Checking if quota can be retrieved from other different endpoint, without fetching whole info about all spaces.

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master
@jesmrec
Copy link
Collaborator Author

jesmrec commented Sep 11, 2024

Put an eye on https://github.com/owncloud/enterprise/issues/5808

Could be another fix/improvement to do.

@Aitorbp Aitorbp modified the milestones: 4.4 - Current, 4.5 - Next Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants