Commit Graph

11 Commits (87945d2a97ec5323375c15996cca30a753a030a4)

Author SHA1 Message Date
Richard van der Hoff 1e095e105a Don't update state when no change to read marker
It turns out to be quite expensive to update the state, because we can't do
shouldComponentUpdate on any of the sub-components (because RRs and local echo
sneak in through the back door), and we don't want to trigger a whole render
cycle every time someone presses a key.
2016-02-24 12:53:39 +00:00
Richard van der Hoff 029f47d91c Merge branch 'rav/roomview_works' into rav/read_marker
Conflicts:
	src/components/structures/MessagePanel.js
	src/components/structures/TimelinePanel.js
2016-02-23 18:55:53 +00:00
Richard van der Hoff 9eff426819 Merge commit '71e2495' into rav/roomview_works
Conflicts:
	src/components/structures/RoomView.js
2016-02-23 13:24:38 +00:00
Richard van der Hoff 776b6a26c3 Merge commit '9a0ea56' into rav/roomview_works
Conflicts:
	src/components/structures/RoomView.js
2016-02-23 13:02:02 +00:00
Richard van der Hoff 4c571cf1bf Merge commit 'eb91faf' into rav/roomview_works
Conflicts:
	src/components/structures/RoomView.js
2016-02-23 12:56:54 +00:00
Richard van der Hoff f992caadd7 Position read-marker 1/3 of the way down, not halfway down. 2016-02-15 23:07:08 +00:00
Richard van der Hoff d498c5a81e Implementation of new read-marker semantics
Separate the read-up-to marker from the read-receipts, and show a status bar
when the read marker is above the screen. Move the read-marker down when it is
on the screen and there is user activity.

(This requires corresponding changes in vector-web, to provide the CSS and img)
2016-02-15 23:07:08 +00:00
Richard van der Hoff db09d3d9e4 Move ghost-read-marker logic to MessagePanel 2016-02-15 23:05:58 +00:00
Richard van der Hoff 06133b0467 Add a null guard for matrix client TimelinePanel.componentWillUnmount
client can be null when unmounting
2016-02-15 23:04:21 +00:00
Richard van der Hoff 0e0d0cf4f5 post-review tweaks 2016-02-11 15:38:13 +00:00
Richard van der Hoff f2377fa9fe Factor out a TimelinePanel from RoomView 2016-02-10 18:41:48 +00:00