diff --git a/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss b/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss index 91869f4e02..42a8f1aaaf 100644 --- a/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss @@ -15,6 +15,10 @@ limitations under the License. */ .mx_SidebarUserSettingsTab { + .mx_SettingsTab_section { + margin-top: 10px; + } + .mx_SidebarUserSettingsTab_subheading { font-size: $font-15px; line-height: $font-24px; diff --git a/src/components/views/dialogs/UserSettingsDialog.tsx b/src/components/views/dialogs/UserSettingsDialog.tsx index 09583bb6b1..de438c42ee 100644 --- a/src/components/views/dialogs/UserSettingsDialog.tsx +++ b/src/components/views/dialogs/UserSettingsDialog.tsx @@ -127,15 +127,12 @@ export default class UserSettingsDialog extends React.Component "mx_UserSettingsDialog_keyboardIcon", , )); - - if (SettingsStore.getValue("feature_spaces_metaspaces")) { - tabs.push(new Tab( - UserTab.Sidebar, - _td("Sidebar"), - "mx_UserSettingsDialog_sidebarIcon", - , - )); - } + tabs.push(new Tab( + UserTab.Sidebar, + _td("Sidebar"), + "mx_UserSettingsDialog_sidebarIcon", + , + )); if (SettingsStore.getValue(UIFeature.Voip)) { tabs.push(new Tab( diff --git a/src/components/views/spaces/SpacePanel.tsx b/src/components/views/spaces/SpacePanel.tsx index c120d7fd6a..8e065d2492 100644 --- a/src/components/views/spaces/SpacePanel.tsx +++ b/src/components/views/spaces/SpacePanel.tsx @@ -303,7 +303,6 @@ const InnerSpacePanel = React.memo(({ children, isPanelCo }); const SpacePanel = () => { - const metaSpacesEnabled = useSettingValue("feature_spaces_metaspaces"); const [isPanelCollapsed, setPanelCollapsed] = useState(true); const ref = useRef(); useLayoutEffect(() => { @@ -366,7 +365,7 @@ const SpacePanel = () => { ) } - { metaSpacesEnabled && } + ) } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index b976a104ce..179c78dd9c 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -885,7 +885,6 @@ "Show extensible event representation of events": "Show extensible event representation of events", "Location sharing (under active development)": "Location sharing (under active development)", "Show info about bridges in room settings": "Show info about bridges in room settings", - "Meta Spaces": "Meta Spaces", "Use new room breadcrumbs": "Use new room breadcrumbs", "New spotlight search experience": "New spotlight search experience", "Right panel stays open (defaults to room member list)": "Right panel stays open (defaults to room member list)", diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index b397023d4a..cf4e7d2b43 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -332,17 +332,6 @@ export const SETTINGS: {[setting: string]: ISetting} = { displayName: _td("Show info about bridges in room settings"), default: false, }, - "feature_spaces_metaspaces": { - isFeature: true, - labsGroup: LabGroup.Spaces, - supportedLevels: LEVELS_FEATURE, - displayName: _td("Meta Spaces"), - default: false, - controller: new OrderedMultiController([ - new IncompatibleController("showCommunitiesInsteadOfSpaces"), - new ReloadOnChangeController(), - ]), - }, "feature_breadcrumbs_v2": { isFeature: true, labsGroup: LabGroup.Rooms, @@ -863,9 +852,6 @@ export const SETTINGS: {[setting: string]: ISetting} = { default: { [MetaSpace.Home]: true, }, - controller: new IncompatibleController("feature_spaces_metaspaces", { - [MetaSpace.Home]: true, - }, false), }, "Spaces.showPeopleInSpace": { supportedLevels: [SettingLevel.ROOM_ACCOUNT], diff --git a/test/stores/SpaceStore-test.ts b/test/stores/SpaceStore-test.ts index 1f796a1f28..63b181f0e2 100644 --- a/test/stores/SpaceStore-test.ts +++ b/test/stores/SpaceStore-test.ts @@ -17,7 +17,6 @@ limitations under the License. import { EventType } from "matrix-js-sdk/src/@types/event"; import { RoomMember } from "matrix-js-sdk/src/models/room-member"; -import "./enable-metaspaces-labs"; import "../skinned-sdk"; // Must be first for skinning to work import SpaceStore from "../../src/stores/spaces/SpaceStore"; import { diff --git a/test/stores/enable-metaspaces-labs.ts b/test/stores/enable-metaspaces-labs.ts deleted file mode 100644 index f22132a0d6..0000000000 --- a/test/stores/enable-metaspaces-labs.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* -Copyright 2021 The Matrix.org Foundation C.I.C. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -localStorage.setItem("mx_labs_feature_feature_spaces_metaspaces", "true"); diff --git a/test/stores/room-list/SpaceWatcher-test.ts b/test/stores/room-list/SpaceWatcher-test.ts index 42ffbe5333..66570a8e81 100644 --- a/test/stores/room-list/SpaceWatcher-test.ts +++ b/test/stores/room-list/SpaceWatcher-test.ts @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -import "../enable-metaspaces-labs"; import "../../skinned-sdk"; // Must be first for skinning to work import { SpaceWatcher } from "../../../src/stores/room-list/SpaceWatcher"; import type { RoomListStoreClass } from "../../../src/stores/room-list/RoomListStore";