Peeking improvements#5
Conversation
|
Bug fix with navigation is also fixed, just need to do some more testing with timeline template being rendered fine, which I am currently unable to do so as:
I will pick this up on Monday, by either fixing my local Synapse or having a |
…and re-render the middle for WorldReadableRoomView to take over
…leRoomViewModel right in the RoomViewModelObservable create a new RoomStatus enum value for WorldReadable and utilise a promise to check whether room is previewable which first UnknownRoomViewModel uses to show UI context and then switches to WorldReadableRoomViewModel to render timeline for preview of messages
ccadd66 to
3a700ba
Compare
|
Complete Peeking PR changes can be seen on this link https://github.com/vector-im/hydrogen-web/compare/master...Automattic:hydrogen-web:peeking_improvements?expand=1 |
|
|
||
| export class WorldReadableRoomViewModel extends RoomViewModel { | ||
| constructor(options) { | ||
| options.room.isWorldReadable = true; |
There was a problem hiding this comment.
@psrpinto Do you think this is fine or it warrants the need of creating a WorldReadableRoom like ArchivedRoom just because we need to differentiate between the room instance of a regular room and WorldReadable room in RoomViewModel?
|
Quick update: Join functionality is now functional but I have noticed sometimes the messages don't show up after joining the room. It worked fine in Chrome, atleast in the last few attempts but in Firefox I just get an empty room with no messages. Will continue to look into this more. |
10415d1 to
8f20f97
Compare
|
Squashed commits here and pushed to original PR |
Draft PR (only meant for review and not merge)
world_readableroom