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

Warn the user about quota depletion #8513

Closed
Tracked by #70
ChristophWurst opened this issue Jun 1, 2023 · 1 comment · Fixed by #8610
Closed
Tracked by #70

Warn the user about quota depletion #8513

ChristophWurst opened this issue Jun 1, 2023 · 1 comment · Fixed by #8610
Assignees
Labels
4. to release enhancement feature parity skill:backend Issues and PRs that require backend development skills

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Jun 1, 2023

Is your feature request related to a problem? Please describe.

As a user I do not keep close track of my IMAP quota so I'm possibly using up all my assigned storage space without notice.

Describe the solution you'd like

The app should notify when I cross 90% quota. The notification should come through a Nextcloud notification so it shows on all devices.

Implementation

Periodically query the quota. Persist the current value. If the new value crosses 90% but the previous one was below (rising edge) send out a notification. This should ensure that the notification only happens once.

Describe alternatives you've considered

Show exceeded quota in the account actions menu. This can be done additionally.

Additional context

We will continue to rely on quota reported by the IMAP server. If there is no quota report we don't notify.

@miaulalala
Copy link
Contributor

Any text suggestions? Currently I have 'You are currently using {percentage}% of your mailbox storage. Please make some space by deleting unneeded emails.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release enhancement feature parity skill:backend Issues and PRs that require backend development skills
Projects
Development

Successfully merging a pull request may close this issue.

2 participants