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

未关闭
#17 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug maintenance
主要语言
TypeScript
星标
714
派生
131
PR 合并指标
30 天内没有已合并 PR

描述

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/ ...

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。