diff --git a/cypress/e2e/spaces/spaces.spec.ts b/cypress/e2e/spaces/spaces.spec.ts index 9b1fb241d0..47228e2bcd 100644 --- a/cypress/e2e/spaces/spaces.spec.ts +++ b/cypress/e2e/spaces/spaces.spec.ts @@ -140,6 +140,8 @@ describe("Spaces", () => { cy.findByPlaceholderText("Support").type("Projects"); cy.findByRole("button", { name: "Continue" }).click(); + cy.get(".mx_SpaceRoomView").percySnapshotElement("Space - 'Invite your teammates' dialog"); + cy.get(".mx_SpaceRoomView").within(() => { cy.get("h1").findByText("Invite your teammates"); cy.findByRole("button", { name: "Skip for now" }).click(); diff --git a/res/css/structures/_SpaceRoomView.pcss b/res/css/structures/_SpaceRoomView.pcss index 3487253ee7..5f434a2802 100644 --- a/res/css/structures/_SpaceRoomView.pcss +++ b/res/css/structures/_SpaceRoomView.pcss @@ -271,23 +271,6 @@ $SpaceRoomViewInnerWidth: 428px; } .mx_SpaceRoomView_inviteTeammates { - /* XXX remove this when spaces leaves Beta */ - .mx_SpaceRoomView_inviteTeammates_betaDisclaimer { - padding: 16px; - position: relative; - border-radius: 8px; - background-color: $header-panel-bg-color; - max-width: $SpaceRoomViewInnerWidth; - margin: 20px 0 30px; - box-sizing: border-box; - - .mx_BetaCard_betaPill { - position: absolute; - left: 16px; - top: 16px; - } - } - .mx_SpaceRoomView_inviteTeammates_buttons { color: $secondary-content; margin-top: 28px; diff --git a/src/components/structures/SpaceRoomView.tsx b/src/components/structures/SpaceRoomView.tsx index 1e582add9d..4e163a820f 100644 --- a/src/components/structures/SpaceRoomView.tsx +++ b/src/components/structures/SpaceRoomView.tsx @@ -77,7 +77,6 @@ import MainSplit from "./MainSplit"; import RightPanel from "./RightPanel"; import SpaceHierarchy, { showRoom } from "./SpaceHierarchy"; import { RoomPermalinkCreator } from "../../utils/permalinks/Permalinks"; -import ExternalLink from "../views/elements/ExternalLink"; interface IProps { space: Room; @@ -586,22 +585,6 @@ const SpaceSetupPrivateInvite: React.FC<{ {_t("Make sure the right people have access. You can invite more later.")} -