From 8c4bbfd6a2fc8c92e2a9e862b3e4e24b73d1df24 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 21 Jul 2025 16:52:21 -0500 Subject: [PATCH] Add match confidence as a badge on match book card --- client/components/cards/BookMatchCard.vue | 15 +++++++++++---- client/strings/en-us.json | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/client/components/cards/BookMatchCard.vue b/client/components/cards/BookMatchCard.vue index 17f49752..09b963c5 100644 --- a/client/components/cards/BookMatchCard.vue +++ b/client/components/cards/BookMatchCard.vue @@ -13,10 +13,17 @@

{{ book.publishedYear }}

-

{{ $getString('LabelByAuthor', [book.author]) }}

-

{{ $strings.LabelNarrators }}: {{ book.narrator }}

-

{{ $strings.LabelDuration }}: {{ $elapsedPrettyExtended(bookDuration, false) }} {{ bookDurationComparison }}

-

{{ $strings.LabelMatchConfidence }}: {{ book.matchConfidence.toFixed(3) }}

+ +
+
+

{{ $getString('LabelByAuthor', [book.author]) }}

+

{{ $strings.LabelNarrators }}: {{ book.narrator }}

+

{{ $strings.LabelDuration }}: {{ $elapsedPrettyExtended(bookDuration, false) }} {{ bookDurationComparison }}

+
+
+
{{ $strings.LabelMatchConfidence }}: {{ (book.matchConfidence * 100).toFixed(0) }}%
+
+

diff --git a/client/strings/en-us.json b/client/strings/en-us.json index 000ab86c..0fd9ae82 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -438,7 +438,7 @@ "LabelLogLevelWarn": "Warn", "LabelLookForNewEpisodesAfterDate": "Look for new episodes after this date", "LabelLowestPriority": "Lowest Priority", - "LabelMatchConfidence": "Match Confidence", + "LabelMatchConfidence": "Confidence", "LabelMatchExistingUsersBy": "Match existing users by", "LabelMatchExistingUsersByDescription": "Used for connecting existing users. Once connected, users will be matched by a unique id from your SSO provider", "LabelMaxEpisodesToDownload": "Max # of episodes to download. Use 0 for unlimited.",