Improve throttling recovery guidance in apps and docs

This commit is contained in:
Robert McRackan
2026-09-16 16:10:08 -04:00
parent 1a9a603bd6
commit b0bb60b7db
20 changed files with 297 additions and 80 deletions

View File

@@ -822,11 +822,13 @@ public class ProcessQueueViewModel : ReactiveObject
if (show)
{
var title = book.LibraryBook.Book.TitleWithSubtitle;
var locale = AppScaffolding.LicenseRecoveryGuidance.GetRegistrationLocale(book.LibraryBook);
var updateStatus = AppScaffolding.LibationScaffolding.LastVersionCheckOutcome;
var body = result switch
{
ProcessBookResult.LicenseDeniedPossibleOutage => ContentLicenseDeniedUserMessage.BuildDialogBodyForPossibleOutage(title),
ProcessBookResult.LicenseDeniedThrottled => ContentLicenseDeniedUserMessage.BuildDialogBodyForThrottling(title),
_ => ContentLicenseDeniedUserMessage.BuildDialogBodyForPlusCatalog(title)
ProcessBookResult.LicenseDeniedPossibleOutage => ContentLicenseDeniedUserMessage.BuildDialogBodyForPossibleOutage(title, locale, updateStatus),
ProcessBookResult.LicenseDeniedThrottled => ContentLicenseDeniedUserMessage.BuildDialogBodyForThrottling(title, locale, updateStatus),
_ => ContentLicenseDeniedUserMessage.BuildDialogBodyForPlusCatalog(title, locale, updateStatus)
};
await MessageBoxBase.Show(
body,