Stores
+
@@ -68,6 +128,24 @@
{/if}
+
+ {#if showTestPrompt}
+
+
Enter a search term to test all enabled stores:
+
+
+ {/if}
+
{#if loading}
@@ -92,11 +170,15 @@
URL |
Category |
Status |
+ {#if testResults.size > 0}
+
Test Result |
+ {/if}
Actions |
{#each stores as store}
+ {@const test = getTestResult(store.id)}
|
{store.name}
@@ -123,6 +205,35 @@
{store.enabled ? 'Active' : 'Disabled'}
|
+ {#if testResults.size > 0}
+
+ {#if !test || test.status === 'pending'}
+ —
+ {:else if test.status === 'testing'}
+
+
+ Testing...
+
+ {:else if test.status === 'success'}
+
+
+ {test.resultCount} products · {test.duration}ms
+
+ {:else}
+
+
+ Failed
+
+ {/if}
+ |
+ {/if}
|