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

Commit

Permalink
Remove left panel widgets (#8044)
Browse files Browse the repository at this point in the history
They aren't practically used, and are difficult to set up in the first place (requires server-managed account or devtools).
  • Loading branch information
turt2live committed Mar 15, 2022
1 parent 8d13e23 commit 813a60a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 296 deletions.
1 change: 0 additions & 1 deletion res/css/_components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
@import "./structures/_HeaderButtons.scss";
@import "./structures/_HomePage.scss";
@import "./structures/_LeftPanel.scss";
@import "./structures/_LeftPanelWidget.scss";
@import "./structures/_MainSplit.scss";
@import "./structures/_MatrixChat.scss";
@import "./structures/_MyGroups.scss";
Expand Down
145 changes: 0 additions & 145 deletions res/css/structures/_LeftPanelWidget.scss

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/structures/LeftPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { Action } from "../../dispatcher/actions";
import RoomSearch from "./RoomSearch";
import ResizeNotifier from "../../utils/ResizeNotifier";
import AccessibleTooltipButton from "../views/elements/AccessibleTooltipButton";
import LeftPanelWidget from "./LeftPanelWidget";
import { replaceableComponent } from "../../utils/replaceableComponent";
import SpaceStore from "../../stores/spaces/SpaceStore";
import { MetaSpace, SpaceKey, UPDATE_SELECTED_SPACE } from "../../stores/spaces";
Expand Down Expand Up @@ -444,7 +443,6 @@ export default class LeftPanel extends React.Component<IProps, IState> {
{ roomList }
</div>
</div>
{ !this.props.isMinimized && <LeftPanelWidget /> }
</aside>
</div>
);
Expand Down
144 changes: 0 additions & 144 deletions src/components/structures/LeftPanelWidget.tsx

This file was deleted.

4 changes: 0 additions & 4 deletions src/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
supportedLevels: LEVELS_ROOM_OR_ACCOUNT,
default: {},
},
"Widgets.leftPanel": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
default: null,
},
"Spaces.allRoomsInHome": {
displayName: _td("Show all rooms in Home"),
description: _td("All rooms you're in will appear in Home."),
Expand Down

0 comments on commit 813a60a

Please sign in to comment.