Page MenuHomePhorge

Load events as they appear
Needs ReviewPublic

Authored by tusooa on Mon, Jul 6, 9:43 PM.

Details

Reviewers
None
Group Reviewers
O1: the Kazv Project
Summary

Previously, unloaded events will show as "unknown event" and since the introduction of DbStore, there are more and more unloaded events as replied-to events in the timeline. This commit automatically loads the event from DbStore when it encounters an unknown event. Further work can be done to allow the user to fall back to client-server api after libkazv implements fetching one single event by id.

Type: add

Test Plan

Reply to a very old event in a room. Switch to another room and wait until the event is purged. Switch back to the original room, and check you can see the old event immediately as the replied-to event.

Diff Detail

Repository
rK kazv
Branch
tusooa/load-events
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 664
Build 1310: Invoke BuildbotBuildbot build #2041
Build 1309: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Mon, Jul 6, 10:12 PM
Harbormaster failed remote builds in B660: Diff 1013!

Fix RoomTimelineView quick test, Port some to appium, and fix EventViewUnavailable appium test not being run

tusooa requested review of this revision.Wed, Jul 8, 3:08 PM

Need change to MatrixRoomTimeline::at() to correctly handle fetching pinned events

fix pinned events timeline and add relevant tests