From 9203f79ad28bfb08391b74135ccb98a86b6565e2 Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Thu, 15 Jan 2026 00:38:10 +1030 Subject: [PATCH] style: colored icons for entity type, reorder action bar buttons to actually make sense --- .../entity-testing/[databaseId]/+page.svelte | 25 ++++++++++++++++--- .../components/EntityTable.svelte | 11 +++----- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/routes/quality-profiles/entity-testing/[databaseId]/+page.svelte b/src/routes/quality-profiles/entity-testing/[databaseId]/+page.svelte index 941d705..c9345c1 100644 --- a/src/routes/quality-profiles/entity-testing/[databaseId]/+page.svelte +++ b/src/routes/quality-profiles/entity-testing/[databaseId]/+page.svelte @@ -273,6 +273,7 @@ + (showAddModal = true)} /> {#if selectedProfile} {selectedProfile.name} @@ -309,7 +310,6 @@ (showInfoModal = true)} /> - (showAddModal = true)} /> @@ -356,10 +356,27 @@
-
Test Quality Profiles
+
Adding Entities

- Entity testing allows you to test your quality profiles against sample media to see how they - would score and match. + Add movies or TV series from TMDB to use as test cases. These represent the media you want to simulate release matching for. +

+
+
+
Test Releases
+

+ For each entity, add test releases with realistic release titles (e.g., "Movie.2024.1080p.BluRay.REMUX-GROUP"). You can also specify size, languages, indexers, and flags. +

+
+
+
Quality Profile Scoring
+

+ Select a quality profile from the dropdown to see how each release would score. The score is calculated by matching custom formats and summing their configured point values. +

+
+
+
Custom Format Matching
+

+ Expand a release row to see parsed metadata and which custom formats matched. Each matched format shows its score contribution, helping you understand why a release scored the way it did.

diff --git a/src/routes/quality-profiles/entity-testing/[databaseId]/components/EntityTable.svelte b/src/routes/quality-profiles/entity-testing/[databaseId]/components/EntityTable.svelte index 5c588b1..4807695 100644 --- a/src/routes/quality-profiles/entity-testing/[databaseId]/components/EntityTable.svelte +++ b/src/routes/quality-profiles/entity-testing/[databaseId]/components/EntityTable.svelte @@ -93,17 +93,12 @@ {/if} {:else if column.key === 'type'} - + {#if row.type === 'movie'} - + Movie {:else} - + Series {/if}