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

Commit f805b65

Browse files
committed
Merge branch 'develop' into widget-uids
2 parents 9fae579 + bc8fdac commit f805b65

File tree

9 files changed

+40
-321
lines changed

9 files changed

+40
-321
lines changed

res/css/_components.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
@import "./structures/_HeaderButtons.scss";
2424
@import "./structures/_HomePage.scss";
2525
@import "./structures/_LeftPanel.scss";
26-
@import "./structures/_LeftPanelWidget.scss";
2726
@import "./structures/_MainSplit.scss";
2827
@import "./structures/_MatrixChat.scss";
2928
@import "./structures/_MyGroups.scss";

res/css/structures/_LeftPanelWidget.scss

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

src/components/structures/LeftPanel.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import { Action } from "../../dispatcher/actions";
2727
import RoomSearch from "./RoomSearch";
2828
import ResizeNotifier from "../../utils/ResizeNotifier";
2929
import AccessibleTooltipButton from "../views/elements/AccessibleTooltipButton";
30-
import LeftPanelWidget from "./LeftPanelWidget";
3130
import { replaceableComponent } from "../../utils/replaceableComponent";
3231
import SpaceStore from "../../stores/spaces/SpaceStore";
3332
import { MetaSpace, SpaceKey, UPDATE_SELECTED_SPACE } from "../../stores/spaces";
@@ -444,7 +443,6 @@ export default class LeftPanel extends React.Component<IProps, IState> {
444443
{ roomList }
445444
</div>
446445
</div>
447-
{ !this.props.isMinimized && <LeftPanelWidget /> }
448446
</aside>
449447
</div>
450448
);

src/components/structures/LeftPanelWidget.tsx

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

src/settings/Settings.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -882,10 +882,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
882882
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
883883
default: {},
884884
},
885-
"Widgets.leftPanel": {
886-
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
887-
default: null,
888-
},
889885
"Spaces.allRoomsInHome": {
890886
displayName: _td("Show all rooms in Home"),
891887
description: _td("All rooms you're in will appear in Home."),

test/components/structures/CallEventGrouper-test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ limitations under the License.
1515
*/
1616

1717
import "../../skinned-sdk";
18-
import { MatrixClient } from 'matrix-js-sdk/src/matrix';
18+
import { MatrixClient, MatrixEvent } from 'matrix-js-sdk/src/matrix';
1919
import { EventType } from "matrix-js-sdk/src/@types/event";
2020
import { CallState } from "matrix-js-sdk/src/webrtc/call";
2121

@@ -52,7 +52,7 @@ describe('CallEventGrouper', () => {
5252
sender: {
5353
userId: THEIR_USER_ID,
5454
},
55-
});
55+
} as unknown as MatrixEvent);
5656

5757
expect(grouper.state).toBe(CustomCallState.Missed);
5858
});
@@ -73,7 +73,7 @@ describe('CallEventGrouper', () => {
7373
sender: {
7474
userId: MY_USER_ID,
7575
},
76-
});
76+
} as unknown as MatrixEvent);
7777
grouperHangup.add({
7878
getContent: () => {
7979
return {
@@ -86,7 +86,7 @@ describe('CallEventGrouper', () => {
8686
sender: {
8787
userId: THEIR_USER_ID,
8888
},
89-
});
89+
} as unknown as MatrixEvent);
9090

9191
grouperReject.add({
9292
getContent: () => {
@@ -100,7 +100,7 @@ describe('CallEventGrouper', () => {
100100
sender: {
101101
userId: MY_USER_ID,
102102
},
103-
});
103+
} as unknown as MatrixEvent);
104104
grouperReject.add({
105105
getContent: () => {
106106
return {
@@ -113,7 +113,7 @@ describe('CallEventGrouper', () => {
113113
sender: {
114114
userId: THEIR_USER_ID,
115115
},
116-
});
116+
} as unknown as MatrixEvent);
117117

118118
expect(grouperHangup.state).toBe(CallState.Ended);
119119
expect(grouperReject.state).toBe(CallState.Ended);
@@ -134,7 +134,7 @@ describe('CallEventGrouper', () => {
134134
getType: () => {
135135
return EventType.CallInvite;
136136
},
137-
});
137+
} as unknown as MatrixEvent);
138138

139139
expect(grouper.isVoice).toBe(false);
140140
});

0 commit comments

Comments
 (0)