mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
feat: simplify rename info, add stuff about rich/summary notifs
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { FileText, Folder, Tag, Clock } from 'lucide-svelte';
|
||||
import InfoModal from '$ui/modal/InfoModal.svelte';
|
||||
|
||||
export let open = false;
|
||||
@@ -17,132 +16,52 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Process Steps -->
|
||||
<!-- Process -->
|
||||
<div>
|
||||
<h3 class="mb-3 font-semibold text-neutral-900 dark:text-neutral-100">Process</h3>
|
||||
<div class="space-y-3">
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-sm font-medium text-blue-600 dark:bg-blue-900/30 dark:text-blue-400"
|
||||
>
|
||||
1
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Fetch Library</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Gets all movies/series from your arr instance
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="mb-2 font-semibold text-neutral-900 dark:text-neutral-100">Process</h3>
|
||||
<ol class="list-decimal space-y-1 pl-5 text-sm text-neutral-600 dark:text-neutral-400">
|
||||
<li>Fetches all movies/series from your arr instance</li>
|
||||
<li>Excludes items with the ignore tag (if configured)</li>
|
||||
<li>Compares current file names against your naming format</li>
|
||||
<li>Triggers rename commands for files that need updating</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-sm font-medium text-blue-600 dark:bg-blue-900/30 dark:text-blue-400"
|
||||
>
|
||||
2
|
||||
<!-- Settings -->
|
||||
<div>
|
||||
<h3 class="mb-2 font-semibold text-neutral-900 dark:text-neutral-100">Settings</h3>
|
||||
<dl class="space-y-3 text-sm">
|
||||
<div>
|
||||
<dt class="font-medium text-neutral-900 dark:text-neutral-100">Dry Run</dt>
|
||||
<dd class="text-neutral-600 dark:text-neutral-400">
|
||||
Shows what would be renamed without making changes. Use this to preview before committing.
|
||||
</dd>
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Filter Items</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Excludes items with the ignore tag (if configured)
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-sm font-medium text-blue-600 dark:bg-blue-900/30 dark:text-blue-400"
|
||||
>
|
||||
3
|
||||
<dt class="font-medium text-neutral-900 dark:text-neutral-100">Rename Folders</dt>
|
||||
<dd class="text-neutral-600 dark:text-neutral-400">
|
||||
Also rename movie/series folders to match the naming format. Requires a metadata refresh after completion.
|
||||
</dd>
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Check Naming</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Compares current file names against your naming format
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-blue-100 text-sm font-medium text-blue-600 dark:bg-blue-900/30 dark:text-blue-400"
|
||||
>
|
||||
4
|
||||
<dt class="font-medium text-neutral-900 dark:text-neutral-100">Ignore Tag</dt>
|
||||
<dd class="text-neutral-600 dark:text-neutral-400">
|
||||
Items with this tag in your arr will be skipped. Useful for items you want to keep with custom names.
|
||||
</dd>
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Rename Files</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Triggers rename commands for files that need updating
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Settings Explained -->
|
||||
<div>
|
||||
<h3 class="mb-3 font-semibold text-neutral-900 dark:text-neutral-100">Settings</h3>
|
||||
<div class="space-y-4">
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-amber-100 dark:bg-amber-900/30"
|
||||
>
|
||||
<FileText size={16} class="text-amber-600 dark:text-amber-400" />
|
||||
<dt class="font-medium text-neutral-900 dark:text-neutral-100">Schedule</dt>
|
||||
<dd class="text-neutral-600 dark:text-neutral-400">
|
||||
How often to check for files needing rename. Daily is usually sufficient for most libraries.
|
||||
</dd>
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Dry Run</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
When enabled, shows what would be renamed without making changes. Use this to
|
||||
preview before committing.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-purple-100 dark:bg-purple-900/30"
|
||||
>
|
||||
<Folder size={16} class="text-purple-600 dark:text-purple-400" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Rename Folders</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Also rename movie/series folders to match the naming format. Requires a metadata
|
||||
refresh after completion.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-green-100 dark:bg-green-900/30"
|
||||
>
|
||||
<Tag size={16} class="text-green-600 dark:text-green-400" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Ignore Tag</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
Items with this tag in your arr will be skipped. Useful for items you want to keep
|
||||
with custom names.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex items-start gap-3">
|
||||
<div
|
||||
class="flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/30"
|
||||
>
|
||||
<Clock size={16} class="text-blue-600 dark:text-blue-400" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="font-medium text-neutral-900 dark:text-neutral-100">Schedule</div>
|
||||
<div class="text-sm text-neutral-600 dark:text-neutral-400">
|
||||
How often to check for files needing rename. Daily is usually sufficient for most
|
||||
libraries.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<dt class="font-medium text-neutral-900 dark:text-neutral-100">Summary Notifications</dt>
|
||||
<dd class="text-neutral-600 dark:text-neutral-400">
|
||||
When enabled, sends a compact notification with the total count and one sample rename. When disabled, sends detailed notifications listing every renamed file.
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
</InfoModal>
|
||||
|
||||
Reference in New Issue
Block a user