Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 6ec2523

Browse files
authored
Merge branch 'develop' into kegan/lists-as-keys
2 parents 153a3a7 + 056fec8 commit 6ec2523

File tree

22 files changed

+127
-77
lines changed

22 files changed

+127
-77
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Changes in [3.64.2](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.64.2) (2023-01-20)
2+
=====================================================================================================
3+
4+
## 🐛 Bug Fixes
5+
* Fix second occurence of a crash in older browsers
6+
17
Changes in [3.64.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.64.1) (2023-01-18)
28
=====================================================================================================
39

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-react-sdk",
3-
"version": "3.64.1",
3+
"version": "3.64.2",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {
@@ -57,7 +57,7 @@
5757
"dependencies": {
5858
"@babel/runtime": "^7.12.5",
5959
"@matrix-org/analytics-events": "^0.4.0",
60-
"@matrix-org/matrix-wysiwyg": "^0.19.0",
60+
"@matrix-org/matrix-wysiwyg": "^0.20.0",
6161
"@matrix-org/react-sdk-module-api": "^0.0.3",
6262
"@sentry/browser": "^7.0.0",
6363
"@sentry/tracing": "^7.0.0",

res/css/views/context_menus/_IconizedContextMenu.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ limitations under the License.
8484
align-items: center;
8585

8686
&:hover,
87-
&:focus {
87+
&:focus-visible {
8888
background-color: $menu-selected-color;
8989
}
9090

res/css/views/rooms/_RoomHeader.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ limitations under the License.
108108
display: flex;
109109
user-select: none;
110110

111-
&:not(.mx_RoomHeader_name--textonly):hover {
111+
&:hover {
112112
background-color: $quinary-content;
113113
}
114114

res/css/views/rooms/wysiwyg_composer/components/_Editor.pcss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,21 @@ limitations under the License.
4444
padding-inline-start: $spacing-28;
4545
}
4646

47+
blockquote {
48+
color: #777;
49+
border-left: 2px solid $blockquote-bar-color;
50+
border-radius: 2px;
51+
padding: 0 10px;
52+
53+
margin-block-start: 0;
54+
margin-block-end: 0;
55+
margin-inline-start: 0;
56+
margin-inline-end: 0;
57+
}
58+
4759
// model output always includes a linebreak but we do not want the user
4860
// to see it when writing input in lists
49-
:is(ol, ul, pre) + br:last-of-type {
61+
:is(ol, ul, pre, blockquote) + br:last-of-type {
5062
display: none;
5163
}
5264

res/css/views/voip/_CallDuration.pcss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ limitations under the License.
1717
.mx_CallDuration {
1818
color: $secondary-content;
1919
font-size: $font-12px;
20+
white-space: nowrap;
2021
}

res/css/views/voip/_CallView.pcss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ limitations under the License.
160160
content: "";
161161
display: inline-block;
162162
mask-image: url("$(res)/img/feather-customised/chevron-down.svg");
163-
mask-size: $size;
163+
mask-size: 20px;
164164
mask-position: center;
165165
background-color: $call-primary-content;
166166
height: 100%;
@@ -181,7 +181,7 @@ limitations under the License.
181181
.mx_CallView_deviceButton {
182182
&.mx_CallView_deviceButton_audio::before {
183183
mask-image: url("$(res)/img/element-icons/Mic-off.svg");
184-
mask-size: 14px;
184+
mask-size: 18px;
185185
}
186186

187187
&.mx_CallView_deviceButton_video::before {
Lines changed: 6 additions & 0 deletions
Loading

src/components/views/rooms/MessageComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@ export class MessageComposer extends React.Component<IProps, IState> {
336336
const { permalinkCreator, relation, replyToEvent } = this.props;
337337
const composerContent = this.state.composerContent;
338338
this.setState({ composerContent: "", initialComposerContent: "" });
339+
dis.dispatch({ action: Action.ClearAndFocusSendMessageComposer });
339340
await sendMessage(composerContent, this.state.isRichTextEnabled, {
340341
mxClient: this.props.mxClient,
341342
roomContext: this.context,
342343
permalinkCreator,
343344
relation,
344345
replyToEvent,
345346
});
346-
dis.dispatch({ action: Action.ClearAndFocusSendMessageComposer });
347347
}
348348
};
349349

src/components/views/rooms/RoomHeader.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,13 @@ export default class RoomHeader extends React.Component<IProps, IState> {
743743

744744
const buttons = this.props.showButtons ? this.renderButtons(isVideoRoom) : null;
745745

746+
let oobName = _t("Join Room");
747+
if (this.props.oobData && this.props.oobData.name) {
748+
oobName = this.props.oobData.name;
749+
}
750+
751+
const name = this.renderName(oobName);
752+
746753
if (this.props.viewingCall && !isVideoRoom) {
747754
return (
748755
<header className="mx_RoomHeader light-panel">
@@ -752,9 +759,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
752759
>
753760
<div className="mx_RoomHeader_avatar">{roomAvatar}</div>
754761
{icon}
755-
<div className="mx_RoomHeader_name mx_RoomHeader_name--textonly mx_RoomHeader_name--small">
756-
{_t("Video call")}
757-
</div>
762+
{name}
758763
{this.props.activeCall instanceof ElementCall && (
759764
<GroupCallDuration groupCall={this.props.activeCall.groupCall} />
760765
)}
@@ -779,13 +784,6 @@ export default class RoomHeader extends React.Component<IProps, IState> {
779784
);
780785
}
781786

782-
let oobName = _t("Join Room");
783-
if (this.props.oobData && this.props.oobData.name) {
784-
oobName = this.props.oobData.name;
785-
}
786-
787-
const name = this.renderName(oobName);
788-
789787
const topicElement = <RoomTopic room={this.props.room} className="mx_RoomHeader_topic" />;
790788

791789
const viewLabs = (): void =>

0 commit comments

Comments
 (0)