element-hq / element-hq/hydrogen-web

Throwing while adding to the timeline will result in all the messages in the backfill or load-from-storage missing from the timeline

Open
#17 1 comment 0 reactions 0 assignees View on GitHub
bug maintenance
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

E.g. https://github.com/vector-im/element-meta/issues/1390 was an image in with no `content.url` which threw in ImageTile, blocking 10 or so messages from ever being displayed, without a clear error.

We should have a mechanism where we render the tile with `errorToDOM` or something similar.

Also we should have a safe function to read fields/paths of an event, and act predictably when that field is missing/wrong type/ ...

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.