Distinguish the Dashboard and Plan age-4 figures
Both screens showed an "expiring at age 4" number under near-identical
labels, and they disagreed -- 143 on the Dashboard versus 100 on the Plan
tab for the same parent. Both were correct: the Dashboard reflects the
saved plan, the Plan tab a proposal that has not been applied and which
simulates future recurring wishes.
The numbers are left untouched; forcing them to agree would make one of
them wrong. Instead each label now states its own basis ("om nuvarande
plan följs" / "om detta förslag tillämpas"), and the Plan tab's intro
says outright that the saved plan may differ, and why.
Tests assert the distinguishing copy on both screens so the two cannot
silently drift back to indistinguishable labels.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXMhc9nT6sNz1SL4j8dznL
This commit is contained in:
@@ -8,8 +8,8 @@ export const dashboard = {
|
||||
'dashboard.createChildError': 'Could not create child',
|
||||
'dashboard.daysLeft': 'Days left',
|
||||
'dashboard.enterManually': 'Enter details manually',
|
||||
'dashboard.expiringAtB4': 'Total expiring at age 4 (sum of all parents)',
|
||||
'dashboard.expiringAtB4ForParent': 'Expiring at age 4 – {name}',
|
||||
'dashboard.expiringAtB4': 'Expiring at age 4 if the current plan is followed (all parents)',
|
||||
'dashboard.expiringAtB4ForParent': 'Expiring at age 4 if the current plan is followed – {name}',
|
||||
'dashboard.expiringAtB4ParentFallback': 'Parent {number}',
|
||||
'dashboard.fetchFromFk': 'Fetch from Försäkringskassan',
|
||||
'dashboard.fillAllFields': 'Fill in all fields',
|
||||
|
||||
@@ -9,8 +9,8 @@ export const plan = {
|
||||
'plan.title': 'Planning',
|
||||
'plan.updateWishError': 'Could not save wish',
|
||||
'plan.wishesTitle': 'Your wishes',
|
||||
'planResults.age4ProjectionsIntro': 'Here\'s what the 4th birthday looks like if this plan is taken as proposed — life may of course work out differently.',
|
||||
'planResults.age4ProjectionsTitle': 'At the child\'s 4th birthday, if this plan is followed',
|
||||
'planResults.age4ProjectionsIntro': 'Here\'s what the 4th birthday looks like if this proposal is applied, including future recurring wishes. Your saved plan (under Overview) may show a different result.',
|
||||
'planResults.age4ProjectionsTitle': 'At the child\'s 4th birthday, if this proposal is applied',
|
||||
'planResults.applyButton': 'Use plan',
|
||||
'planResults.applySavedPrefix': 'The plan has been saved!',
|
||||
'planResults.applyingButton': 'Saving...',
|
||||
|
||||
Reference in New Issue
Block a user