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

Commit 49d99c6

Browse files
committed
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into fix-final-10
2 parents 7e4b32c + f60dff5 commit 49d99c6

Some content is hidden

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

43 files changed

+669
-533
lines changed

CHANGELOG.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,101 @@
1+
Changes in [3.6.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.6.0) (2020-10-12)
2+
===================================================================================================
3+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.6.0-rc.1...v3.6.0)
4+
5+
* Upgrade JS SDK to 8.5.0
6+
* [Release] Fix templating for v1 jitsi widgets
7+
[\#5306](https://github.com/matrix-org/matrix-react-sdk/pull/5306)
8+
* [Release] Use new preparing event for widget communications
9+
[\#5304](https://github.com/matrix-org/matrix-react-sdk/pull/5304)
10+
11+
Changes in [3.6.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.6.0-rc.1) (2020-10-07)
12+
=============================================================================================================
13+
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.5.0...v3.6.0-rc.1)
14+
15+
* Upgrade JS SDK to 8.5.0-rc.1
16+
* Update from Weblate
17+
[\#5297](https://github.com/matrix-org/matrix-react-sdk/pull/5297)
18+
* Fix edited replies being wrongly treated as big emoji
19+
[\#5295](https://github.com/matrix-org/matrix-react-sdk/pull/5295)
20+
* Fix StopGapWidget infinitely recursing
21+
[\#5294](https://github.com/matrix-org/matrix-react-sdk/pull/5294)
22+
* Fix editing and redactions not updating the Reply Thread
23+
[\#5281](https://github.com/matrix-org/matrix-react-sdk/pull/5281)
24+
* Hide Jump to Read Receipt button for users who have not yet sent an RR
25+
[\#5282](https://github.com/matrix-org/matrix-react-sdk/pull/5282)
26+
* fix img tags not always being rendered correctly
27+
[\#5279](https://github.com/matrix-org/matrix-react-sdk/pull/5279)
28+
* Hopefully fix righhtpanel crash
29+
[\#5293](https://github.com/matrix-org/matrix-react-sdk/pull/5293)
30+
* Fix naive pinning limit and app tile widgetMessaging NPE
31+
[\#5283](https://github.com/matrix-org/matrix-react-sdk/pull/5283)
32+
* Show server errors from saving profile settings
33+
[\#5272](https://github.com/matrix-org/matrix-react-sdk/pull/5272)
34+
* Update copy for `redact` permission
35+
[\#5273](https://github.com/matrix-org/matrix-react-sdk/pull/5273)
36+
* Remove width limit on widgets
37+
[\#5265](https://github.com/matrix-org/matrix-react-sdk/pull/5265)
38+
* Fix call container avatar initial centering
39+
[\#5280](https://github.com/matrix-org/matrix-react-sdk/pull/5280)
40+
* Fix right panel for peeking rooms
41+
[\#5268](https://github.com/matrix-org/matrix-react-sdk/pull/5268)
42+
* Add support for dehydrated devices
43+
[\#5239](https://github.com/matrix-org/matrix-react-sdk/pull/5239)
44+
* Use Own Profile Store for the Profile Settings
45+
[\#5277](https://github.com/matrix-org/matrix-react-sdk/pull/5277)
46+
* null-guard defaultAvatarUrlForString
47+
[\#5270](https://github.com/matrix-org/matrix-react-sdk/pull/5270)
48+
* Choose first result on enter in the emoji picker
49+
[\#5257](https://github.com/matrix-org/matrix-react-sdk/pull/5257)
50+
* Fix room directory clipping links in the room's topic
51+
[\#5276](https://github.com/matrix-org/matrix-react-sdk/pull/5276)
52+
* Decorate failed e2ee downgrade attempts better
53+
[\#5278](https://github.com/matrix-org/matrix-react-sdk/pull/5278)
54+
* MELS use latest avatar rather than the first avatar
55+
[\#5262](https://github.com/matrix-org/matrix-react-sdk/pull/5262)
56+
* Fix Encryption Panel close button clashing with Base Card
57+
[\#5261](https://github.com/matrix-org/matrix-react-sdk/pull/5261)
58+
* Wrap canEncryptToAllUsers in a try/catch to handle server errors
59+
[\#5275](https://github.com/matrix-org/matrix-react-sdk/pull/5275)
60+
* Fix conditional on communities prototype room creation dialog
61+
[\#5274](https://github.com/matrix-org/matrix-react-sdk/pull/5274)
62+
* Fix ensureDmExists for encryption detection
63+
[\#5271](https://github.com/matrix-org/matrix-react-sdk/pull/5271)
64+
* Switch to using the Widget API SDK for widget messaging
65+
[\#5171](https://github.com/matrix-org/matrix-react-sdk/pull/5171)
66+
* Ensure package links exist when releasing
67+
[\#5269](https://github.com/matrix-org/matrix-react-sdk/pull/5269)
68+
* Fix the call preview when not in same room as the call
69+
[\#5267](https://github.com/matrix-org/matrix-react-sdk/pull/5267)
70+
* Make the hangup button do things for conference calls
71+
[\#5223](https://github.com/matrix-org/matrix-react-sdk/pull/5223)
72+
* Render Jitsi widget state events in a more obvious way
73+
[\#5222](https://github.com/matrix-org/matrix-react-sdk/pull/5222)
74+
* Make the PIP Jitsi look and feel like the 1:1 PIP
75+
[\#5226](https://github.com/matrix-org/matrix-react-sdk/pull/5226)
76+
* Trim range when formatting so that it excludes leading/trailing spaces
77+
[\#5263](https://github.com/matrix-org/matrix-react-sdk/pull/5263)
78+
* Fix button label on the Set Password Dialog
79+
[\#5264](https://github.com/matrix-org/matrix-react-sdk/pull/5264)
80+
* fix link to classic yarn's `yarn link`
81+
[\#5259](https://github.com/matrix-org/matrix-react-sdk/pull/5259)
82+
* Fix index mismatch between username colors styles and custom theming
83+
[\#5256](https://github.com/matrix-org/matrix-react-sdk/pull/5256)
84+
* Disable autocompletion on security key input during login
85+
[\#5258](https://github.com/matrix-org/matrix-react-sdk/pull/5258)
86+
* fix uninitialised state and eventlistener leak in RoomUpgradeWarningBar
87+
[\#5255](https://github.com/matrix-org/matrix-react-sdk/pull/5255)
88+
* Only set title when it changes
89+
[\#5254](https://github.com/matrix-org/matrix-react-sdk/pull/5254)
90+
* Convert CallHandler to typescript
91+
[\#5248](https://github.com/matrix-org/matrix-react-sdk/pull/5248)
92+
* Retry loading i18n language if it fails
93+
[\#5209](https://github.com/matrix-org/matrix-react-sdk/pull/5209)
94+
* Rework profile area for user and room settings to be more clear
95+
[\#5243](https://github.com/matrix-org/matrix-react-sdk/pull/5243)
96+
* Validation improve pattern for derived data
97+
[\#5241](https://github.com/matrix-org/matrix-react-sdk/pull/5241)
98+
199
Changes in [3.5.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v3.5.0) (2020-09-28)
2100
===================================================================================================
3101
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v3.5.0-rc.1...v3.5.0)

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.5.0",
3+
"version": "3.6.0",
44
"description": "SDK for matrix.org using React",
55
"author": "matrix.org",
66
"repository": {

res/css/views/rooms/_AppsDrawer.scss

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ $MiniAppTileHeight: 200px;
5050
}
5151
}
5252

53-
.mx_AppsDrawer_hidden {
54-
display: none;
55-
}
56-
5753
.mx_AppsContainer {
5854
display: flex;
5955
flex-direction: row;
@@ -78,15 +74,6 @@ $MiniAppTileHeight: 200px;
7874
font-size: $font-12px;
7975
}
8076

81-
.mx_SetAppURLDialog_input {
82-
border-radius: 3px;
83-
border: 1px solid $input-border-color;
84-
padding: 9px;
85-
color: $primary-hairline-color;
86-
background-color: $primary-bg-color;
87-
font-size: $font-15px;
88-
}
89-
9077
.mx_AppTile {
9178
width: 50%;
9279
border: 5px solid $widget-menu-bar-bg-color;
@@ -242,72 +229,6 @@ $MiniAppTileHeight: 200px;
242229
display: block;
243230
}
244231

245-
.mx_AppTileMenuBarWidgetPadding {
246-
margin-right: 5px;
247-
}
248-
249-
.mx_AppIconTile {
250-
background-color: $lightbox-bg-color;
251-
border: 1px solid rgba(0, 0, 0, 0);
252-
width: 200px;
253-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
254-
transition: 0.3s;
255-
border-radius: 3px;
256-
margin: 5px;
257-
display: inline-block;
258-
}
259-
260-
.mx_AppIconTile.mx_AppIconTile_active {
261-
color: $accent-color;
262-
border-color: $accent-color;
263-
}
264-
265-
.mx_AppIconTile:hover {
266-
border: 1px solid $accent-color;
267-
box-shadow: 0 0 10px 5px rgba(200, 200, 200, 0.5);
268-
}
269-
270-
.mx_AppIconTile_content {
271-
padding: 2px 16px;
272-
height: 60px;
273-
overflow: hidden;
274-
}
275-
276-
.mx_AppIconTile_content h4 {
277-
margin-top: 5px;
278-
margin-bottom: 2px;
279-
}
280-
281-
.mx_AppIconTile_content p {
282-
margin-top: 0;
283-
margin-bottom: 5px;
284-
font-size: smaller;
285-
}
286-
287-
.mx_AppIconTile_image {
288-
padding: 10px;
289-
max-width: 100px;
290-
max-height: 100px;
291-
width: auto;
292-
height: auto;
293-
}
294-
295-
.mx_AppIconTile_imageContainer {
296-
text-align: center;
297-
width: 100%;
298-
background-color: white;
299-
border-radius: 3px 3px 0 0;
300-
height: 155px;
301-
display: flex;
302-
justify-content: center;
303-
align-items: center;
304-
}
305-
306-
form.mx_Custom_Widget_Form div {
307-
margin-top: 10px;
308-
margin-bottom: 10px;
309-
}
310-
311232
.mx_AppPermissionWarning {
312233
text-align: center;
313234
background-color: $widget-menu-bar-bg-color;

src/@types/global.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
import "matrix-js-sdk/src/@types/global"; // load matrix-js-sdk's type extensions first
1718
import * as ModernizrStatic from "modernizr";
1819
import ContentMessages from "../ContentMessages";
1920
import { IMatrixClientPeg } from "../MatrixClientPeg";
@@ -31,6 +32,8 @@ import type {Renderer} from "react-dom";
3132
import RightPanelStore from "../stores/RightPanelStore";
3233
import WidgetStore from "../stores/WidgetStore";
3334
import CallHandler from "../CallHandler";
35+
import {Analytics} from "../Analytics";
36+
import UserActivity from "../UserActivity";
3437

3538
declare global {
3639
interface Window {
@@ -55,6 +58,8 @@ declare global {
5558
mxRightPanelStore: RightPanelStore;
5659
mxWidgetStore: WidgetStore;
5760
mxCallHandler: CallHandler;
61+
mxAnalytics: Analytics;
62+
mxUserActivity: UserActivity;
5863
}
5964

6065
interface Document {

0 commit comments

Comments
 (0)