From 8c4bf6b50133ebc2fd5752bfb932439f67462d9f Mon Sep 17 00:00:00 2001
From: ACX <8075870+acx10@users.noreply.github.com>
Date: Sat, 28 Feb 2026 20:55:31 -0700
Subject: [PATCH] add folder structure docs hint to library creator dialog
(#3123)
---
.../library-creator.component.html | 10 +++----
.../library-creator.component.scss | 29 +++++++++++++++++++
booklore-ui/src/i18n/en/library-creator.json | 1 +
booklore-ui/src/i18n/es/library-creator.json | 1 +
4 files changed, 36 insertions(+), 5 deletions(-)
diff --git a/booklore-ui/src/app/features/library-creator/library-creator.component.html b/booklore-ui/src/app/features/library-creator/library-creator.component.html
index c264366fb..b0eabff4f 100644
--- a/booklore-ui/src/app/features/library-creator/library-creator.component.html
+++ b/booklore-ui/src/app/features/library-creator/library-creator.component.html
@@ -82,6 +82,11 @@
+
+
+
+
+
}
- } @else {
-
-
- {{ t('emptyFoldersHint') }}
-
}
diff --git a/booklore-ui/src/app/features/library-creator/library-creator.component.scss b/booklore-ui/src/app/features/library-creator/library-creator.component.scss
index 79e7528ec..1654c2332 100644
--- a/booklore-ui/src/app/features/library-creator/library-creator.component.scss
+++ b/booklore-ui/src/app/features/library-creator/library-creator.component.scss
@@ -251,6 +251,35 @@
}
}
+.folder-structure-hint {
+ display: flex;
+ align-items: center;
+ gap: 0.625rem;
+ padding: 0.625rem 0.75rem;
+ background: rgba(234, 179, 8, 0.08);
+ border: 1px solid rgba(234, 179, 8, 0.25);
+ border-radius: 6px;
+ font-size: 0.8125rem;
+ color: var(--text-secondary-color);
+ line-height: 1.5;
+
+ i {
+ font-size: 0.9rem;
+ color: rgb(234, 179, 8);
+ flex-shrink: 0;
+ }
+
+ a {
+ color: var(--p-primary-color);
+ text-decoration: none;
+ font-weight: 500;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+}
+
// Folders zone
.folders-zone {
display: flex;
diff --git a/booklore-ui/src/i18n/en/library-creator.json b/booklore-ui/src/i18n/en/library-creator.json
index 599368fad..7cdcbea17 100644
--- a/booklore-ui/src/i18n/en/library-creator.json
+++ b/booklore-ui/src/i18n/en/library-creator.json
@@ -12,6 +12,7 @@
"bookFolders": "Book Folders",
"addFolder": "Add folder",
"emptyFoldersHint": "Add folders containing your book files",
+ "folderStructureHint": "Make sure your folders follow the expected directory structure for books and audiobooks.",
"options": "Options",
"watchFolders": "Watch folders",
"watchFoldersTooltip": "Automatically detect new books added to folders",
diff --git a/booklore-ui/src/i18n/es/library-creator.json b/booklore-ui/src/i18n/es/library-creator.json
index 66f93ce42..016c09442 100644
--- a/booklore-ui/src/i18n/es/library-creator.json
+++ b/booklore-ui/src/i18n/es/library-creator.json
@@ -12,6 +12,7 @@
"bookFolders": "Carpetas de Libros",
"addFolder": "Agregar carpeta",
"emptyFoldersHint": "Agrega carpetas que contengan tus archivos de libros",
+ "folderStructureHint": "Asegurate de que tus carpetas sigan la estructura de directorios esperada para libros y audiolibros.",
"options": "Opciones",
"watchFolders": "Vigilar carpetas",
"watchFoldersTooltip": "Detectar automaticamente nuevos libros agregados a las carpetas",