chore(metadata-warning): add warnings about metadata quality for file naming and moving features (#2340)

Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
Balázs Szücs
2026-01-19 08:49:58 -07:00
committed by GitHub
parent c7fa64c045
commit 87cefbffbc
3 changed files with 57 additions and 0 deletions
@@ -8,6 +8,16 @@
<p class="settings-description"> <p class="settings-description">
Configure automatic file organization using metadata placeholders. Patterns are applied when uploading files, moving files within your library, and after metadata updates. Configure automatic file organization using metadata placeholders. Patterns are applied when uploading files, moving files within your library, and after metadata updates.
</p> </p>
<div class="important-warning">
<h4><i class="pi pi-exclamation-circle"></i> IMPORTANT: Metadata Quality Notice</h4>
<p>
File naming patterns rely <strong>entirely</strong> on the metadata stored in Booklore. If your metadata is missing, uneven, or of poor quality, the resulting file renaming and organization will likely be incorrect or "buggy".
</p>
<p>
This feature is <strong>ONLY recommended</strong> for high-quality, curated libraries. If you have duplicates, missing metadata, or inconsistent naming conventions, please review your library first.
</p>
</div>
</div> </div>
<div class="settings-content"> <div class="settings-content">
@@ -43,6 +43,41 @@
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.important-warning {
border: 1px solid var(--p-red-900);
border-left: 4px solid var(--p-red-500);
background: rgba(127, 29, 29, 0.2);
padding: 1rem;
border-radius: 6px;
margin-bottom: 2rem;
h4 {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--p-red-300);
font-weight: 700;
margin: 0 0 0.5rem 0;
font-size: 0.95rem;
}
p {
color: var(--p-red-100);
font-size: 0.85rem;
line-height: 1.5;
margin: 0 0 0.5rem 0;
&:last-child {
margin-bottom: 0;
}
}
strong {
color: var(--p-red-200);
text-decoration: underline;
}
}
.settings-content { .settings-content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -35,6 +35,18 @@
<i class="pi pi-exclamation-triangle text-yellow-400"></i> <i class="pi pi-exclamation-triangle text-yellow-400"></i>
This will actually move and rename files on your computer across different library folders. Make sure you're happy with the preview first! This will actually move and rename files on your computer across different library folders. Make sure you're happy with the preview first!
</p> </p>
<div class="bg-red-900/30 border border-red-500/50 rounded-md p-3 text-red-200 text-xs">
<p class="font-bold flex items-center gap-2 mb-1">
<i class="pi pi-exclamation-circle"></i>
Important: Metadata quality warning
</p>
<p>
This feature relies entirely on your books' metadata. If your metadata is missing, inconsistent, or of poor quality, the resulting file names and folder structures will be incorrect or "buggy".
</p>
<p class="mt-1 font-semibold">
ONLY recommended for high-quality, curated libraries.
</p>
</div>
</div> </div>
</div> </div>