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

Commit b86a0dc

Browse files
committed
Merge branch 'develop' into travis/cross-room
2 parents 73dd30f + 3ed76f5 commit b86a0dc

Some content is hidden

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

42 files changed

+664
-227
lines changed

.stylelintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ module.exports = {
1717
"selector-list-comma-newline-after": null,
1818
"at-rule-no-unknown": null,
1919
"no-descending-specificity": null,
20+
"no-empty-first-line": true,
2021
"scss/at-rule-no-unknown": [true, {
2122
// https://github.com/vector-im/element-web/issues/10544
2223
"ignoreAtRules": ["define-mixin"],

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
Changes in [3.29.0](https://github.com/vector-im/element-desktop/releases/tag/v3.29.0) (2021-08-31)
2+
===================================================================================================
3+
4+
## ✨ Features
5+
* [Release]Increase general app performance by optimizing layers ([\#6672](https://github.com/matrix-org/matrix-react-sdk/pull/6672)). Fixes vector-im/element-web#18730 and vector-im/element-web#18730. Contributed by [Palid](https://github.com/Palid).
6+
* Add a warning on E2EE rooms if you try to make them public ([\#5698](https://github.com/matrix-org/matrix-react-sdk/pull/5698)). Contributed by [SimonBrandner](https://github.com/SimonBrandner).
7+
* Allow pagination of the space hierarchy and use new APIs ([\#6507](https://github.com/matrix-org/matrix-react-sdk/pull/6507)). Fixes vector-im/element-web#18089 and vector-im/element-web#18427.
8+
* Improve emoji in composer ([\#6650](https://github.com/matrix-org/matrix-react-sdk/pull/6650)). Fixes vector-im/element-web#18593 and vector-im/element-web#18593. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
9+
* Allow playback of replied-to voice message ([\#6629](https://github.com/matrix-org/matrix-react-sdk/pull/6629)). Fixes vector-im/element-web#18599 and vector-im/element-web#18599. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
10+
* Format autocomplete suggestions vertically ([\#6620](https://github.com/matrix-org/matrix-react-sdk/pull/6620)). Fixes vector-im/element-web#17574 and vector-im/element-web#17574. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
11+
* Remember last `MemberList` search query per-room ([\#6640](https://github.com/matrix-org/matrix-react-sdk/pull/6640)). Fixes vector-im/element-web#18613 and vector-im/element-web#18613. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
12+
* Sentry rageshakes ([\#6597](https://github.com/matrix-org/matrix-react-sdk/pull/6597)). Fixes vector-im/element-web#11111 and vector-im/element-web#11111. Contributed by [novocaine](https://github.com/novocaine).
13+
* Autocomplete has been updated to match modern accessibility standards. Navigate via up/down arrows rather than Tab. Enter or Tab to confirm a suggestion. This should be familiar to Slack & Discord users. You can now use Tab to navigate around the application and do more without touching your mouse. No more accidentally sending half of people's names because the completion didn't fire on Enter! ([\#5659](https://github.com/matrix-org/matrix-react-sdk/pull/5659)). Fixes vector-im/element-web#4872, vector-im/element-web#11071, vector-im/element-web#17171, vector-im/element-web#15646 vector-im/element-web#4872 and vector-im/element-web#4872.
14+
* Add new call tile states ([\#6610](https://github.com/matrix-org/matrix-react-sdk/pull/6610)). Fixes vector-im/element-web#18521 and vector-im/element-web#18521. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
15+
* Left align call tiles ([\#6609](https://github.com/matrix-org/matrix-react-sdk/pull/6609)). Contributed by [SimonBrandner](https://github.com/SimonBrandner).
16+
* Make loading encrypted images look snappier ([\#6590](https://github.com/matrix-org/matrix-react-sdk/pull/6590)). Fixes vector-im/element-web#17878 and vector-im/element-web#17862. Contributed by [Palid](https://github.com/Palid).
17+
* Offer a way to create a space based on existing community ([\#6543](https://github.com/matrix-org/matrix-react-sdk/pull/6543)). Fixes vector-im/element-web#18092.
18+
* Accessibility improvements in and around Spaces ([\#6569](https://github.com/matrix-org/matrix-react-sdk/pull/6569)). Fixes vector-im/element-web#18094 and vector-im/element-web#18094.
19+
20+
## 🐛 Bug Fixes
21+
* [Release] Fix commit edit history ([\#6690](https://github.com/matrix-org/matrix-react-sdk/pull/6690)). Fixes vector-im/element-web#18742 and vector-im/element-web#18742. Contributed by [Palid](https://github.com/Palid).
22+
* Fix images not rendering when sent from other clients. ([\#6661](https://github.com/matrix-org/matrix-react-sdk/pull/6661)). Fixes vector-im/element-web#18702 and vector-im/element-web#18702.
23+
* Fix autocomplete scrollbar and make the autocomplete a little smaller ([\#6655](https://github.com/matrix-org/matrix-react-sdk/pull/6655)). Fixes vector-im/element-web#18682 and vector-im/element-web#18682. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
24+
* Fix replies on the bubble layout ([\#6451](https://github.com/matrix-org/matrix-react-sdk/pull/6451)). Fixes vector-im/element-web#18184. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
25+
* Show "Enable encryption in settings" only when the user can do that ([\#6646](https://github.com/matrix-org/matrix-react-sdk/pull/6646)). Fixes vector-im/element-web#18646 and vector-im/element-web#18646. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
26+
* Fix cross signing setup from settings screen ([\#6633](https://github.com/matrix-org/matrix-react-sdk/pull/6633)). Fixes vector-im/element-web#17761 and vector-im/element-web#17761.
27+
* Fix call tiles on the bubble layout ([\#6647](https://github.com/matrix-org/matrix-react-sdk/pull/6647)). Fixes vector-im/element-web#18648 and vector-im/element-web#18648. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
28+
* Fix error on accessing encrypted media without encryption keys ([\#6625](https://github.com/matrix-org/matrix-react-sdk/pull/6625)). Contributed by [Palid](https://github.com/Palid).
29+
* Fix jitsi widget sometimes being permanently stuck in the bottom-right corner ([\#6632](https://github.com/matrix-org/matrix-react-sdk/pull/6632)). Fixes vector-im/element-web#17226 and vector-im/element-web#17226. Contributed by [Palid](https://github.com/Palid).
30+
* Fix FilePanel pagination in E2EE rooms ([\#6630](https://github.com/matrix-org/matrix-react-sdk/pull/6630)). Fixes vector-im/element-web#18415 and vector-im/element-web#18415. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
31+
* Fix call tile buttons ([\#6624](https://github.com/matrix-org/matrix-react-sdk/pull/6624)). Fixes vector-im/element-web#18565 and vector-im/element-web#18565. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
32+
* Fix vertical call tile spacing issues ([\#6621](https://github.com/matrix-org/matrix-react-sdk/pull/6621)). Fixes vector-im/element-web#18558 and vector-im/element-web#18558. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
33+
* Fix long display names in call tiles ([\#6618](https://github.com/matrix-org/matrix-react-sdk/pull/6618)). Fixes vector-im/element-web#18562 and vector-im/element-web#18562. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
34+
* Avoid access token overflow ([\#6616](https://github.com/matrix-org/matrix-react-sdk/pull/6616)). Contributed by [SimonBrandner](https://github.com/SimonBrandner).
35+
* Properly handle media errors ([\#6615](https://github.com/matrix-org/matrix-react-sdk/pull/6615)). Contributed by [SimonBrandner](https://github.com/SimonBrandner).
36+
* Fix glare related regressions ([\#6614](https://github.com/matrix-org/matrix-react-sdk/pull/6614)). Fixes vector-im/element-web#18538 and vector-im/element-web#18538. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
37+
* Fix long display names in call toasts ([\#6617](https://github.com/matrix-org/matrix-react-sdk/pull/6617)). Fixes vector-im/element-web#18557 and vector-im/element-web#18557. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
38+
* Fix PiP of held calls ([\#6611](https://github.com/matrix-org/matrix-react-sdk/pull/6611)). Fixes vector-im/element-web#18539 and vector-im/element-web#18539. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
39+
* Fix call tile behaviour on narrow layouts ([\#6556](https://github.com/matrix-org/matrix-react-sdk/pull/6556)). Fixes vector-im/element-web#18398. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
40+
* Fix video call persisting when widget removed ([\#6608](https://github.com/matrix-org/matrix-react-sdk/pull/6608)). Fixes vector-im/element-web#15703 and vector-im/element-web#15703.
41+
* Fix toast colors ([\#6606](https://github.com/matrix-org/matrix-react-sdk/pull/6606)). Contributed by [SimonBrandner](https://github.com/SimonBrandner).
42+
* Remove tiny scrollbar dot from code blocks ([\#6596](https://github.com/matrix-org/matrix-react-sdk/pull/6596)). Fixes vector-im/element-web#18474. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
43+
* Improve handling of pills in the composer ([\#6353](https://github.com/matrix-org/matrix-react-sdk/pull/6353)). Fixes vector-im/element-web#10134 vector-im/element-web#10896 and vector-im/element-web#15037. Contributed by [SimonBrandner](https://github.com/SimonBrandner).
44+
145
Changes in [3.28.1](https://github.com/vector-im/element-desktop/releases/tag/v3.28.1) (2021-08-17)
246
===================================================================================================
347

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "matrix-react-sdk",
3-
"version": "3.28.1",
3+
"version": "3.29.0",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {

res/css/views/messages/_MessageActionBar.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ limitations under the License.
9292
mask-image: url('$(res)/img/element-icons/room/message-bar/reply.svg');
9393
}
9494

95+
.mx_MessageActionBar_threadButton::after {
96+
mask-image: url('$(res)/img/element-icons/message/thread.svg');
97+
}
98+
9599
.mx_MessageActionBar_editButton::after {
96100
mask-image: url('$(res)/img/element-icons/room/message-bar/edit.svg');
97101
}

res/css/views/right_panel/_RoomSummaryCard.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ limitations under the License.
232232
mask-image: url('$(res)/img/element-icons/room/files.svg');
233233
}
234234

235+
.mx_RoomSummaryCard_icon_threads::before {
236+
mask-image: url('$(res)/img/element-icons/message/thread.svg');
237+
}
238+
235239
.mx_RoomSummaryCard_icon_share::before {
236240
mask-image: url('$(res)/img/element-icons/room/share.svg');
237241
}

res/css/views/rooms/_Autocomplete.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
max-height: 35vh;
1111
overflow: clip;
1212
display: flex;
13+
flex-direction: column;
1314
box-shadow: 0px -16px 32px $composer-shadow-color;
1415
}
1516

res/css/views/rooms/_EventTile.scss

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ $hover-select-border: 4px;
643643

644644
// Remove some of the default tile padding so that the error is centered
645645
margin-right: 0;
646+
646647
.mx_EventTile_line {
647648
padding-left: 0;
648649
margin-right: 0;
@@ -674,3 +675,62 @@ $hover-select-border: 4px;
674675
margin-right: 0;
675676
}
676677
}
678+
679+
.mx_ThreadInfo:hover {
680+
cursor: pointer;
681+
}
682+
683+
.mx_ThreadView {
684+
display: flex;
685+
flex-direction: column;
686+
687+
.mx_ScrollPanel {
688+
margin-top: 20px;
689+
690+
.mx_RoomView_MessageList {
691+
padding: 0;
692+
}
693+
}
694+
695+
.mx_EventTile_senderDetails {
696+
display: flex;
697+
align-items: center;
698+
gap: 6px;
699+
margin-bottom: 6px;
700+
701+
a {
702+
flex: 1;
703+
min-width: none;
704+
max-width: 100%;
705+
display: flex;
706+
align-items: center;
707+
708+
.mx_SenderProfile {
709+
flex: 1;
710+
}
711+
}
712+
}
713+
714+
.mx_ThreadView_List {
715+
flex: 1;
716+
overflow: scroll;
717+
}
718+
719+
.mx_EventTile_roomName {
720+
display: none;
721+
}
722+
723+
.mx_EventTile_line {
724+
padding-left: 0 !important;
725+
order: 10 !important;
726+
}
727+
728+
.mx_EventTile {
729+
width: 100%;
730+
display: flex;
731+
flex-direction: column;
732+
margin-top: 0;
733+
padding-bottom: 5px;
734+
margin-bottom: 5px;
735+
}
736+
}

res/css/views/rooms/_MessageComposer.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,3 +340,19 @@ limitations under the License.
340340
height: 50px;
341341
}
342342
}
343+
344+
/**
345+
* Unstable compact mode
346+
*/
347+
348+
.mx_MessageComposer.mx_MessageComposer--compact {
349+
margin-right: 0;
350+
351+
.mx_MessageComposer_wrapper {
352+
padding: 0;
353+
}
354+
355+
.mx_MessageComposer_button:last-child {
356+
margin-right: 0;
357+
}
358+
}
Lines changed: 4 additions & 0 deletions
Loading

src/MatrixClientPeg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ class MatrixClientPegClass implements IMatrixClientPeg {
213213
opts.pendingEventOrdering = PendingEventOrdering.Detached;
214214
opts.lazyLoadMembers = true;
215215
opts.clientWellKnownPollPeriod = 2 * 60 * 60; // 2 hours
216+
opts.experimentalThreadSupport = SettingsStore.getValue("feature_thread");
216217

217218
// Connect the matrix client to the dispatcher and setting handlers
218219
MatrixActionCreators.start(this.matrixClient);

0 commit comments

Comments
 (0)