From e92cc36146559972aaff0e6dd74b0483bb840c7a Mon Sep 17 00:00:00 2001 From: neon <18559658+neonsolstice@users.noreply.github.com> Date: Tue, 29 Sep 2026 02:11:31 +0000 Subject: [PATCH] feat(library): rebuild the library editor as a settings sheet Replace the seven-step wizard with a sheet whose section rail summarizes each setting. Format priority shows only the formats a library holds, folders are checked as they are added, and people can be granted access while creating. --- .../components/LibraryCreatorAccess.vue | 363 ++++--- .../library/components/LibraryCreatorCard.vue | 19 + .../components/LibraryCreatorDetails.vue | 266 +++-- .../components/LibraryCreatorFileWrite.vue | 439 ++++---- .../components/LibraryCreatorFolders.vue | 403 ++++---- .../components/LibraryCreatorMetadata.vue | 380 ++++--- .../components/LibraryCreatorModal.vue | 940 +++++++++++------- .../components/LibraryCreatorReading.vue | 270 +++-- .../components/LibraryCreatorScanner.vue | 536 +++++----- .../components/LibraryCreatorSchedule.vue | 176 ++-- .../components/LibraryOrganizationPreview.vue | 46 + .../__tests__/LibraryCreatorFileWrite.spec.ts | 128 +-- .../__tests__/LibraryCreatorFolders.spec.ts | 82 +- .../__tests__/LibraryCreatorMetadata.spec.ts | 82 +- .../__tests__/LibraryCreatorModal.spec.ts | 252 +++-- .../__tests__/LibraryCreatorReading.spec.ts | 67 +- .../__tests__/LibraryCreatorScanner.spec.ts | 69 +- .../__tests__/useLibraryAccess.spec.ts | 87 ++ .../__tests__/useLibraryCreator.spec.ts | 76 +- .../library/composables/useLibraryAccess.ts | 173 ++++ .../library/composables/useLibraryCreator.ts | 105 +- .../composables/useLibraryFolderSelection.ts | 9 +- .../features/settings/LibrariesSettings.vue | 22 +- .../__tests__/LibrariesSettings.spec.ts | 24 +- client/src/locales/en.json | 218 +++- 25 files changed, 3320 insertions(+), 1912 deletions(-) create mode 100644 client/src/features/library/components/LibraryCreatorCard.vue create mode 100644 client/src/features/library/components/LibraryOrganizationPreview.vue create mode 100644 client/src/features/library/composables/__tests__/useLibraryAccess.spec.ts create mode 100644 client/src/features/library/composables/useLibraryAccess.ts diff --git a/client/src/features/library/components/LibraryCreatorAccess.vue b/client/src/features/library/components/LibraryCreatorAccess.vue index 26e0c8a4b..81bd5ac69 100644 --- a/client/src/features/library/components/LibraryCreatorAccess.vue +++ b/client/src/features/library/components/LibraryCreatorAccess.vue @@ -1,9 +1,11 @@ diff --git a/client/src/features/library/components/LibraryCreatorCard.vue b/client/src/features/library/components/LibraryCreatorCard.vue new file mode 100644 index 000000000..929a29ab0 --- /dev/null +++ b/client/src/features/library/components/LibraryCreatorCard.vue @@ -0,0 +1,19 @@ + + + diff --git a/client/src/features/library/components/LibraryCreatorDetails.vue b/client/src/features/library/components/LibraryCreatorDetails.vue index 2961c43eb..6879cb088 100644 --- a/client/src/features/library/components/LibraryCreatorDetails.vue +++ b/client/src/features/library/components/LibraryCreatorDetails.vue @@ -1,18 +1,43 @@ diff --git a/client/src/features/library/components/LibraryCreatorFileWrite.vue b/client/src/features/library/components/LibraryCreatorFileWrite.vue index a204834e4..6d5b787e3 100644 --- a/client/src/features/library/components/LibraryCreatorFileWrite.vue +++ b/client/src/features/library/components/LibraryCreatorFileWrite.vue @@ -1,26 +1,35 @@ diff --git a/client/src/features/library/components/LibraryCreatorFolders.vue b/client/src/features/library/components/LibraryCreatorFolders.vue index a3accac7c..ae9179998 100644 --- a/client/src/features/library/components/LibraryCreatorFolders.vue +++ b/client/src/features/library/components/LibraryCreatorFolders.vue @@ -1,29 +1,105 @@ diff --git a/client/src/features/library/components/LibraryCreatorMetadata.vue b/client/src/features/library/components/LibraryCreatorMetadata.vue index 0936b43ee..f9a383117 100644 --- a/client/src/features/library/components/LibraryCreatorMetadata.vue +++ b/client/src/features/library/components/LibraryCreatorMetadata.vue @@ -1,181 +1,287 @@ diff --git a/client/src/features/library/components/LibraryCreatorModal.vue b/client/src/features/library/components/LibraryCreatorModal.vue index 867ac24b8..3b38e811a 100644 --- a/client/src/features/library/components/LibraryCreatorModal.vue +++ b/client/src/features/library/components/LibraryCreatorModal.vue @@ -1,26 +1,38 @@