Conversation
jenbreese
approved these changes
Mar 25, 2026
Collaborator
jenbreese
left a comment
There was a problem hiding this comment.
It works like the client wanted! Thank you!
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.
READY FOR REVIEW
Summary
The "Expected return" and "Retirement length" inputs are shared between both tabs — they appear regardless of which tab is active. But the guard only exempts currentSavings and yearsToRetirement from resetting isCalculated:
So when the user changes expectedReturn or retirementLength while on the savings tab, setIsCalculated(false) fires, which:
Resets the results display to show "—"
Disables the savings tab
Forces the user back to the balance tab since isCalculated is now false
The fix: when the user is on the savings tab, don't reset isCalculated for shared inputs.
We also address the issue in IFDM-117, by removing “Expected length of retirement” only on Annual Savings tab
Review By (Date)
Criticality
Review Tasks
Setup tasks and/or behavior to test
Front End Validation
Backend / Functional Validation
Code
Code security
General
Affected Projects or Products
Associated Issues and/or People
@mentionthem here)Resources