diff --git a/res/img/ia-design-changes.png b/res/img/ia-design-changes.png deleted file mode 100644 index d13caff412..0000000000 Binary files a/res/img/ia-design-changes.png and /dev/null differ diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index ea951b45ec..fa3d710852 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -114,9 +114,6 @@ import { PosthogAnalytics } from '../../PosthogAnalytics'; import { initSentry } from "../../sentry"; import CallHandler from "../../CallHandler"; import { showSpaceInvite } from "../../utils/space"; -import GenericToast from "../views/toasts/GenericToast"; -import InfoDialog from "../views/dialogs/InfoDialog"; -import FeedbackDialog from "../views/dialogs/FeedbackDialog"; import AccessibleButton from "../views/elements/AccessibleButton"; import { ActionPayload } from "../../dispatcher/payloads"; import { SummarizedNotificationState } from "../../stores/notifications/SummarizedNotificationState"; @@ -1554,61 +1551,6 @@ export default class MatrixChat extends React.PureComponent { showNotificationsToast(false); } - if (!localStorage.getItem("mx_seen_ia_1.1_changes_toast") && SettingsStore.getValue(UIFeature.Feedback)) { - const key = "IA_1.1_TOAST"; - ToastStore.sharedInstance().addOrReplaceToast({ - key, - title: _t("Testing small changes"), - props: { - description: _t("Your feedback is wanted as we try out some design changes."), - acceptLabel: _t("More info"), - onAccept: () => { - Modal.createDialog(InfoDialog, { - title: _t("We're testing some design changes"), - description: <> - -

{ _t( - "Your ongoing feedback would be very welcome, so if you see anything " + - "different you want to comment on, please let us know about it. " + - "Click your avatar to find a quick feedback link.", - {}, - { - a: sub => { - ev.preventDefault(); - ev.stopPropagation(); - Modal.createTrackedDialog('Feedback Dialog', '', FeedbackDialog); - }} - > - { sub } - , - }, - ) }

-

{ _t("If you'd like to preview or test some potential upcoming changes, " + - "there's an option in feedback to let us contact you.") }

- , - }, "mx_DialogDesignChanges_wrapper"); - localStorage.setItem("mx_seen_ia_1.1_changes_toast", "true"); - ToastStore.sharedInstance().dismissToast(key); - }, - rejectLabel: _t("Dismiss"), - onReject: () => { - localStorage.setItem("mx_seen_ia_1.1_changes_toast", "true"); - ToastStore.sharedInstance().dismissToast(key); - }, - }, - icon: "labs", - component: GenericToast, - priority: 9, - }); - } - dis.fire(Action.FocusSendMessageComposer); this.setState({ ready: true, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index e2c56f1913..97b7a0e37b 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -3037,12 +3037,6 @@ "Failed to forget room %(errCode)s": "Failed to forget room %(errCode)s", "Unable to copy room link": "Unable to copy room link", "Unable to copy a link to the room to the clipboard.": "Unable to copy a link to the room to the clipboard.", - "Testing small changes": "Testing small changes", - "Your feedback is wanted as we try out some design changes.": "Your feedback is wanted as we try out some design changes.", - "More info": "More info", - "We're testing some design changes": "We're testing some design changes", - "Your ongoing feedback would be very welcome, so if you see anything different you want to comment on, please let us know about it. Click your avatar to find a quick feedback link.": "Your ongoing feedback would be very welcome, so if you see anything different you want to comment on, please let us know about it. Click your avatar to find a quick feedback link.", - "If you'd like to preview or test some potential upcoming changes, there's an option in feedback to let us contact you.": "If you'd like to preview or test some potential upcoming changes, there's an option in feedback to let us contact you.", "Signed Out": "Signed Out", "For security, this session has been signed out. Please sign in again.": "For security, this session has been signed out. Please sign in again.", "Terms and Conditions": "Terms and Conditions", diff --git a/test/end-to-end-tests/src/scenarios/toast.ts b/test/end-to-end-tests/src/scenarios/toast.ts index 246107c27a..c8f094f840 100644 --- a/test/end-to-end-tests/src/scenarios/toast.ts +++ b/test/end-to-end-tests/src/scenarios/toast.ts @@ -27,7 +27,6 @@ export async function toastScenarios(alice: ElementSession, bob: ElementSession) alice.log.step(`accepts analytics toast`); await acceptToast(alice, "Help improve Element"); - await rejectToast(alice, "Testing small changes"); alice.log.done(); alice.log.step(`checks no remaining toasts`); @@ -42,7 +41,6 @@ export async function toastScenarios(alice: ElementSession, bob: ElementSession) bob.log.step(`reject analytics toast`); await rejectToast(bob, "Help improve Element"); - await rejectToast(bob, "Testing small changes"); bob.log.done(); bob.log.step(`checks no remaining toasts`);