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

Commit 9455054

Browse files
committed
Merge branch 'develop' into travis/msc-send-widget-events
2 parents 33b7367 + 8eadf6b commit 9455054

File tree

107 files changed

+3226
-1481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+3226
-1481
lines changed

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
Changes in [3.8.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.8.0) (2020-11-09)
2+
===================================================================================================
3+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.8.0-rc.1...v3.8.0)
4+
5+
* Upgrade JS SDK to 9.1.0
6+
7+
Changes in [3.8.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.8.0-rc.1) (2020-11-04)
8+
=============================================================================================================
9+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.1...v3.8.0-rc.1)
10+
11+
* Upgrade JS SDK to 9.1.0-rc.1
12+
* Log when saving profile
13+
[\#5394](https://github.com/matrix-org/matrix-react-sdk/pull/5394)
14+
* Translations update from Weblate
15+
[\#5395](https://github.com/matrix-org/matrix-react-sdk/pull/5395)
16+
* Hide prompt to add email for notifications if 3pid ui feature is off
17+
[\#5392](https://github.com/matrix-org/matrix-react-sdk/pull/5392)
18+
* Fix room list message preview copy for hangup events
19+
[\#5388](https://github.com/matrix-org/matrix-react-sdk/pull/5388)
20+
* Track UISIs as Countly Events
21+
[\#5382](https://github.com/matrix-org/matrix-react-sdk/pull/5382)
22+
* Don't let users accidentally redact ACL events
23+
[\#5384](https://github.com/matrix-org/matrix-react-sdk/pull/5384)
24+
* Two more easy files to remove from eslintignore
25+
[\#5378](https://github.com/matrix-org/matrix-react-sdk/pull/5378)
26+
* Fix Widget OpenID Permissions for realsies
27+
[\#5381](https://github.com/matrix-org/matrix-react-sdk/pull/5381)
28+
* Fix regression with OpenID permissions on widgets
29+
[\#5380](https://github.com/matrix-org/matrix-react-sdk/pull/5380)
30+
* Fix room directory events happening in the wrong order for Funnels
31+
[\#5379](https://github.com/matrix-org/matrix-react-sdk/pull/5379)
32+
* Remove a couple more files from eslintignore
33+
[\#5377](https://github.com/matrix-org/matrix-react-sdk/pull/5377)
34+
* Fix countly method bindings and errors
35+
[\#5376](https://github.com/matrix-org/matrix-react-sdk/pull/5376)
36+
* Fix a bunch of silly lint errors
37+
[\#5375](https://github.com/matrix-org/matrix-react-sdk/pull/5375)
38+
* Typescript: ImageUtils
39+
[\#5374](https://github.com/matrix-org/matrix-react-sdk/pull/5374)
40+
* Convert AuxPanel to TypeScript
41+
[\#5373](https://github.com/matrix-org/matrix-react-sdk/pull/5373)
42+
* Only pass metrics if they exist otherwise Countly will be unhappy!
43+
[\#5372](https://github.com/matrix-org/matrix-react-sdk/pull/5372)
44+
* Fix CountlyAnalytics NPE on MatrixClientPeg
45+
[\#5370](https://github.com/matrix-org/matrix-react-sdk/pull/5370)
46+
* fix CountlyAnalytics canEnable on wrong target
47+
[\#5369](https://github.com/matrix-org/matrix-react-sdk/pull/5369)
48+
* Initial Countly work
49+
[\#5365](https://github.com/matrix-org/matrix-react-sdk/pull/5365)
50+
* Fix videos not playing in non-encrypted rooms
51+
[\#5368](https://github.com/matrix-org/matrix-react-sdk/pull/5368)
52+
* Fix custom tag layout which regressed in #5309
53+
[\#5367](https://github.com/matrix-org/matrix-react-sdk/pull/5367)
54+
* Watch replyToEvent at RoomView to prevent races
55+
[\#5360](https://github.com/matrix-org/matrix-react-sdk/pull/5360)
56+
* Add a UI Feature flag for room history settings
57+
[\#5362](https://github.com/matrix-org/matrix-react-sdk/pull/5362)
58+
* Hide inline images when preference disabled
59+
[\#5361](https://github.com/matrix-org/matrix-react-sdk/pull/5361)
60+
* Fix React warning by moving handler to each button
61+
[\#5359](https://github.com/matrix-org/matrix-react-sdk/pull/5359)
62+
* Do not preload encrypted videos|images unless autoplay or thumbnailing is on
63+
[\#5352](https://github.com/matrix-org/matrix-react-sdk/pull/5352)
64+
* Fix theme variable passed to Jitsi
65+
[\#5357](https://github.com/matrix-org/matrix-react-sdk/pull/5357)
66+
* docs: added comment explanation
67+
[\#5349](https://github.com/matrix-org/matrix-react-sdk/pull/5349)
68+
* Modal Widgets - MSC2790
69+
[\#5252](https://github.com/matrix-org/matrix-react-sdk/pull/5252)
70+
* Widgets fixes
71+
[\#5350](https://github.com/matrix-org/matrix-react-sdk/pull/5350)
72+
* Fix User Menu avatar colouring being based on wrong string
73+
[\#5348](https://github.com/matrix-org/matrix-react-sdk/pull/5348)
74+
* Support 'answered elsewhere'
75+
[\#5345](https://github.com/matrix-org/matrix-react-sdk/pull/5345)
76+
177
Changes in [3.7.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.7.1) (2020-10-28)
278
===================================================================================================
379
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.7.0...v3.7.1)

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.7.1",
3+
"version": "3.8.0",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {
@@ -79,7 +79,7 @@
7979
"linkifyjs": "^2.1.9",
8080
"lodash": "^4.17.19",
8181
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
82-
"matrix-widget-api": "^0.1.0-beta.5",
82+
"matrix-widget-api": "^0.1.0-beta.8",
8383
"minimist": "^1.2.5",
8484
"pako": "^1.0.11",
8585
"parse5": "^5.1.1",

res/css/_common.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
*/
1818

1919
@import "./_font-sizes.scss";
20+
@import "./_font-weights.scss";
2021

2122
$hover-transition: 0.08s cubic-bezier(.46, .03, .52, .96); // quadratic
2223

@@ -323,6 +324,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
323324

324325
.mx_Dialog_title {
325326
font-size: $font-22px;
327+
font-weight: $font-semi-bold;
326328
line-height: $font-36px;
327329
color: $dialog-title-fg-color;
328330
}
@@ -348,8 +350,8 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
348350
background-color: $dialog-close-fg-color;
349351
cursor: pointer;
350352
position: absolute;
351-
top: 4px;
352-
right: 0px;
353+
top: 10px;
354+
right: 0;
353355
}
354356

355357
.mx_Dialog_content {

res/css/_components.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@
110110
@import "./views/elements/_EventListSummary.scss";
111111
@import "./views/elements/_Field.scss";
112112
@import "./views/elements/_FormButton.scss";
113-
@import "./views/elements/_IconButton.scss";
114113
@import "./views/elements/_ImageView.scss";
115114
@import "./views/elements/_InfoTooltip.scss";
116115
@import "./views/elements/_InlineSpinner.scss";
117116
@import "./views/elements/_ManageIntegsButton.scss";
117+
@import "./views/elements/_MiniAvatarUploader.scss";
118118
@import "./views/elements/_PowerSelector.scss";
119119
@import "./views/elements/_ProgressBar.scss";
120120
@import "./views/elements/_QRCode.scss";
@@ -139,6 +139,7 @@
139139
@import "./views/groups/_GroupUserSettings.scss";
140140
@import "./views/messages/_CreateEvent.scss";
141141
@import "./views/messages/_DateSeparator.scss";
142+
@import "./views/messages/_EventTileBubble.scss";
142143
@import "./views/messages/_MEmoteBody.scss";
143144
@import "./views/messages/_MFileBody.scss";
144145
@import "./views/messages/_MImageBody.scss";
@@ -182,6 +183,7 @@
182183
@import "./views/rooms/_MemberList.scss";
183184
@import "./views/rooms/_MessageComposer.scss";
184185
@import "./views/rooms/_MessageComposerFormatBar.scss";
186+
@import "./views/rooms/_NewRoomIntro.scss";
185187
@import "./views/rooms/_NotificationBadge.scss";
186188
@import "./views/rooms/_PinnedEventTile.scss";
187189
@import "./views/rooms/_PinnedEventsPanel.scss";
@@ -229,4 +231,4 @@
229231
@import "./views/verification/_VerificationShowSas.scss";
230232
@import "./views/voip/_CallContainer.scss";
231233
@import "./views/voip/_CallView.scss";
232-
@import "./views/voip/_VideoView.scss";
234+
@import "./views/voip/_VideoFeed.scss";

res/css/structures/_HomePage.scss

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ limitations under the License.
2626

2727
.mx_HomePage_default {
2828
text-align: center;
29+
display: flex;
2930

3031
.mx_HomePage_default_wrapper {
31-
padding: 25vh 0 12px;
32+
margin: auto;
3233
}
3334

3435
img {
@@ -50,56 +51,54 @@ limitations under the License.
5051
color: $muted-fg-color;
5152
}
5253

54+
.mx_MiniAvatarUploader {
55+
margin: 0 auto;
56+
}
57+
5358
.mx_HomePage_default_buttons {
54-
margin: 80px auto 0;
59+
margin: 60px auto 0;
5560
width: fit-content;
5661

5762
.mx_AccessibleButton {
5863
padding: 73px 8px 15px; // top: 20px top padding + 40px icon + 13px margin
5964

60-
width: 104px; // 120px - 2* 8px
61-
margin: 0 39px; // 55px - 2* 8px
65+
width: 160px;
66+
height: 132px;
67+
margin: 20px;
6268
position: relative;
6369
display: inline-block;
6470
border-radius: 8px;
6571
vertical-align: top;
6672
word-break: break-word;
73+
box-sizing: border-box;
6774

6875
font-weight: 600;
6976
font-size: $font-15px;
7077
line-height: $font-20px;
71-
color: $muted-fg-color;
72-
73-
&:hover {
74-
color: $accent-color;
75-
background: rgba($accent-color, 0.06);
76-
77-
&::before {
78-
background-color: $accent-color;
79-
}
80-
}
78+
color: #fff; // on all themes
79+
background-color: $accent-color;
8180

8281
&::before {
8382
top: 20px;
84-
left: 40px; // (120px-40px)/2
83+
left: 60px; // (160px-40px)/2
8584
width: 40px;
8685
height: 40px;
8786

8887
content: '';
8988
position: absolute;
90-
background-color: $muted-fg-color;
89+
background-color: #fff; // on all themes
9190
mask-repeat: no-repeat;
9291
mask-size: contain;
9392
}
9493

9594
&.mx_HomePage_button_sendDm::before {
96-
mask-image: url('$(res)/img/feather-customised/message-circle.svg');
95+
mask-image: url('$(res)/img/element-icons/feedback.svg');
9796
}
9897
&.mx_HomePage_button_explore::before {
99-
mask-image: url('$(res)/img/feather-customised/explore.svg');
98+
mask-image: url('$(res)/img/element-icons/roomlist/explore.svg');
10099
}
101100
&.mx_HomePage_button_createGroup::before {
102-
mask-image: url('$(res)/img/feather-customised/group.svg');
101+
mask-image: url('$(res)/img/element-icons/community-members.svg');
103102
}
104103
}
105104
}

res/css/structures/_RoomStatusBar.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,6 @@ limitations under the License.
153153
display: block;
154154
}
155155

156-
.mx_RoomStatusBar_isAlone {
157-
height: 50px;
158-
line-height: $font-50px;
159-
160-
color: $primary-fg-color;
161-
opacity: 0.5;
162-
overflow-y: hidden;
163-
display: block;
164-
}
165-
166156
.mx_MatrixChat_useCompactLayout {
167157
.mx_RoomStatusBar {
168158
min-height: 40px;

res/css/views/dialogs/_InviteDialog.scss

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,37 +27,29 @@ limitations under the License.
2727
padding-left: 8px;
2828
overflow-x: hidden;
2929
overflow-y: auto;
30+
display: flex;
31+
flex-wrap: wrap;
3032

3133
.mx_InviteDialog_userTile {
34+
margin: 6px 6px 0 0;
3235
display: inline-block;
33-
float: left;
34-
position: relative;
35-
top: 7px;
36+
min-width: max-content; // prevent manipulation by flexbox
3637
}
3738

38-
// Using a textarea for this element, to circumvent autofill
39-
// Mostly copied from AddressPickerDialog
40-
textarea,
41-
textarea:focus {
42-
height: 34px;
43-
line-height: $font-34px;
39+
// Mostly copied from AddressPickerDialog; overrides bunch of our default text input styles
40+
> input[type="text"] {
41+
margin: 6px 0 !important;
42+
height: 24px;
43+
line-height: $font-24px;
4444
font-size: $font-14px;
4545
padding-left: 12px;
46-
margin: 0 !important;
4746
border: 0 !important;
4847
outline: 0 !important;
4948
resize: none;
50-
overflow: hidden;
5149
box-sizing: border-box;
52-
word-wrap: nowrap;
53-
54-
// Roughly fill about 2/5ths of the available space. This is to try and 'fill' the
55-
// remaining space after a bunch of pills, but is a bit hacky. Ideally we'd have
56-
// support for "fill remaining width", but traditional tricks don't work with what
57-
// we're pushing into this "field". Flexbox just makes things worse. The theory is
58-
// that users won't need more than about 2/5ths of the input to find the person
59-
// they're looking for.
60-
width: 40%;
50+
min-width: 40%;
51+
flex: 1 !important;
52+
color: $primary-fg-color !important;
6153
}
6254
}
6355

@@ -148,6 +140,10 @@ limitations under the License.
148140
}
149141
}
150142

143+
.mx_InviteDialog_roomTile_nameStack {
144+
display: inline-block;
145+
}
146+
151147
.mx_InviteDialog_roomTile_name {
152148
font-weight: 600;
153149
font-size: $font-14px;

res/css/views/elements/_IconButton.scss

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)