De-labs Metaspaces (#7613)
This commit is contained in:
parent
ecd5be8a8f
commit
8ddd677c35
8 changed files with 11 additions and 45 deletions
|
@ -127,15 +127,12 @@ export default class UserSettingsDialog extends React.Component<IProps, IState>
|
|||
"mx_UserSettingsDialog_keyboardIcon",
|
||||
<KeyboardUserSettingsTab />,
|
||||
));
|
||||
|
||||
if (SettingsStore.getValue("feature_spaces_metaspaces")) {
|
||||
tabs.push(new Tab(
|
||||
UserTab.Sidebar,
|
||||
_td("Sidebar"),
|
||||
"mx_UserSettingsDialog_sidebarIcon",
|
||||
<SidebarUserSettingsTab />,
|
||||
));
|
||||
}
|
||||
tabs.push(new Tab(
|
||||
UserTab.Sidebar,
|
||||
_td("Sidebar"),
|
||||
"mx_UserSettingsDialog_sidebarIcon",
|
||||
<SidebarUserSettingsTab />,
|
||||
));
|
||||
|
||||
if (SettingsStore.getValue(UIFeature.Voip)) {
|
||||
tabs.push(new Tab(
|
||||
|
|
|
@ -303,7 +303,6 @@ const InnerSpacePanel = React.memo<IInnerSpacePanelProps>(({ children, isPanelCo
|
|||
});
|
||||
|
||||
const SpacePanel = () => {
|
||||
const metaSpacesEnabled = useSettingValue("feature_spaces_metaspaces");
|
||||
const [isPanelCollapsed, setPanelCollapsed] = useState(true);
|
||||
const ref = useRef<HTMLUListElement>();
|
||||
useLayoutEffect(() => {
|
||||
|
@ -366,7 +365,7 @@ const SpacePanel = () => {
|
|||
) }
|
||||
</Droppable>
|
||||
|
||||
{ metaSpacesEnabled && <QuickSettingsButton isPanelCollapsed={isPanelCollapsed} /> }
|
||||
<QuickSettingsButton isPanelCollapsed={isPanelCollapsed} />
|
||||
</ul>
|
||||
) }
|
||||
</RovingTabIndexProvider>
|
||||
|
|
|
@ -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)",
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue