You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Move personal quota fetching to a sane location #7093
As followup of #7053, where it surfaced during review:
We currently fetch the quota of the personal storage while loading the personal space. As above mentioned PR allows to query different personal spaces (based on backend side permissions), it makes less sense to keep querying the quota in the folder loader task, since it might not even be the own personal space (i.e. quota information unavailable to the logged in user).
We need to look into a more sane place to query the backend for personal space quota. Since the quota of the personal space is displayed in the user menu from the web-runtime package we should at least move it closer to that component (i.e. not files app, but runtime).
Just FYI / context, which is already covered by a different ticket: #6930
Apart from the low hanging fruit we need to decide when and how we want to update the personal space quota:
after any successful write-request (copy, move, delete, restore, upload, file modification via an editor, ...)
a. by re-calculating the quota information in the frontend code
b. by re-querying the quota information from the backend
as a background job with rather low frequency (same as notifications, which also might need a lower request frequency)
Activity
tbsbdr commentedon Jul 27, 2022
duplicate of #6930 (note decision)