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.")} -
- {_t( - "This is an experimental feature. For now, " + - "new users receiving an invite will have to open the invite on to actually join.", - {}, - { - b: (sub) => {sub}, - link: () => ( - - app.element.io - - ), - }, - )} -
- {error &&
{error}
}
{fields} diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index ff653aa3c6..f4e329696e 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -3479,7 +3479,6 @@ "Inviting…": "Inviting…", "Invite your teammates": "Invite your teammates", "Make sure the right people have access. You can invite more later.": "Make sure the right people have access. You can invite more later.", - "This is an experimental feature. For now, new users receiving an invite will have to open the invite on to actually join.": "This is an experimental feature. For now, new users receiving an invite will have to open the invite on to actually join.", "Invite by username": "Invite by username", "What are some things you want to discuss in %(spaceName)s?": "What are some things you want to discuss in %(spaceName)s?", "Let's create a room for each of them.": "Let's create a room for each of them.",