fix(authors): persist dismissal of metadata enrichment completed notifications

Include completion timestamp in enrichment status payloads and track card dismissal in useMetadataCardDismissal to prevent finished notifications from reappearing across page navigations.

Closes #895
This commit is contained in:
neon
2026-08-06 04:37:08 +00:00
parent 96b8196650
commit 44fc0d4559
18 changed files with 431 additions and 43 deletions
+1
View File
@@ -55,6 +55,7 @@ export type AuthorEnrichmentStatus = {
processing: number;
rateLimited: number;
failed: number;
latestFailureAt: string | null;
done: number;
total: number;
};
@@ -49,6 +49,7 @@ export interface BookMetadataFetchStatus {
queued: number;
processing: number;
failed: number;
latestFailureAt: string | null;
paused: boolean;
}