Files
PS_Launcher/src/PSLauncher.App/ViewModels
j.foucher 973a1e78ba UI: license summary becomes a colored badge in the top bar
The license info was rendered as plain secondary-grey text, easy to
miss. Now it's a rounded pill (CornerRadius=14) with traffic-light
colors driven by the new MainViewModel.LicenseSeverity property:

- Ok      → green pill (Brush.Status.Installed) with ✓ icon
- Warning → amber pill (Brush.Status.Busy)      with  icon, fires when
            entitlement is < 30 days away from expiry
- Error   → red pill (#EF4444 / #2A1414 bg)     with 🔒/⚠/🚫 icon
            depending on whether license is missing, expired, revoked

Two new VM properties accompany LicenseSummary:
- LicenseIcon: emoji glyph for the pill
- LicenseSeverity: enum-like string Ok/Warning/Error driving DataTriggers

Both are kept in sync via NotifyLicenseChanged(), called wherever
_license used to trigger only OnPropertyChanged(LicenseSummary).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-02 08:50:10 +02:00
..