Skip to content

fix(actionable-error): change button labels to "Go back" (CT-2425) - #383

Merged
wesrisenmay-mx merged 1 commit into
mxenabled:masterfrom
jenheinermx:jen/CT-2425/go-back-label
Sep 15, 2026
Merged

wesrisenmay-mx merged 1 commit into
mxenabled:masterfrom
jenheinermx:jen/CT-2425/go-back-label

Conversation

@jenheinermx

@jenheinermx jenheinermx commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Copy-only change for CT-2425. Standardizes the actionable-error button labels so they all read "Go back" instead of the two older, longer phrasings. No behavior, routing, or logic changes.

What changed

  • src/views/actionableError/useActionableErrorMap.tsx — primary button for error codes 1001, 3000, 3001, 3002 now reads "Go back" (was "Return to institution selection"); the secondary link on code 1000 now reads "Go back" (was "Connect a different institution"). All still call goToSearch, so behavior is unchanged.
  • Removed the two now-unused strings from every translation file: es.po, es.json, frCa.po, frCa.json. "Go back" was already translated, so no new translations were added.
  • Updated tests that asserted the old labels: useActionableErrorMap-test.tsx, ActionableError-test.tsx, and RenderConnectStep-test.jsx.
  • CHANGELOG.md — added a v.0.15.6 Updated entry.

Out of scope

No routing or host-config changes. Body paragraph copy ("...or connect a different institution.") is intentionally preserved — it is body text, not a button label.

Test evidence

  • tsc: clean
  • eslint (changed files): clean
  • vitest: 891 passing. The only failures are 2 pre-existing RoutingNumber-test.js tests that also fail on a clean master (SharedRoutingNumber render issue), unrelated to this change.

Release checklist

  • Titles and body text unchanged
  • All five labels now read "Go back"
  • Old strings removed from all language files
  • Tests updated and passing

🤖 Generated with Claude Code

BEFORE
Screenshot 2026-09-11 at 10 28 14 AM
Screenshot 2026-09-11 at 10 28 19 AM
Screenshot 2026-09-11 at 10 28 21 AM
Screenshot 2026-09-11 at 10 28 24 AM
Screenshot 2026-09-11 at 10 28 27 AM

AFTER
Screenshot 2026-09-11 at 10 25 04 AM
Screenshot 2026-09-11 at 10 25 01 AM
Screenshot 2026-09-11 at 10 25 07 AM
Screenshot 2026-09-11 at 10 25 14 AM
Screenshot 2026-09-11 at 10 25 17 AM

@wesrisenmay-mx

Copy link
Copy Markdown
Collaborator

Need screenshots. This will require updates on the MX connect widget side as well. I'm sure this breaks some E2E tests.

Comment thread CHANGELOG.md Outdated
Update the actionable error primary button label from "Return to
institution selection" to "Go back" for error codes 1001, 3000, 3001,
and 3002, and change the secondary link on code 1000 from "Connect a
different institution" to "Go back". Behavior is unchanged; both still
fire goToSearch.

Remove the two now-unused source strings from the es/frCa .po and .json
language files ("Go back" is already translated).

Update tests that asserted the old labels, including the ACTIONABLE_ERROR
case in RenderConnectStep-test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jenheinermx
jenheinermx force-pushed the jen/CT-2425/go-back-label branch from 53911ef to 9838ff9 Compare September 15, 2026 19:43
@wesrisenmay-mx
wesrisenmay-mx merged commit b3b888b into mxenabled:master Sep 15, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.39.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants