fix(copy): replace legally risky terms with safer alternatives#6
Merged
NimbleEngineer21 merged 3 commits intomainfrom Mar 5, 2026
Merged
fix(copy): replace legally risky terms with safer alternatives#6NimbleEngineer21 merged 3 commits intomainfrom
NimbleEngineer21 merged 3 commits intomainfrom
Conversation
Replace "financial planning" with "personal finance calculator" across
SEO meta tags, sidebar, and setup wizard to avoid implying professional
financial planning services. Soften directive language ("Buy down the
rate", "CAN YOU AFFORD IT?", "Ready now", "You need X more") into
neutral, informational phrasing that reduces legal risk of being
construed as financial advice. Rename Readiness page from "Financial
Readiness" to "Purchase Readiness" and strengthen footer disclaimer.
Also clean up minor code quality issues in ConformingStatus (optional
chaining, nested ternary, replaceAll, Number.parseFloat).
Revert .replaceAll() to .replace() to prevent runtime crash on older
mobile browsers (ES2021 API not available on Android WebView targets
this project already polyfills for). Remove remaining legally risky
language from comments/JSDoc ("can afford", "Financial readiness",
"suggest", "Consider increasing"). Rename identifiers to match neutral
tone: suggestConformingDown → calcConformingDown, canAfford → isCovered,
onApplySuggestion → onApplyConformingDown, suggestion → conformingOption.
Normalize parseFloat/parseInt to Number.parseFloat/Number.parseInt in
touched files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
replaceAll,Number.parseFloat)Motivation
Several terms used in user-facing copy could be misconstrued as implying the app provides professional financial advice, which carries legal risk under the Investment Advisers Act of 1940, SEC Reg BI, and state-level regulations. This PR neutralizes that language while preserving the app's functionality and clarity.
Test plan
npm test)npm run lint)<title>and OG/Twitter meta tags render correctly (view source or social card validator)