From bb66f8d05beb6b831060c4a8e9bdff61615b8d9a Mon Sep 17 00:00:00 2001 From: Drini Cami Date: Mon, 9 Sep 2024 16:37:52 +0200 Subject: [PATCH 1/6] Give MergeUI url parameter configs like LibraryExplorer for easier dev/testing --- .../LibraryExplorer/components/BookRoom.vue | 2 +- .../components/BooksCarousel.vue | 2 +- .../components/FlatBookCover.vue | 2 +- .../components/LibraryToolbar.vue | 2 +- .../LibraryExplorer/components/OLCarousel.vue | 2 +- openlibrary/components/MergeUI/MergeTable.vue | 12 ++++++++--- openlibrary/components/MergeUI/utils.js | 21 ++++++++++++------- .../{LibraryExplorer => }/configs.js | 9 +++++++- 8 files changed, 36 insertions(+), 16 deletions(-) rename openlibrary/components/{LibraryExplorer => }/configs.js (66%) diff --git a/openlibrary/components/LibraryExplorer/components/BookRoom.vue b/openlibrary/components/LibraryExplorer/components/BookRoom.vue index 30d65e8b3cb..cf345770a38 100644 --- a/openlibrary/components/LibraryExplorer/components/BookRoom.vue +++ b/openlibrary/components/LibraryExplorer/components/BookRoom.vue @@ -81,7 +81,7 @@ import ExpandIcon from './icons/ExpandIcon.vue'; import debounce from 'lodash/debounce'; import Vue from 'vue'; import { decrementStringSolr, hierarchyFind, testLuceneSyntax } from '../utils.js'; -import CONFIGS from '../configs'; +import CONFIGS from '../../configs'; /** @typedef {import('../utils.js').ClassificationNode} ClassificationNode */ /** diff --git a/openlibrary/components/LibraryExplorer/components/BooksCarousel.vue b/openlibrary/components/LibraryExplorer/components/BooksCarousel.vue index 77bf2a7926b..d5135d13898 100644 --- a/openlibrary/components/LibraryExplorer/components/BooksCarousel.vue +++ b/openlibrary/components/LibraryExplorer/components/BooksCarousel.vue @@ -22,7 +22,7 @@