-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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_readable
room