-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New room list: video room and video call decoration #29693
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
Conversation
a898878
to
da3ec7f
Compare
da3ec7f
to
86d32c6
Compare
b195c51
to
2a86ec1
Compare
2a86ec1
to
9bb70b3
Compare
9bb70b3
to
98f1984
Compare
98f1984
to
7785d03
Compare
@@ -128,8 +128,8 @@ export function useRoomListHeaderViewModel(): RoomListHeaderViewState { | |||
const isSpaceRoom = Boolean(activeSpace); | |||
|
|||
const canCreateRoom = hasCreateRoomRights(matrixClient, activeSpace); | |||
const canCreateVideoRoom = useFeatureEnabled("feature_video_rooms"); |
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.
When playing with the video room, I noticed this mistake. We didn't check the room creation rights for video room.
@@ -144,7 +144,7 @@ export default class RoomAvatar extends React.Component<IProps, IState> { | |||
} | |||
|
|||
public render(): React.ReactNode { | |||
const { room, oobData, viewAvatarOnClick, onClick, className, ...otherProps } = this.props; |
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.
To be able to add custom class to the RoomAvatar
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.
An extreme case that shouldn't happened: It shouldn't be too narrow cf https://www.figma.com/design/vlmt46QDdE4dgXDiyBJXqp/ER-33-Left-Panel-2025?node-id=137-93748&t=tjjEf89vpp2aXUfk-4
Cf the description in the PR:
When the screenshot was taken, the room avatar letter weren't yet computed. With the new room avatar, the letter is computed at the moment of the screenshot. |
* feat: add video call and EC call to room list item vm * feat: add video call notification decoration to notification decoration component * feat: add video call support to room list item view * feat: add new RoomAvatarView component * feat: deprecate `DecoratedRoomAvatar` * feat: use `RoomAvatarView` in room list item * feat: allow custom class for `RoomAvatar` * test: update notification decoration * test: update room list item view * test: update room list snapshot * test: add tests for room avatar vm * test: add tests for room avatar view * test(e2e): update snapshots * fix: video room creation rights * test: e2e add test for public and video room
https://build.opensuse.org/request/show/1272177 by user dheidler + anag_factory - Version 1.11.99 No changes, just bumping the version to accommodate a new Element Desktop release Version 1.11.98 ## ✨ Features * print better errors in the search view instead of a blocking modal (element-hq/element-web#29724). Contributed by @Jujure. * New room list: video room and video call decoration (element-hq/element-web#29693). Contributed by @florianduros. * Remove Secure Backup, Cross-signing and Cryptography sections in `Security & Privacy` user settings (element-hq/element-web#29088). Contributed by @florianduros. * Allow reporting a room when rejecting an invite. (element-hq/element-web#29570). Contributed by @Half-Shot. * RoomListViewModel: Reset primary and sec
Task https://github.com/element-hq/wat-internal/issues/204
Figma design
This PR adds decorations for video room and video call in the new room list.