element-hq / element-hq/element-call

Element Call is unusable if the IndexedDB quota is exceeded

Open
#906 1 comment 0 reactions 0 assignees View on GitHub
O-Uncommon S-Critical T-Defect
Dominant language
TypeScript
Stars
996
Forks
213
Avg merge
1d 8h
Merged PRs (30d)
55

Description

### Steps to reproduce

If you use EC enough, it will store enough logs that it can exceed the storage quota for the site. Once it does, writes to indexeddb will abort with a 'Quota Exceeded' error. We don't really handle these gracefully and so the app will just start failing to do things, eg. entering the name of a call on the homepage and clicking the 'go' button will change the button title to loading briefly and then go back to 'Go' with no error displayed.

### Outcome

#### What did you expect?
Probably ideally, the app would purge the logs that are taking up space and carry on, and if that didn't work, display an error mesage.

#### What happened instead?
It just didn't do anything

### Operating system

_No response_

### Browser information

_No response_

### URL for webapp

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.