Remove SpaceScopeHeader (#12785)

* Remove SpaceScopeHeader

It is no longer necessary as we no longer offer the ability to open the member list for a space from any random room.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-07-17 13:54:35 +01:00 committed by GitHub
parent c57d8463b9
commit 4edf4e42cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 2 additions and 101 deletions

View file

@ -28,7 +28,6 @@ import { Action } from "../../../dispatcher/actions";
import ErrorDialog from "../dialogs/ErrorDialog";
import BaseCard from "../right_panel/BaseCard";
import { Flex } from "../../utils/Flex";
import { createSpaceScopeHeader } from "./SpaceScopeHeader";
interface IProps {
event: MatrixEvent;
@ -134,7 +133,7 @@ export default class ThirdPartyMemberInfo extends React.Component<IProps, IState
}
return (
<BaseCard header={createSpaceScopeHeader(this.room)} onClose={this.props.onClose}>
<BaseCard onClose={this.props.onClose}>
<Flex className="mx_ThirdPartyMemberInfo" direction="column" gap="var(--cpd-space-4x)">
<Flex direction="column" as="section" justify="start" gap="var(--cpd-space-2x)">
{/* same as userinfo name style */}