From e67117cee8c836c40010d54fca891218b27ce284 Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Wed, 1 Apr 2026 16:51:39 -0600 Subject: [PATCH 1/5] fix: removed the request institution button temporarily --- src/components/support/Support.js | 8 ++++++-- src/components/support/SupportMenu.js | 18 ++++++++++-------- .../support/__tests__/Support-test.tsx | 8 +++++--- .../support/__tests__/SupportMenu-test.tsx | 4 +++- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/src/components/support/Support.js b/src/components/support/Support.js index d4cd27e286..7a92bce361 100644 --- a/src/components/support/Support.js +++ b/src/components/support/Support.js @@ -10,6 +10,8 @@ import { SupportSuccess } from 'src/components/support/SupportSuccess' import { AriaLive } from 'src/components/AriaLive' import { fadeOut } from 'src/utilities/Animation' +const ENABLE_REQUEST_INSTITUTION = false + export const VIEWS = { MENU: 'menu', REQ_INSTITUTION: 'reqInstitution', @@ -65,11 +67,13 @@ export const Support = React.forwardRef((props, supportNavRef) => { setCurrentView(VIEWS.GENERAL_SUPPORT)} - selectRequestInstitution={() => setCurrentView(VIEWS.REQ_INSTITUTION)} + {...(ENABLE_REQUEST_INSTITUTION && { + selectRequestInstitution: () => setCurrentView(VIEWS.REQ_INSTITUTION), + })} /> )} - {currentView === VIEWS.REQ_INSTITUTION && ( + {currentView === VIEWS.REQ_INSTITUTION && ENABLE_REQUEST_INSTITUTION && ( loadToView !== VIEWS.MENU diff --git a/src/components/support/SupportMenu.js b/src/components/support/SupportMenu.js index 9ab7ca0aae..5b948a45f4 100644 --- a/src/components/support/SupportMenu.js +++ b/src/components/support/SupportMenu.js @@ -29,13 +29,15 @@ export const SupportMenu = React.forwardRef((props, menuRef) => { - } - subTitle={__('Request to have it added')} - title={__("Can't find your bank?")} - /> + {selectRequestInstitution && ( + } + subTitle={__('Request to have it added')} + title={__("Can't find your bank?")} + /> + )} ({ SupportMenu.propTypes = { selectGeneralSupport: PropTypes.func.isRequired, - selectRequestInstitution: PropTypes.func.isRequired, + selectRequestInstitution: PropTypes.func, } SupportMenu.displayName = 'SupportMenu' diff --git a/src/components/support/__tests__/Support-test.tsx b/src/components/support/__tests__/Support-test.tsx index cd4f9fe1ca..4dca969c08 100644 --- a/src/components/support/__tests__/Support-test.tsx +++ b/src/components/support/__tests__/Support-test.tsx @@ -19,11 +19,12 @@ describe('Support component tests', () => { render() expect(await screen.findByText('Get help')).toBeInTheDocument() - expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() + // expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() expect(await screen.findByText('Request support')).toBeInTheDocument() }) - it('renders the RequestInstitution', async () => { + // Skipping this test since RequestInstitution feature is temporarily disabled + it.skip('renders the RequestInstitution', async () => { const reqInstitutionProps = { loadToView: VIEWS.REQ_INSTITUTION, onClose, @@ -54,7 +55,8 @@ describe('Support component tests', () => { }) }) -it('renders the success page after submitting a request via the menu', async () => { +// Skipping this test since RequestInstitution feature is temporarily disabled +it.skip('renders the success page after submitting a request via the menu', async () => { const menuProps = { loadToView: VIEWS.MENU, onClose, diff --git a/src/components/support/__tests__/SupportMenu-test.tsx b/src/components/support/__tests__/SupportMenu-test.tsx index 6e3780fad4..d0fa2775a4 100644 --- a/src/components/support/__tests__/SupportMenu-test.tsx +++ b/src/components/support/__tests__/SupportMenu-test.tsx @@ -20,13 +20,15 @@ describe('SupportMenu', () => { expect(useAnalyticsPath).toHaveBeenCalledWith(...PageviewInfo.CONNECT_SUPPORT_MENU) }) - it('renders supportMenu and clicks request institution utility row', async () => { + // Skipping this test since RequestInstitution feature is temporarily disabled + it.skip('renders supportMenu and clicks request institution utility row when feature is enabled', async () => { const { user } = render() await user.click(await screen.findByText("Can't find your bank?")) await waitFor(() => { expect(selectRequestInstitution).toHaveBeenCalled() }) }) + it('renders supportMenu and clicks request general support utility row', async () => { const { user } = render() await user.click(await screen.getByText('Request support')) From 47357f62423e73086c4b4a1eadba6a6f7bfc28f8 Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Thu, 2 Apr 2026 12:46:37 -0600 Subject: [PATCH 2/5] added a feature toggle to enable or disable the request institution button --- src/components/support/Support.js | 7 +- .../support/__tests__/Support-test.tsx | 87 ++++++++++--------- .../support/__tests__/SupportMenu-test.tsx | 19 ++-- src/const/FeatureToggles.js | 3 + src/views/search/views/SearchNoResult.js | 3 +- .../search/views/SearchedInstitutionsList.js | 3 +- 6 files changed, 68 insertions(+), 54 deletions(-) create mode 100644 src/const/FeatureToggles.js diff --git a/src/components/support/Support.js b/src/components/support/Support.js index 7a92bce361..b1d6503d79 100644 --- a/src/components/support/Support.js +++ b/src/components/support/Support.js @@ -9,8 +9,7 @@ import { GeneralSupport } from 'src/components/support/GeneralSupport' import { SupportSuccess } from 'src/components/support/SupportSuccess' import { AriaLive } from 'src/components/AriaLive' import { fadeOut } from 'src/utilities/Animation' - -const ENABLE_REQUEST_INSTITUTION = false +import { FeatureToggles } from 'src/const/FeatureToggles' export const VIEWS = { MENU: 'menu', @@ -67,13 +66,13 @@ export const Support = React.forwardRef((props, supportNavRef) => { setCurrentView(VIEWS.GENERAL_SUPPORT)} - {...(ENABLE_REQUEST_INSTITUTION && { + {...(FeatureToggles.ENABLE_REQUEST_INSTITUTION && { selectRequestInstitution: () => setCurrentView(VIEWS.REQ_INSTITUTION), })} /> )} - {currentView === VIEWS.REQ_INSTITUTION && ENABLE_REQUEST_INSTITUTION && ( + {currentView === VIEWS.REQ_INSTITUTION && FeatureToggles.ENABLE_REQUEST_INSTITUTION && ( loadToView !== VIEWS.MENU diff --git a/src/components/support/__tests__/Support-test.tsx b/src/components/support/__tests__/Support-test.tsx index 4dca969c08..67aa771fba 100644 --- a/src/components/support/__tests__/Support-test.tsx +++ b/src/components/support/__tests__/Support-test.tsx @@ -1,6 +1,7 @@ import React from 'react' import { render, screen, waitFor } from 'src/utilities/testingLibrary' import { Support, VIEWS } from 'src/components/support/Support' +import { FeatureToggles } from 'src/const/FeatureToggles' vi.mock('src/hooks/useAnalyticsPath') const onClose = vi.fn() @@ -19,25 +20,26 @@ describe('Support component tests', () => { render() expect(await screen.findByText('Get help')).toBeInTheDocument() - // expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() expect(await screen.findByText('Request support')).toBeInTheDocument() }) - // Skipping this test since RequestInstitution feature is temporarily disabled - it.skip('renders the RequestInstitution', async () => { - const reqInstitutionProps = { - loadToView: VIEWS.REQ_INSTITUTION, - onClose, - ref: { current: null }, - } - render() + it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( + 'renders the RequestInstitution', + async () => { + const reqInstitutionProps = { + loadToView: VIEWS.REQ_INSTITUTION, + onClose, + ref: { current: null }, + } + render() - expect( - await screen.findByText( - "If you can't find your financial institution, you may submit a request to add it to our system.", - ), - ).toBeInTheDocument() - }) + expect( + await screen.findByText( + "If you can't find your financial institution, you may submit a request to add it to our system.", + ), + ).toBeInTheDocument() + }, + ) it('renders the GeneralSupport', async () => { const generalSupport = { @@ -55,33 +57,38 @@ describe('Support component tests', () => { }) }) -// Skipping this test since RequestInstitution feature is temporarily disabled -it.skip('renders the success page after submitting a request via the menu', async () => { - const menuProps = { - loadToView: VIEWS.MENU, - onClose, - ref: React.createRef(), - } - const { user: userEvent } = render() +it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( + 'renders the success page after submitting a request via the menu', + async () => { + const menuProps = { + loadToView: VIEWS.MENU, + onClose, + ref: React.createRef(), + } + const { user: userEvent } = render() - expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() - await userEvent.click(screen.getByText("Can't find your bank?")) + expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() + await userEvent.click(screen.getByText("Can't find your bank?")) - const continueButton = await screen.findByText('Continue') - expect(continueButton).toBeInTheDocument() - await userEvent.click(continueButton) + const continueButton = await screen.findByText('Continue') + expect(continueButton).toBeInTheDocument() + await userEvent.click(continueButton) - // Make sure the "required" help text shows up - expect(await screen.findByText('Institution name is required')).toBeInTheDocument() - expect(await screen.findByText('Institution website is required')).toBeInTheDocument() + // Make sure the "required" help text shows up + expect(await screen.findByText('Institution name is required')).toBeInTheDocument() + expect(await screen.findByText('Institution website is required')).toBeInTheDocument() - // Type and submit values - await userEvent.type(screen.getByLabelText(/Institution name/i), 'institution name') - await userEvent.type(screen.getByLabelText(/Institution website/i), 'http://institution.name.com') - await userEvent.click(continueButton) + // Type and submit values + await userEvent.type(screen.getByLabelText(/Institution name/i), 'institution name') + await userEvent.type( + screen.getByLabelText(/Institution website/i), + 'http://institution.name.com', + ) + await userEvent.click(continueButton) - // Success page should render - await waitFor(() => { - expect(screen.getByText('Request received')).toBeInTheDocument() - }) -}) + // Success page should render + await waitFor(() => { + expect(screen.getByText('Request received')).toBeInTheDocument() + }) + }, +) diff --git a/src/components/support/__tests__/SupportMenu-test.tsx b/src/components/support/__tests__/SupportMenu-test.tsx index d0fa2775a4..218c62e7b3 100644 --- a/src/components/support/__tests__/SupportMenu-test.tsx +++ b/src/components/support/__tests__/SupportMenu-test.tsx @@ -4,6 +4,7 @@ import { screen, render, waitFor } from 'src/utilities/testingLibrary' import { SupportMenu } from 'src/components/support/SupportMenu' import { useAnalyticsPath } from 'src/hooks/useAnalyticsPath' import { PageviewInfo } from 'src/const/Analytics' +import { FeatureToggles } from 'src/const/FeatureToggles' vi.mock('src/hooks/useAnalyticsPath') @@ -20,14 +21,16 @@ describe('SupportMenu', () => { expect(useAnalyticsPath).toHaveBeenCalledWith(...PageviewInfo.CONNECT_SUPPORT_MENU) }) - // Skipping this test since RequestInstitution feature is temporarily disabled - it.skip('renders supportMenu and clicks request institution utility row when feature is enabled', async () => { - const { user } = render() - await user.click(await screen.findByText("Can't find your bank?")) - await waitFor(() => { - expect(selectRequestInstitution).toHaveBeenCalled() - }) - }) + it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( + 'renders supportMenu and clicks request institution utility row when feature is enabled', + async () => { + const { user } = render() + await user.click(await screen.findByText("Can't find your bank?")) + await waitFor(() => { + expect(selectRequestInstitution).toHaveBeenCalled() + }) + }, + ) it('renders supportMenu and clicks request general support utility row', async () => { const { user } = render() diff --git a/src/const/FeatureToggles.js b/src/const/FeatureToggles.js new file mode 100644 index 0000000000..1b8bcd195f --- /dev/null +++ b/src/const/FeatureToggles.js @@ -0,0 +1,3 @@ +export const FeatureToggles = { + ENABLE_REQUEST_INSTITUTION: false, +} diff --git a/src/views/search/views/SearchNoResult.js b/src/views/search/views/SearchNoResult.js index d677313a3e..1a4348d632 100644 --- a/src/views/search/views/SearchNoResult.js +++ b/src/views/search/views/SearchNoResult.js @@ -12,6 +12,7 @@ import { stepToAddManualAccount, stepToMicrodeposits } from 'src/redux/actions/C import { __ } from 'src/utilities/Intl' import useAnalyticsPath from 'src/hooks/useAnalyticsPath' import { PageviewInfo } from 'src/const/Analytics' +import { FeatureToggles } from 'src/const/FeatureToggles' export const SearchNoResult = (props) => { useAnalyticsPath(...PageviewInfo.CONNECT_SEARCH_NO_RESULTS, { search_term: props.searchTerm }) @@ -32,7 +33,7 @@ export const SearchNoResult = (props) => { const isSupportEnabled = state.profiles.widgetProfile?.enable_support_requests const { isInAggMode } = selectCurrentMode(state) - return isSupportEnabled && isInAggMode + return isSupportEnabled && isInAggMode && FeatureToggles.ENABLE_REQUEST_INSTITUTION }) const isMicrodepositsEnabled = useSelector((state) => { const { isInVerifyMode } = selectCurrentMode(state) diff --git a/src/views/search/views/SearchedInstitutionsList.js b/src/views/search/views/SearchedInstitutionsList.js index b7a176eb74..0b25addbac 100644 --- a/src/views/search/views/SearchedInstitutionsList.js +++ b/src/views/search/views/SearchedInstitutionsList.js @@ -24,6 +24,7 @@ import { getDelay } from 'src/utilities/getDelay' import { LoadingSpinner } from 'src/components/LoadingSpinner' import { SEARCH_PAGE_DEFAULT } from 'src/views/search/consts' import { InstitutionTile } from 'src/components/InstitutionTile' +import { FeatureToggles } from 'src/const/FeatureToggles' export const SearchedInstitutionsList = (props) => { useAnalyticsPath(...PageviewInfo.CONNECT_SEARCHED) @@ -55,7 +56,7 @@ export const SearchedInstitutionsList = (props) => { const isSupportEnabled = state.profiles.widgetProfile?.enable_support_requests const { isInAggMode } = selectCurrentMode(state) - return isSupportEnabled && isInAggMode + return isSupportEnabled && isInAggMode && FeatureToggles.ENABLE_REQUEST_INSTITUTION }) const isMicrodepositsEnabled = useSelector((state) => { const { isInVerifyMode } = selectCurrentMode(state) From d98ba91f1e2b3a5096cca8595982f2b8983aee27 Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Thu, 2 Apr 2026 14:11:00 -0600 Subject: [PATCH 3/5] remove request institution button and related code --- src/components/support/RequestInstitution.js | 278 ------------------ src/components/support/Support.js | 26 +- src/components/support/SupportMenu.js | 12 +- .../__tests__/RequestInstitution-test.tsx | 68 ----- .../support/__tests__/Support-test.tsx | 57 +--- .../support/__tests__/SupportMenu-test.tsx | 14 - src/const/Analytics.js | 4 - src/const/FeatureToggles.js | 3 - src/views/search/Search.js | 42 +-- src/views/search/consts.js | 2 - src/views/search/views/SearchNoResult.js | 20 +- .../search/views/SearchedInstitutionsList.js | 25 +- 12 files changed, 7 insertions(+), 544 deletions(-) delete mode 100644 src/components/support/RequestInstitution.js delete mode 100644 src/components/support/__tests__/RequestInstitution-test.tsx delete mode 100644 src/const/FeatureToggles.js diff --git a/src/components/support/RequestInstitution.js b/src/components/support/RequestInstitution.js deleted file mode 100644 index dbf5eab530..0000000000 --- a/src/components/support/RequestInstitution.js +++ /dev/null @@ -1,278 +0,0 @@ -import React, { useState, useEffect, useRef } from 'react' -import PropTypes from 'prop-types' -import _isEmpty from 'lodash/isEmpty' - -import { useTokens } from '@kyper/tokenprovider' -import { Text } from '@mxenabled/mxui' -import { TextField } from 'src/privacy/input' -import { Button } from '@mui/material' - -import { __ } from 'src/utilities/Intl' - -import { SlideDown } from 'src/components/SlideDown' -import { PrivateAndSecure } from 'src/components/PrivateAndSecure' - -import { getDelay } from 'src/utilities/getDelay' -import { fadeOut } from 'src/utilities/Animation' -import { AriaLive } from 'src/components/AriaLive' -import { useForm } from 'src/hooks/useForm' -import useAnalyticsPath from 'src/hooks/useAnalyticsPath' -import { PageviewInfo } from 'src/const/Analytics' -import { useApi } from 'src/context/ApiContext' -import RequiredFieldNote from 'src/components/RequiredFieldNote' - -export const RequestInstitution = React.forwardRef((props, requestInstitutionRef) => { - const { handleClose, handleTicketSuccess, user } = props - useAnalyticsPath(...PageviewInfo.CONNECT_SUPPORT_REQUEST_INSTITUTION) - const { api } = useApi() - const [submitting, setSubmitting] = useState(false) - const initialForm = { - email: user.email ?? '', - institutionName: '', - institutionWebsite: '', - institutionLogin: '', - } - const schema = { - email: { - label: __('Your email address'), - required: true, - pattern: 'email', - }, - institutionName: { - label: __('Institution name'), - required: true, - }, - institutionWebsite: { - label: __('Institution website'), - required: true, - pattern: 'url', - }, - institutionLogin: { - label: __('Institution login page (optional)'), - required: false, - pattern: 'url', - }, - } - const { handleTextInputChange, handleSubmit, values, errors } = useForm( - () => setSubmitting(true), - schema, - initialForm, - ) - - const tokens = useTokens() - const styles = getStyles(tokens) - const getNextDelay = getDelay() - - const emailInputRef = useRef(null) - const institutionNameInputRef = useRef(null) - const institutionWebsiteInputRef = useRef(null) - const institutionLoginInputRef = useRef(null) - - useEffect(() => { - if (errors.email) { - emailInputRef.current?.focus() - } else if (errors.institutionName) { - institutionNameInputRef.current?.focus() - } else if (errors.institutionWebsite) { - institutionWebsiteInputRef.current?.focus() - } else if (errors.institutionLogin) { - institutionLoginInputRef.current?.focus() - } - }, [errors]) - - useEffect(() => { - if (submitting) { - const ticket = { - email: values.email, - message: `Institution Website : ${values.institutionWebsite} Institution Login Page : ${values.institutionLogin}`, - title: `Institution Request: ${values.institutionName}`, - } - - api - .createSupportTicket(ticket) - .then(() => - fadeOut(requestInstitutionRef.current, 'up', 300).then(() => - handleTicketSuccess(values.email), - ), - ) - } - }, [submitting]) - - const handleCancel = () => { - fadeOut(requestInstitutionRef.current, 'up', 300).then(() => handleClose()) - } - - return ( -
- - - {__('Request an institution')} - - - - {__( - "If you can't find your financial institution, you may submit a request to add it to our system.", - )} - - - -
e.preventDefault()}> - - {!user.email && ( -
- -
- )} -
- -
-
- -
-
- -
-
- - -
- - -
-
- -
- - - -
- ) -}) - -const getStyles = (tokens) => ({ - title: { - display: 'block', - marginBottom: tokens.Spacing.XSmall, - }, - paragraph: { - display: 'block', - marginBottom: tokens.Spacing.Large, - }, - input: { - marginBottom: tokens.Spacing.Large, - }, - buttons: { - display: 'inline-flex', - marginTop: tokens.Spacing.XSmall, - width: '100%', - }, - firstButton: { - marginRight: tokens.Spacing.Small, - }, - button: { - flexGrow: 1, - }, -}) - -RequestInstitution.propTypes = { - handleClose: PropTypes.func.isRequired, - handleTicketSuccess: PropTypes.func.isRequired, - user: PropTypes.object.isRequired, -} - -RequestInstitution.displayName = 'RequestInstitution' diff --git a/src/components/support/Support.js b/src/components/support/Support.js index b1d6503d79..93e8813af5 100644 --- a/src/components/support/Support.js +++ b/src/components/support/Support.js @@ -4,16 +4,13 @@ import { useSelector } from 'react-redux' import { useTokens } from '@kyper/tokenprovider' import { SupportMenu } from 'src/components/support/SupportMenu' -import { RequestInstitution } from 'src/components/support/RequestInstitution' import { GeneralSupport } from 'src/components/support/GeneralSupport' import { SupportSuccess } from 'src/components/support/SupportSuccess' import { AriaLive } from 'src/components/AriaLive' import { fadeOut } from 'src/utilities/Animation' -import { FeatureToggles } from 'src/const/FeatureToggles' export const VIEWS = { MENU: 'menu', - REQ_INSTITUTION: 'reqInstitution', GENERAL_SUPPORT: 'generalSupport', SUCCESS: 'success', } @@ -25,7 +22,6 @@ export const Support = React.forwardRef((props, supportNavRef) => { const [ariaLiveRegionMessage, setAriaLiveRegionMessage] = useState('') const user = useSelector((state) => state.profiles.user) const menuRef = useRef(null) - const requestInstitutionRef = useRef(null) const generalSupportRef = useRef(null) const supportSuccessRef = useRef(null) const tokens = useTokens() @@ -35,9 +31,7 @@ export const Support = React.forwardRef((props, supportNavRef) => { return { handleCloseSupport() { if (loadToView !== VIEWS.MENU) { - if (currentView === VIEWS.REQ_INSTITUTION) { - handleCloseSupport(requestInstitutionRef) - } else if (currentView === VIEWS.GENERAL_SUPPORT) { + if (currentView === VIEWS.GENERAL_SUPPORT) { handleCloseSupport(generalSupportRef) } else if (currentView === VIEWS.SUCCESS) { handleCloseSupport(supportSuccessRef) @@ -66,22 +60,6 @@ export const Support = React.forwardRef((props, supportNavRef) => { setCurrentView(VIEWS.GENERAL_SUPPORT)} - {...(FeatureToggles.ENABLE_REQUEST_INSTITUTION && { - selectRequestInstitution: () => setCurrentView(VIEWS.REQ_INSTITUTION), - })} - /> - )} - - {currentView === VIEWS.REQ_INSTITUTION && FeatureToggles.ENABLE_REQUEST_INSTITUTION && ( - - loadToView !== VIEWS.MENU - ? handleCloseSupport(requestInstitutionRef) - : setCurrentView(VIEWS.MENU) - } - handleTicketSuccess={handleTicketSuccess} - ref={requestInstitutionRef} - user={user} /> )} @@ -132,7 +110,7 @@ const getStyles = (tokens) => ({ }) Support.propTypes = { - loadToView: PropTypes.oneOf([VIEWS.MENU, VIEWS.REQ_INSTITUTION, VIEWS.GENERAL_SUPPORT]), + loadToView: PropTypes.oneOf([VIEWS.MENU, VIEWS.GENERAL_SUPPORT]), onClose: PropTypes.func.isRequired, } diff --git a/src/components/support/SupportMenu.js b/src/components/support/SupportMenu.js index 5b948a45f4..93a617384c 100644 --- a/src/components/support/SupportMenu.js +++ b/src/components/support/SupportMenu.js @@ -14,7 +14,7 @@ import useAnalyticsPath from 'src/hooks/useAnalyticsPath' import { PageviewInfo } from 'src/const/Analytics' export const SupportMenu = React.forwardRef((props, menuRef) => { - const { selectGeneralSupport, selectRequestInstitution } = props + const { selectGeneralSupport } = props useAnalyticsPath(...PageviewInfo.CONNECT_SUPPORT_MENU) const tokens = useTokens() const styles = getStyles(tokens) @@ -29,15 +29,6 @@ export const SupportMenu = React.forwardRef((props, menuRef) => {
- {selectRequestInstitution && ( - } - subTitle={__('Request to have it added')} - title={__("Can't find your bank?")} - /> - )} ({ SupportMenu.propTypes = { selectGeneralSupport: PropTypes.func.isRequired, - selectRequestInstitution: PropTypes.func, } SupportMenu.displayName = 'SupportMenu' diff --git a/src/components/support/__tests__/RequestInstitution-test.tsx b/src/components/support/__tests__/RequestInstitution-test.tsx deleted file mode 100644 index 5672636aa1..0000000000 --- a/src/components/support/__tests__/RequestInstitution-test.tsx +++ /dev/null @@ -1,68 +0,0 @@ -import React from 'react' -import { render, screen, waitFor } from 'src/utilities/testingLibrary' - -import { RequestInstitution } from 'src/components/support/RequestInstitution' -import { useAnalyticsPath } from 'src/hooks/useAnalyticsPath' -import { PageviewInfo } from 'src/const/Analytics' - -vi.mock('src/hooks/useAnalyticsPath') -const handleClose = vi.fn() -const handleTicketSuccess = vi.fn() - -const requestInstitutionTestProps = { - handleClose, - handleTicketSuccess, - user: { - email: 'email@test.com', - }, -} - -describe('RequestInstitution', () => { - afterEach(() => { - vi.clearAllMocks() - }) - - it('can render and send a pageview', async () => { - render() - - expect(useAnalyticsPath).toHaveBeenCalledWith( - ...PageviewInfo.CONNECT_SUPPORT_REQUEST_INSTITUTION, - ) - }) - - it('handles its cancel button', async () => { - const { user } = render( - , - ) - const button = await screen.findByText('Cancel') - expect(button).toBeInTheDocument() - - await user.click(button) - await waitFor(() => { - expect(handleClose).toHaveBeenCalledTimes(1) - }) - }) - - it('handles its continue button, after the response comes back', async () => { - const { user } = render( - , - ) - const continueButton = await screen.findByText('Continue') - expect(continueButton).toBeInTheDocument() - await user.click(continueButton) - - // Make sure the "required" help text shows up - expect(await screen.findByText('Institution name is required')).toBeInTheDocument() - expect(await screen.findByText('Institution website is required')).toBeInTheDocument() - - // Type and submit values - await user.type(screen.getByLabelText(/Institution name/i), 'institution name') - await user.type(screen.getByLabelText(/Institution website/i), 'http://institution.name.com') - await user.click(continueButton) - - // // Handler should have now been called - await waitFor(() => { - expect(handleTicketSuccess).toHaveBeenCalledTimes(1) - }) - }) -}) diff --git a/src/components/support/__tests__/Support-test.tsx b/src/components/support/__tests__/Support-test.tsx index 67aa771fba..b4ecb3949d 100644 --- a/src/components/support/__tests__/Support-test.tsx +++ b/src/components/support/__tests__/Support-test.tsx @@ -1,7 +1,6 @@ import React from 'react' -import { render, screen, waitFor } from 'src/utilities/testingLibrary' +import { render, screen } from 'src/utilities/testingLibrary' import { Support, VIEWS } from 'src/components/support/Support' -import { FeatureToggles } from 'src/const/FeatureToggles' vi.mock('src/hooks/useAnalyticsPath') const onClose = vi.fn() @@ -23,24 +22,6 @@ describe('Support component tests', () => { expect(await screen.findByText('Request support')).toBeInTheDocument() }) - it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( - 'renders the RequestInstitution', - async () => { - const reqInstitutionProps = { - loadToView: VIEWS.REQ_INSTITUTION, - onClose, - ref: { current: null }, - } - render() - - expect( - await screen.findByText( - "If you can't find your financial institution, you may submit a request to add it to our system.", - ), - ).toBeInTheDocument() - }, - ) - it('renders the GeneralSupport', async () => { const generalSupport = { loadToView: VIEWS.GENERAL_SUPPORT, @@ -56,39 +37,3 @@ describe('Support component tests', () => { ).toBeInTheDocument() }) }) - -it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( - 'renders the success page after submitting a request via the menu', - async () => { - const menuProps = { - loadToView: VIEWS.MENU, - onClose, - ref: React.createRef(), - } - const { user: userEvent } = render() - - expect(await screen.findByText("Can't find your bank?")).toBeInTheDocument() - await userEvent.click(screen.getByText("Can't find your bank?")) - - const continueButton = await screen.findByText('Continue') - expect(continueButton).toBeInTheDocument() - await userEvent.click(continueButton) - - // Make sure the "required" help text shows up - expect(await screen.findByText('Institution name is required')).toBeInTheDocument() - expect(await screen.findByText('Institution website is required')).toBeInTheDocument() - - // Type and submit values - await userEvent.type(screen.getByLabelText(/Institution name/i), 'institution name') - await userEvent.type( - screen.getByLabelText(/Institution website/i), - 'http://institution.name.com', - ) - await userEvent.click(continueButton) - - // Success page should render - await waitFor(() => { - expect(screen.getByText('Request received')).toBeInTheDocument() - }) - }, -) diff --git a/src/components/support/__tests__/SupportMenu-test.tsx b/src/components/support/__tests__/SupportMenu-test.tsx index 218c62e7b3..db70b36030 100644 --- a/src/components/support/__tests__/SupportMenu-test.tsx +++ b/src/components/support/__tests__/SupportMenu-test.tsx @@ -4,16 +4,13 @@ import { screen, render, waitFor } from 'src/utilities/testingLibrary' import { SupportMenu } from 'src/components/support/SupportMenu' import { useAnalyticsPath } from 'src/hooks/useAnalyticsPath' import { PageviewInfo } from 'src/const/Analytics' -import { FeatureToggles } from 'src/const/FeatureToggles' vi.mock('src/hooks/useAnalyticsPath') const selectGeneralSupport = vi.fn() -const selectRequestInstitution = vi.fn() const supportMenuProps = { selectGeneralSupport, - selectRequestInstitution, } describe('SupportMenu', () => { it('renders supportMenu and dispatch pageview', async () => { @@ -21,17 +18,6 @@ describe('SupportMenu', () => { expect(useAnalyticsPath).toHaveBeenCalledWith(...PageviewInfo.CONNECT_SUPPORT_MENU) }) - it.skipIf(!FeatureToggles.ENABLE_REQUEST_INSTITUTION)( - 'renders supportMenu and clicks request institution utility row when feature is enabled', - async () => { - const { user } = render() - await user.click(await screen.findByText("Can't find your bank?")) - await waitFor(() => { - expect(selectRequestInstitution).toHaveBeenCalled() - }) - }, - ) - it('renders supportMenu and clicks request general support utility row', async () => { const { user } = render() await user.click(await screen.getByText('Request support')) diff --git a/src/const/Analytics.js b/src/const/Analytics.js index da197ae176..3089952e51 100644 --- a/src/const/Analytics.js +++ b/src/const/Analytics.js @@ -122,10 +122,6 @@ export const PageviewInfo = { CONNECT_SEARCHED: ['Connect Searched', '/searched'], CONNECT_SHARED_ROUTING_NUMBER: ['Connect Shared Routing Number', '/shared_routing_number'], CONNECT_SUPPORT_MENU: ['Connect Support Menu', '/support/support_menu'], - CONNECT_SUPPORT_REQUEST_INSTITUTION: [ - 'Connect Support Request Institution', - '/support/request_institution', - ], CONNECT_SUPPORT_GENERAL: ['Connect Support General', '/support/support_general'], CONNECT_SUPPORT_SUCCESS: ['Connect Support Success', '/support/support_success'], CONNECT_UPDATE_CREDENTIALS: [ diff --git a/src/const/FeatureToggles.js b/src/const/FeatureToggles.js deleted file mode 100644 index 1b8bcd195f..0000000000 --- a/src/const/FeatureToggles.js +++ /dev/null @@ -1,3 +0,0 @@ -export const FeatureToggles = { - ENABLE_REQUEST_INSTITUTION: false, -} diff --git a/src/views/search/Search.js b/src/views/search/Search.js index f193738ba8..23391f35d4 100644 --- a/src/views/search/Search.js +++ b/src/views/search/Search.js @@ -33,7 +33,6 @@ import { PopularInstitutionsList } from 'src/views/search/views/PopularInstituti import { SearchedInstitutionsList } from 'src/views/search/views/SearchedInstitutionsList' import { SearchNoResult } from 'src/views/search/views/SearchNoResult' import { SearchFailed } from 'src/views/search/views/SearchFailed' -import { Support, VIEWS as SUPPORT_VIEWS } from 'src/components/support/Support' import { LoadingSpinner } from 'src/components/LoadingSpinner' import useAnalyticsPath from 'src/hooks/useAnalyticsPath' import useAnalyticsEvent from 'src/hooks/useAnalyticsEvent' @@ -51,7 +50,6 @@ export const initialState = { currentView: SEARCH_VIEWS.LOADING, popularInstitutions: [], discoveredInstitutions: [], - showSupportView: false, searchedInstitutions: [], currentSearchResults: [], searchTerm: '', @@ -121,12 +119,6 @@ const reducer = (state, action) => { currentSearchResults: action.payload, } - case SEARCH_ACTIONS.SHOW_SUPPORT: - return { ...state, showSupportView: true } - - case SEARCH_ACTIONS.HIDE_SUPPORT: - return { ...state, showSupportView: false } - default: return state } @@ -137,7 +129,6 @@ export const Search = React.forwardRef((_, navigationRef) => { const [state, dispatch] = useReducer(reducer, initialState) const [ariaLiveRegionMessage, setAriaLiveRegionMessage] = useState('') const searchInput = useRef('') - const supportNavRef = useRef(null) const sendAnalyticsEvent = useAnalyticsEvent() const postMessageFunctions = useContext(PostMessageContext) const { api } = useApi() @@ -165,16 +156,9 @@ export const Search = React.forwardRef((_, navigationRef) => { useImperativeHandle(navigationRef, () => { return { handleBackButton() { - if (state.showSupportView) { - supportNavRef.current.handleCloseSupport() - } else { - reduxDispatch({ type: connectActions.ActionTypes.CONNECT_GO_BACK }) - } + reduxDispatch({ type: connectActions.ActionTypes.CONNECT_GO_BACK }) }, showBackButton() { - if (state.showSupportView) { - return true - } return false }, } @@ -278,14 +262,6 @@ export const Search = React.forwardRef((_, navigationRef) => { focusElement(document.getElementById('connect-search-header')) }, []) - useEffect(() => { - // Input is not a controlled input. When closing the support view the inputs value - // wasn't retained but the search results were. This repopulates the inputs values - if (state.showSupportView === false && state.searchTerm !== initialState.searchTerm) { - searchInput.current.value = state.searchTerm - } - }, [state.showSupportView]) - /** * It searches institutions on a given pagination page number and * It dispaches an appropriate action afterwards. @@ -342,16 +318,6 @@ export const Search = React.forwardRef((_, navigationRef) => { throw state.error } - if (state.showSupportView) { - return ( - dispatch({ type: SEARCH_ACTIONS.HIDE_SUPPORT })} - ref={supportNavRef} - /> - ) - } - return (
@@ -419,9 +385,6 @@ export const Search = React.forwardRef((_, navigationRef) => { {state.currentView === SEARCH_VIEWS.SEARCH_FAILED && } {state.currentView === SEARCH_VIEWS.NO_RESULTS && ( { - dispatch({ type: SEARCH_ACTIONS.SHOW_SUPPORT }) - }} searchTerm={state.searchTerm} setAriaLiveRegionMessage={setAriaLiveRegionMessage} /> @@ -436,9 +399,6 @@ export const Search = React.forwardRef((_, navigationRef) => { currentSearchResults={state.currentSearchResults} institutionSearch={institutionSearch} institutions={state.searchedInstitutions} - onRequestInstitution={() => { - dispatch({ type: SEARCH_ACTIONS.SHOW_SUPPORT }) - }} setAriaLiveRegionMessage={setAriaLiveRegionMessage} /> )} diff --git a/src/views/search/consts.js b/src/views/search/consts.js index d14b97d006..8ac75f8ca6 100644 --- a/src/views/search/consts.js +++ b/src/views/search/consts.js @@ -16,8 +16,6 @@ export const SEARCH_ACTIONS = { NO_RESULTS: 'institution_search/no_results', SEARCH_LOADING: 'institution_search/search_loading', SHOW_SEARCHED: 'institution_search/show_searched', - SHOW_SUPPORT: 'institution_search/show_supported', - HIDE_SUPPORT: 'institution_search/hide_supported', RESET_SEARCH: 'institution_search/reset_search', SEARCH_FAILED: 'institution_search/search_failed', } diff --git a/src/views/search/views/SearchNoResult.js b/src/views/search/views/SearchNoResult.js index 1a4348d632..e0d49b4a2a 100644 --- a/src/views/search/views/SearchNoResult.js +++ b/src/views/search/views/SearchNoResult.js @@ -12,11 +12,10 @@ import { stepToAddManualAccount, stepToMicrodeposits } from 'src/redux/actions/C import { __ } from 'src/utilities/Intl' import useAnalyticsPath from 'src/hooks/useAnalyticsPath' import { PageviewInfo } from 'src/const/Analytics' -import { FeatureToggles } from 'src/const/FeatureToggles' export const SearchNoResult = (props) => { useAnalyticsPath(...PageviewInfo.CONNECT_SEARCH_NO_RESULTS, { search_term: props.searchTerm }) - const { onRequestInstitution, setAriaLiveRegionMessage } = props + const { setAriaLiveRegionMessage } = props const timerRef = useRef(null) const tokens = useTokens() const styles = getStyles(tokens) @@ -29,12 +28,6 @@ export const SearchNoResult = (props) => { return isManualAccountsEnabled && isInAggMode && !hasAtriumAPI }) - const enableSupportRequests = useSelector((state) => { - const isSupportEnabled = state.profiles.widgetProfile?.enable_support_requests - const { isInAggMode } = selectCurrentMode(state) - - return isSupportEnabled && isInAggMode && FeatureToggles.ENABLE_REQUEST_INSTITUTION - }) const isMicrodepositsEnabled = useSelector((state) => { const { isInVerifyMode } = selectCurrentMode(state) const clientProfile = state.profiles.clientProfile || {} @@ -92,16 +85,6 @@ export const SearchNoResult = (props) => { )} - {enableSupportRequests && ( - - )} - {/* Microdeposits uses ACH which isn't availbale in Canada(fr-CA) so not translating */} {isMicrodepositsEnabled && ( )} - {enableSupportRequests && ( - - )} {/* Microdeposits uses ACH which isn't availbale in Canada(fr-CA) so not translating */} {isMicrodepositsEnabled && ( @@ -222,6 +200,5 @@ SearchedInstitutionsList.propTypes = { currentSearchResults: PropTypes.array.isRequired, institutions: PropTypes.array.isRequired, institutionSearch: PropTypes.func.isRequired, - onRequestInstitution: PropTypes.func.isRequired, setAriaLiveRegionMessage: PropTypes.func.isRequired, } From c446734d140a5b2c44047e2f829c074183d3f6f7 Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Thu, 2 Apr 2026 14:15:10 -0600 Subject: [PATCH 4/5] clean up language files --- src/const/language/es.json | 8 ------ src/const/language/es.po | 47 +++-------------------------------- src/const/language/frCa.json | 8 ------ src/const/language/frCa.po | 48 ++++-------------------------------- 4 files changed, 9 insertions(+), 102 deletions(-) diff --git a/src/const/language/es.json b/src/const/language/es.json index 550d0a5b76..b530c6d907 100644 --- a/src/const/language/es.json +++ b/src/const/language/es.json @@ -155,8 +155,6 @@ "Deposits verified": "Depósitos verificados", "You're almost done setting things up. Continue to your institution.": "Ya casi has terminado de configurar las cosas. Continuar a su institución.", "Connect with account numbers": "Conectarse con números de cuenta", - "Request to have it added": "Solicitar que se agregue", - "Can't find your bank?": "¿No encuentra su banco?", "Get help connecting your account": "Obtenga ayuda para conectar su cuenta", "Request support": "Pedir soporte", "Please use this form for technical issues about connecting your account. Do not include private or financial information, such as account number or password. For financial issues about transactions, bill pay, transfers, loans, rewards and so on, please contact the appropriate customer service department directly.": "Utilice este formulario para problemas técnicos relacionados con la conexión de su cuenta. No incluya información privada o financiera, como número de cuenta o contraseña. Para cuestiones financieras sobre transacciones, pago de facturas, transferencias, préstamos, recompensas, etc., comuníquese directamente con el departamento de servicio al cliente correspondiente.", @@ -166,11 +164,6 @@ "Request received": "Solicitud recibida", "Thanks! Your request has been received. A reply will be sent to %1. Be sure to check your junk mail or spam folder, as replies sometimes end up there.": "¡Gracias! Su petición ha sido recibida. Se enviará una respuesta a %1. Asegúrese de revisar su correo no deseado o carpeta de correo no deseado, ya que las respuestas a veces terminan allí.", "Our hours are Monday to Friday, 9 a.m. – 5 p.m. MST.": "Nuestro horario de atención es de Lunes a Viernes, de 9am a 5pm, horario de la montaña (UTC -7)", - "Request an institution": "Solicite una institución", - "If you can't find your financial institution, you may submit a request to add it to our system.": "Si no puede encontrar su institución financiera, puede enviar una solicitud para agregarla a nuestro sistema.", - "Institution name": "Nombre de la institución", - "Institution website": "Sitio web de la institución", - "Institution login page (optional)": "Página de inicio de sesión de la institución (opcional)", "This process may take a while to finish": "Este proceso puede tardar un poco en finalizar", "Checking microdeposit amounts.": "Consulta de importes de microdepósitos.", "Basic account information": "Información básica de la cuenta", @@ -248,7 +241,6 @@ "Trouble signing in?": "¿Problemas para iniciar sesión?", "Please try saving your account again.": "Intente guardar su cuenta nuevamente.", "Search for your institution": "Busque su institución", - "Submit an institution request": "Presentar una solicitud de institución", "OK": "OK", "Try another institution": "Pruebe con otra institución", "The first and last characters are blank spaces": "El primer y último carácter son espacios en blanco", diff --git a/src/const/language/es.po b/src/const/language/es.po index b713fb6bf8..9200ac9436 100644 --- a/src/const/language/es.po +++ b/src/const/language/es.po @@ -114,9 +114,7 @@ msgid "Private and secure" msgstr "Privado y seguro" #: src/components/DeleteMemberSurvey.js -#: src/components/support/GeneralSupport.js -#: src/components/support/RequestInstitution.js -#: src/components/LeavingNoticeFlat.js +#: src/components/support/GeneralSupport.js src/components/LeavingNoticeFlat.js msgid "Cancel" msgstr "Cancelar" @@ -170,7 +168,6 @@ msgstr "Continuar" #: src/components/support/GeneralSupport.js #: src/components/support/SupportSuccess.js -#: src/components/support/RequestInstitution.js #: src/components/ConnectSuccessSurvey.tsx src/components/FindAccountInfo.js #: src/components/LeavingNoticeFlat.js src/views/mfa/DefaultMFA.js #: src/views/mfa/MFAImages.js src/views/mfa/MFAOptions.js @@ -786,14 +783,6 @@ msgstr "" msgid "Connect with account numbers" msgstr "Conectarse con números de cuenta" -#: src/components/support/SupportMenu.js -msgid "Request to have it added" -msgstr "Solicitar que se agregue" - -#: src/components/support/SupportMenu.js -msgid "Can't find your bank?" -msgstr "¿No encuentra su banco?" - #: src/components/support/SupportMenu.js msgid "Get help connecting your account" msgstr "Obtenga ayuda para conectar su cuenta" @@ -818,7 +807,6 @@ msgstr "" "directamente con el departamento de servicio al cliente correspondiente." #: src/components/support/GeneralSupport.js -#: src/components/support/RequestInstitution.js msgid "Your email address" msgstr "Tu correo electrónico" @@ -849,30 +837,6 @@ msgstr "" "Nuestro horario de atención es de Lunes a Viernes, de 9am a 5pm, horario de " "la montaña (UTC -7)" -#: src/components/support/RequestInstitution.js -msgid "Request an institution" -msgstr "Solicite una institución" - -#: src/components/support/RequestInstitution.js -msgid "" -"If you can't find your financial institution, you may submit a request to " -"add it to our system." -msgstr "" -"Si no puede encontrar su institución financiera, puede enviar una solicitud " -"para agregarla a nuestro sistema." - -#: src/components/support/RequestInstitution.js -msgid "Institution name" -msgstr "Nombre de la institución" - -#: src/components/support/RequestInstitution.js -msgid "Institution website" -msgstr "Sitio web de la institución" - -#: src/components/support/RequestInstitution.js -msgid "Institution login page (optional)" -msgstr "Página de inicio de sesión de la institución (opcional)" - #: src/views/credentials/Credentials.js msgid "This process may take a while to finish" msgstr "Este proceso puede tardar un poco en finalizar" @@ -1233,11 +1197,6 @@ msgstr "Intente guardar su cuenta nuevamente." msgid "Search for your institution" msgstr "Busque su institución" -#: src/views/search/views/SearchedInstitutionsList.js -#: src/views/search/views/SearchNoResult.js -msgid "Submit an institution request" -msgstr "Presentar una solicitud de institución" - #: src/views/loginError/PrimaryActions.js msgid "OK" msgstr "OK" @@ -2115,4 +2074,6 @@ msgstr "Modo de demostración activo" msgid "" "Live institutions are not available in the demo environment. Please select " "*MX Bank* to test the connection process." -msgstr "Las instituciones en vivo no están disponibles en el entorno de demostración. Seleccione *MX Bank* para probar el proceso de conexión." +msgstr "" +"Las instituciones en vivo no están disponibles en el entorno de " +"demostración. Seleccione *MX Bank* para probar el proceso de conexión." diff --git a/src/const/language/frCa.json b/src/const/language/frCa.json index b9ee931572..400b296399 100644 --- a/src/const/language/frCa.json +++ b/src/const/language/frCa.json @@ -158,8 +158,6 @@ "Deposits verified": "Dépôts vérifiés", "You're almost done setting things up. Continue to your institution.": "Vous avez presque fini de mettre les choses en place. Continuez vers votre établissement.", "Connect with account numbers": "Connectez-vous avec les numéros de compte", - "Request to have it added": "Demander son ajout", - "Can't find your bank?": "Vous ne trouvez pas votre banque ?", "Get help connecting your account": "Obtenez de l'aide pour connecter votre compte", "Request support": "Demander de l'aide", "Please use this form for technical issues about connecting your account. Do not include private or financial information, such as account number or password. For financial issues about transactions, bill pay, transfers, loans, rewards and so on, please contact the appropriate customer service department directly.": "Veuillez utiliser ce formulaire pour les problèmes techniques liés à la connexion de votre compte. N'incluez pas d'informations privées ou financières, telles que le numéro de compte ou le mot de passe. Pour les problèmes financiers concernant les transactions, le paiement de factures, les transferts, les prêts, les récompenses, etc., veuillez contacter directement le service client approprié.", @@ -169,11 +167,6 @@ "Request received": "Demande reçue", "Thanks! Your request has been received. A reply will be sent to %1. Be sure to check your junk mail or spam folder, as replies sometimes end up there.": "Merci! Votre demande a été reçue. Une réponse sera envoyée à %1. Assurez-vous de vérifier votre dossier de courrier indésirable ou de courrier indésirable, car les réponses s'y retrouvent parfois.", "Our hours are Monday to Friday, 9 a.m. – 5 p.m. MST.": "Nous sommes ouverts du lundi au vendredi, de 9 h à 17 h (heure des Rocheuses).", - "Request an institution": "Demander l’ajout d’une institution", - "If you can't find your financial institution, you may submit a request to add it to our system.": "Si vous ne trouvez pas votre institution financière, vous pouvez soumettre une demande pour l'ajouter à notre système.", - "Institution name": "Nom de l’institution", - "Institution website": "Site web de l’institution", - "Institution login page (optional)": "Page de connexion de l'institution (facultatif)", "This process may take a while to finish": "Ce processus peut prendre un certain temps pour se terminer", "Checking microdeposit amounts.": "Vérification des montants des micro-dépôts.", "Manage connected institutions": "Gérer les institutions et comptes connectés", @@ -251,7 +244,6 @@ "Trouble signing in?": "Vous avez des difficultés à vous connecter?", "Please try saving your account again.": "Veuillez réessayer d'enregistrer votre compte.", "Search for your institution": "Cherchez votre institution", - "Submit an institution request": "Soumettre une demande d'institution", "OK": "OK", "Try another institution": "Essayez une autre institution", "The first and last characters are blank spaces": "Les premier et dernier caractères sont des espaces vides", diff --git a/src/const/language/frCa.po b/src/const/language/frCa.po index f2408b2d7e..0835d13fa3 100644 --- a/src/const/language/frCa.po +++ b/src/const/language/frCa.po @@ -27,9 +27,7 @@ msgid "Search" msgstr "Chercher" #: src/components/DeleteMemberSurvey.js -#: src/components/support/GeneralSupport.js -#: src/components/support/RequestInstitution.js -#: src/components/LeavingNoticeFlat.js +#: src/components/support/GeneralSupport.js src/components/LeavingNoticeFlat.js msgid "Cancel" msgstr "Annuler" @@ -70,7 +68,6 @@ msgstr "Continuer" #: src/components/support/GeneralSupport.js #: src/components/support/SupportSuccess.js -#: src/components/support/RequestInstitution.js #: src/components/ConnectSuccessSurvey.tsx src/components/FindAccountInfo.js #: src/components/LeavingNoticeFlat.js src/views/mfa/DefaultMFA.js #: src/views/mfa/MFAImages.js src/views/mfa/MFAOptions.js @@ -873,14 +870,6 @@ msgstr "" msgid "Connect with account numbers" msgstr "Connectez-vous avec les numéros de compte" -#: src/components/support/SupportMenu.js -msgid "Request to have it added" -msgstr "Demander son ajout" - -#: src/components/support/SupportMenu.js -msgid "Can't find your bank?" -msgstr "Vous ne trouvez pas votre banque ?" - #: src/components/support/SupportMenu.js msgid "Get help connecting your account" msgstr "Obtenez de l'aide pour connecter votre compte" @@ -906,7 +895,6 @@ msgstr "" "directement le service client approprié." #: src/components/support/GeneralSupport.js -#: src/components/support/RequestInstitution.js msgid "Your email address" msgstr "Votre adresse email" @@ -937,30 +925,6 @@ msgstr "" "Nous sommes ouverts du lundi au vendredi, de 9 h à 17 h (heure des " "Rocheuses)." -#: src/components/support/RequestInstitution.js -msgid "Request an institution" -msgstr "Demander l’ajout d’une institution" - -#: src/components/support/RequestInstitution.js -msgid "" -"If you can't find your financial institution, you may submit a request to " -"add it to our system." -msgstr "" -"Si vous ne trouvez pas votre institution financière, vous pouvez soumettre " -"une demande pour l'ajouter à notre système." - -#: src/components/support/RequestInstitution.js -msgid "Institution name" -msgstr "Nom de l’institution" - -#: src/components/support/RequestInstitution.js -msgid "Institution website" -msgstr "Site web de l’institution" - -#: src/components/support/RequestInstitution.js -msgid "Institution login page (optional)" -msgstr "Page de connexion de l'institution (facultatif)" - #: src/views/credentials/Credentials.js msgid "This process may take a while to finish" msgstr "Ce processus peut prendre un certain temps pour se terminer" @@ -1326,11 +1290,6 @@ msgstr "Veuillez réessayer d'enregistrer votre compte." msgid "Search for your institution" msgstr "Cherchez votre institution" -#: src/views/search/views/SearchedInstitutionsList.js -#: src/views/search/views/SearchNoResult.js -msgid "Submit an institution request" -msgstr "Soumettre une demande d'institution" - #: src/views/loginError/PrimaryActions.js msgid "OK" msgstr "OK" @@ -2193,4 +2152,7 @@ msgstr "Mode démo actif" msgid "" "Live institutions are not available in the demo environment. Please select " "*MX Bank* to test the connection process." -msgstr "Les établissements réels ne sont pas disponibles dans l'environnement de démonstration. Veuillez sélectionner *MX Bank* pour tester la procédure de connexion." +msgstr "" +"Les établissements réels ne sont pas disponibles dans l'environnement de " +"démonstration. Veuillez sélectionner *MX Bank* pour tester la procédure de " +"connexion." From f25ac1d86d18603c9b23e05fc3c8a91dd1847501 Mon Sep 17 00:00:00 2001 From: Ashley Wright Date: Thu, 2 Apr 2026 14:35:05 -0600 Subject: [PATCH 5/5] removed unneeded quotes --- src/const/language/es.po | 6 ++---- src/const/language/frCa.po | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/const/language/es.po b/src/const/language/es.po index 9200ac9436..44e884c2cc 100644 --- a/src/const/language/es.po +++ b/src/const/language/es.po @@ -2071,9 +2071,7 @@ msgid "Demo mode active" msgstr "Modo de demostración activo" #: src/views/demoConnectGuard/DemoConnectGuard.tsx -msgid "" -"Live institutions are not available in the demo environment. Please select " +msgid "Live institutions are not available in the demo environment. Please select " "*MX Bank* to test the connection process." -msgstr "" -"Las instituciones en vivo no están disponibles en el entorno de " +msgstr "Las instituciones en vivo no están disponibles en el entorno de " "demostración. Seleccione *MX Bank* para probar el proceso de conexión." diff --git a/src/const/language/frCa.po b/src/const/language/frCa.po index 0835d13fa3..21fb3e08a4 100644 --- a/src/const/language/frCa.po +++ b/src/const/language/frCa.po @@ -2149,10 +2149,8 @@ msgid "Demo mode active" msgstr "Mode démo actif" #: src/views/demoConnectGuard/DemoConnectGuard.tsx -msgid "" -"Live institutions are not available in the demo environment. Please select " +msgid "Live institutions are not available in the demo environment. Please select " "*MX Bank* to test the connection process." -msgstr "" -"Les établissements réels ne sont pas disponibles dans l'environnement de " +msgstr "Les établissements réels ne sont pas disponibles dans l'environnement de " "démonstration. Veuillez sélectionner *MX Bank* pour tester la procédure de " "connexion."