Public Access
1
0

feat: harden scheduled downgrade lifecycle and messaging

This commit is contained in:
pguerrerox
2026-05-26 00:34:00 +00:00
parent 232342d6a1
commit f1c3e2db7d
7 changed files with 133 additions and 35 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ export function getPendingPlanChangeMessage(pendingPlanCode: PlanCode | null, pe
return null;
}
return `Plan change to ${pendingPlanCode} takes effect on ${formatLifecycleDate(pendingPlanEffectiveAt)}.`;
return `A plan change to ${pendingPlanCode} is scheduled for ${formatLifecycleDate(pendingPlanEffectiveAt)}. If usage is above the new limits after that date, chargeable actions may pause until usage resets or additional capacity is added.`;
}
export function formatLifecycleDate(value: string | null) {