From 198f11bcf75252126476404abd1b4a801bfa5566 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 5 Dec 2024 11:19:23 -0500 Subject: [PATCH 01/19] Refactors Thumbnail into component --- .../documents/DocumentListItem.svelte | 119 +----------------- src/lib/components/documents/Thumbnail.svelte | 113 +++++++++++++++++ .../stories/Thumbnail.stories.svelte | 31 +++++ .../DocumentListItem.test.ts.snap | 27 ++-- 4 files changed, 157 insertions(+), 133 deletions(-) create mode 100644 src/lib/components/documents/Thumbnail.svelte create mode 100644 src/lib/components/documents/stories/Thumbnail.stories.svelte diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index b7bfe3c06..3da42229d 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -6,69 +6,33 @@ It's deliberately minimal and can be wrapped in other components to add addition If we're in an embed, we want to open links to documents in new tabs and hide the access label. --> @@ -79,32 +43,9 @@ If we're in an embed, we want to open links to documents in new tabs and hide th target={embed ? "_blank" : undefined} bind:clientWidth={width} > -
- {#if document.status === "success" || document.status === "readable"} - Page 1, {document.title} - {:else} -
- -
- {/if} - - {#if tabs.length > 0} -
- {#each tabs as access} - {#if access} - - {/if} - {/each} -
- {/if} -
+ {#if width >= 400} + + {/if}
@@ -182,38 +123,6 @@ If we're in an embed, we want to open links to documents in new tabs and hide th border-color: var(--blue-2); } - .small .thumbnail { - display: none; - } - - .thumbnail { - display: flex; - flex-direction: column; - align-items: center; - position: relative; - } - - .thumbnail img, - .thumbnail .fallback { - border-radius: 0.125rem; - border: 1px solid var(--gray-2, #cbcbcb); - background: var(--white, #fff); - box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1); - /* Constrain tall documents */ - max-height: 4.875rem; - object-fit: cover; - object-fit: top center; - } - - .thumbnail .tabs { - position: absolute; - left: -0.5rem; - top: 0.5rem; - display: flex; - flex-direction: column; - gap: 0.125rem; - } - .documentInfo { display: flex; flex-direction: column; @@ -268,22 +177,6 @@ If we're in an embed, we want to open links to documents in new tabs and hide th flex: 0 1 auto; } - .fallback { - display: flex; - align-items: center; - justify-content: center; - - background-color: var(--white); - fill: var(--gray-3); - /* US letter size, thumbnail width */ - height: calc(60px * 11 / 8.5); - width: 60px; - } - - .fallback.error { - fill: var(--red-3, #f00); - } - .data { display: flex; flex-wrap: wrap; diff --git a/src/lib/components/documents/Thumbnail.svelte b/src/lib/components/documents/Thumbnail.svelte new file mode 100644 index 000000000..6b49f575c --- /dev/null +++ b/src/lib/components/documents/Thumbnail.svelte @@ -0,0 +1,113 @@ + + +
+ {#if document.status === "success" || document.status === "readable"} + Page 1, {document.title} + {:else} +
+ +
+ {/if} + + {#if tabs.length > 0} +
+ {#each tabs as access} + {#if access} + + {/if} + {/each} +
+ {/if} +
+ + diff --git a/src/lib/components/documents/stories/Thumbnail.stories.svelte b/src/lib/components/documents/stories/Thumbnail.stories.svelte new file mode 100644 index 000000000..ed5624fc4 --- /dev/null +++ b/src/lib/components/documents/stories/Thumbnail.stories.svelte @@ -0,0 +1,31 @@ + + + + + + + + + + + + + diff --git a/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap b/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap index b99bbaaac..145f0745d 100644 --- a/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap +++ b/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap @@ -3,37 +3,24 @@ exports[`DocumentListItem > renders 1`] = `
-
- Page 1, Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018 - -

Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018

renders 1`] = `

20 pages - @@ -70,7 +57,7 @@ exports[`DocumentListItem > renders 1`] = `

From af2f3f99b1a4bc9062499cd9cfa92430fe114361 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 5 Dec 2024 14:57:13 -0500 Subject: [PATCH 02/19] Really lean into DocumentListItem customization --- src/lib/components/common/KV.svelte | 52 +++-- .../documents/DocumentListItem.svelte | 178 +++++++++++++----- .../stories/DocumentListItem.stories.svelte | 113 ++++++++++- .../components/viewer/AnnotationLayer.svelte | 3 +- src/lib/components/viewer/NoteTab.svelte | 7 +- src/test/fixtures/documents.ts | 12 +- 6 files changed, 290 insertions(+), 75 deletions(-) diff --git a/src/lib/components/common/KV.svelte b/src/lib/components/common/KV.svelte index d8400cb0e..954972d4d 100644 --- a/src/lib/components/common/KV.svelte +++ b/src/lib/components/common/KV.svelte @@ -4,49 +4,63 @@ export let href: null | string = null; export let inline: boolean = false; export let tag: boolean = false; + + let el = href ? "a" : "span"; -
+ {#if !tag} {key} {/if} - {#if href} - {value} - {:else} - {value} - {/if} + {value} -
+ diff --git a/src/lib/components/viewer/AnnotationLayer.svelte b/src/lib/components/viewer/AnnotationLayer.svelte index 45fe77f44..5ebabb4a5 100644 --- a/src/lib/components/viewer/AnnotationLayer.svelte +++ b/src/lib/components/viewer/AnnotationLayer.svelte @@ -33,6 +33,7 @@ Assumes it's a child of a ViewerContext isEmbedded, } from "$lib/components/viewer/ViewerContext.svelte"; import { getNotes, getViewerHref } from "$lib/utils/viewer"; + import Tooltip from "../common/Tooltip.svelte"; export let scale = 1.5; export let page_number: number; // zero-indexed @@ -201,7 +202,7 @@ Assumes it's a child of a ViewerContext style:top="calc({note.y1} * 100%)" on:click={(e) => openNote(e, note)} > - + - -
-
+
diff --git a/src/lib/components/layouts/DocumentListToolbar.svelte b/src/lib/components/layouts/DocumentListToolbar.svelte new file mode 100644 index 000000000..aa6b9c108 --- /dev/null +++ b/src/lib/components/layouts/DocumentListToolbar.svelte @@ -0,0 +1,77 @@ + + + + + + + + {$_("common.customize")} + + + +
+ {#each Object.entries($visibleFields) as [key, value], index} + + {/each} +
+
+
+
+ +
+ + + + diff --git a/src/lib/components/layouts/stories/DocumentBrowser.stories.svelte b/src/lib/components/layouts/stories/DocumentBrowser.stories.svelte index e8cb99807..f9c01fc7a 100644 --- a/src/lib/components/layouts/stories/DocumentBrowser.stories.svelte +++ b/src/lib/components/layouts/stories/DocumentBrowser.stories.svelte @@ -15,7 +15,7 @@ }; const args = { - documents: Promise.resolve(documentsList), + documents: Promise.resolve({ data: documentsList }), }; From 108c381976d980f602e3801faf10bf3ce05b448f Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Thu, 5 Dec 2024 23:33:42 -0500 Subject: [PATCH 06/19] Adds VisibleFields menu --- .../components/documents/VisibleFields.svelte | 58 +++++++++++++++++++ .../stories/VisibleFields.stories.svelte | 30 ++++++++++ .../layouts/DocumentListToolbar.svelte | 26 +-------- 3 files changed, 90 insertions(+), 24 deletions(-) create mode 100644 src/lib/components/documents/VisibleFields.svelte create mode 100644 src/lib/components/documents/stories/VisibleFields.stories.svelte diff --git a/src/lib/components/documents/VisibleFields.svelte b/src/lib/components/documents/VisibleFields.svelte new file mode 100644 index 000000000..c576bbfaf --- /dev/null +++ b/src/lib/components/documents/VisibleFields.svelte @@ -0,0 +1,58 @@ + + + + +
+ {#each Object.entries($visibleFields) as [key, value], index} + + {/each} +
+ + diff --git a/src/lib/components/documents/stories/VisibleFields.stories.svelte b/src/lib/components/documents/stories/VisibleFields.stories.svelte new file mode 100644 index 000000000..0c14c25fd --- /dev/null +++ b/src/lib/components/documents/stories/VisibleFields.stories.svelte @@ -0,0 +1,30 @@ + + + + + + + diff --git a/src/lib/components/layouts/DocumentListToolbar.svelte b/src/lib/components/layouts/DocumentListToolbar.svelte index aa6b9c108..3be313cff 100644 --- a/src/lib/components/layouts/DocumentListToolbar.svelte +++ b/src/lib/components/layouts/DocumentListToolbar.svelte @@ -8,17 +8,11 @@ import SidebarItem from "../sidebar/SidebarItem.svelte"; import { ChevronDown12, Paintbrush16 } from "svelte-octicons"; import Menu from "../common/Menu.svelte"; - import { type Writable } from "svelte/store"; - import { getContext } from "svelte"; - import { type VisibleFields } from "../documents/DocumentListItem.svelte"; - import FieldLabel from "../common/FieldLabel.svelte"; + import VisibleFields from "../documents/VisibleFields.svelte"; export let query: string = ""; let headerToolbarWidth: number; - - const visibleFields = getContext>("visibleFields"); - $: console.log($visibleFields); @@ -30,18 +24,7 @@ -
- {#each Object.entries($visibleFields) as [key, value], index} - - {/each} -
+
@@ -59,11 +42,6 @@
diff --git a/src/lib/components/documents/stories/VisibleFields.stories.svelte b/src/lib/components/documents/stories/VisibleFields.stories.svelte index 0c14c25fd..a452dbb6c 100644 --- a/src/lib/components/documents/stories/VisibleFields.stories.svelte +++ b/src/lib/components/documents/stories/VisibleFields.stories.svelte @@ -1,14 +1,12 @@ - + + + diff --git a/src/lib/components/layouts/DocumentListToolbar.svelte b/src/lib/components/layouts/DocumentListToolbar.svelte index 3be313cff..1fe7293e4 100644 --- a/src/lib/components/layouts/DocumentListToolbar.svelte +++ b/src/lib/components/layouts/DocumentListToolbar.svelte @@ -6,7 +6,7 @@ import { remToPx } from "$lib/utils/layout"; import Dropdown from "../common/Dropdown.svelte"; import SidebarItem from "../sidebar/SidebarItem.svelte"; - import { ChevronDown12, Paintbrush16 } from "svelte-octicons"; + import { ChevronDown12, Eye16, Paintbrush16 } from "svelte-octicons"; import Menu from "../common/Menu.svelte"; import VisibleFields from "../documents/VisibleFields.svelte"; @@ -16,19 +16,19 @@ - - - - - {$_("common.customize")} - - - - - - - - +
+
+ + + + {$_("documentBrowser.fieldsAnchor")} + + + + + + +

@@ -38,10 +38,18 @@

- +
diff --git a/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap b/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap index 757f0d5db..1d689e272 100644 --- a/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap +++ b/src/lib/components/documents/tests/__snapshots__/DocumentListItem.test.ts.snap @@ -3,10 +3,10 @@ exports[`DocumentListItem > renders 1`] = `
renders 1`] = `

Quarterly Reports created pursuant to the letter from the National Archives and Records Administration dated June 1, 2018 @@ -42,7 +42,7 @@ exports[`DocumentListItem > renders 1`] = `

diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index 9bd35c73e..262ca550a 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -140,7 +140,7 @@
- + {#each results as document (document.id)}
Date: Mon, 9 Dec 2024 18:11:41 -0500 Subject: [PATCH 11/19] Fix link rendering in KV component --- src/lib/components/common/KV.svelte | 10 ++----- .../documents/DocumentListItem.svelte | 28 ++++++++++++------- .../components/documents/ResultsList.svelte | 6 ++-- src/lib/components/documents/Thumbnail.svelte | 9 +++--- .../components/documents/VisibleFields.svelte | 11 +++++--- 5 files changed, 35 insertions(+), 29 deletions(-) diff --git a/src/lib/components/common/KV.svelte b/src/lib/components/common/KV.svelte index 954972d4d..167cd98b5 100644 --- a/src/lib/components/common/KV.svelte +++ b/src/lib/components/common/KV.svelte @@ -6,15 +6,11 @@ export let tag: boolean = false; let el = href ? "a" : "span"; + + $: props = { ...$$restProps, href }; - + {#if !tag} {key} {/if} diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index 10d79cf17..5cfe6bcd4 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -38,11 +38,12 @@ If we're in an embed, we want to open links to documents in new tabs and hide th import DocAccess, { getLevel } from "../common/Access.svelte"; import KV from "../common/KV.svelte"; - import { canonicalUrl, userOrgString } from "@/lib/api/documents"; - import { canonicalUrl as projectUrl } from "@/lib/api/projects"; - import Thumbnail from "./Thumbnail.svelte"; + import { canonicalUrl, userOrgString } from "$lib/api/documents"; + import { canonicalUrl as projectUrl } from "$lib/api/projects"; + import { searchUrl, kv } from "$lib/utils/search"; + export let document: Document; export let visibleFields: Partial = defaultVisibleFields; @@ -98,19 +99,21 @@ If we're in an embed, we want to open links to documents in new tabs and hide th {$_("documents.pageCount", { - values: { n: document.page_count }, - })} + {$_("documents.pageCount", { + values: { n: document.page_count }, + })} + - {#if document.notes && document.notes.length > 0} {$_("documents.noteCount", { + > + {$_("documents.noteCount", { values: { n: document.notes.length }, - })} - + })} + - {/if} {#if userOrgString(document)} {userOrgString(document)} - @@ -139,7 +142,12 @@ If we're in an embed, we want to open links to documents in new tabs and hide th {#if visible.data} {#each Object.entries(document.data) as [key, values]} {#each values as value} - + {/each} {/each} {/if} diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index 262ca550a..e7662631b 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -53,7 +53,7 @@ import PageHighlights from "./PageHighlights.svelte"; import { getApiResponse } from "$lib/utils/api"; - import { StorageManager } from "@/lib/utils/storage"; + import { StorageManager } from "$lib/utils/storage"; export let results: Document[] = []; export let count: Maybe = undefined; @@ -69,8 +69,6 @@ const embed: boolean = getContext("embed"); const visibleFields = getContext>("visibleFields"); - $: console.log($visibleFields); - setContext("highlightState", highlightState); function collapseAll() { @@ -129,7 +127,7 @@ onMount(() => { // set initial total, update later $total = count ?? 0; - if (auto) { + if (auto && end) { observer = watch(end); } diff --git a/src/lib/components/documents/Thumbnail.svelte b/src/lib/components/documents/Thumbnail.svelte index 6b49f575c..61826cf06 100644 --- a/src/lib/components/documents/Thumbnail.svelte +++ b/src/lib/components/documents/Thumbnail.svelte @@ -1,11 +1,12 @@ - - + + From e6cd65ac0058e9e0170306bf03000dfb85b93a8e Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 10 Dec 2024 10:22:57 -0500 Subject: [PATCH 14/19] i18n --- src/langs/json/de.json | 15 +++++++++++++++ src/langs/json/es.json | 17 ++++++++++++++++- src/langs/json/fr.json | 17 ++++++++++++++++- src/langs/json/it.json | 15 +++++++++++++++ src/langs/json/ru.json | 15 +++++++++++++++ src/langs/json/uk.json | 15 +++++++++++++++ 6 files changed, 92 insertions(+), 2 deletions(-) diff --git a/src/langs/json/de.json b/src/langs/json/de.json index dc1483c1c..0e6351783 100644 --- a/src/langs/json/de.json +++ b/src/langs/json/de.json @@ -25,6 +25,21 @@ "dismiss": "Verwerfen", "dispatch": "Senden" }, + "documentBrowser": { + "fieldsAnchor": "Felder", + "fields": { + "concise": "Prägnant", + "detailed": "Detailliert", + "customize": "Anpassen", + "access": "Zugriff", + "meta": "Metadaten", + "thumbnail": "Miniaturansicht", + "description": "Beschreibung", + "projects": "Projekte", + "data": "Daten", + "wrapTitle": "Titel umbrechen" + } + }, "dialogReprocessDialog": { "title": "Wiederaufbereitung bestätigen", "reprocessDocs": "Wenn Sie fortfahren, {n, plural, one {wird das ausgewählte Dokument} other {werden die # ausgewählten Dokumente}} den Seiten- und Bildtext erzwungermaßen wiederaufbereiten. Möchten Sie fortfahren?", diff --git a/src/langs/json/es.json b/src/langs/json/es.json index cd8721ac2..328fb3402 100644 --- a/src/langs/json/es.json +++ b/src/langs/json/es.json @@ -144,6 +144,21 @@ "done": "Hacido" } }, + "documentBrowser": { + "fieldsAnchor": "Campos", + "fields": { + "concise": "Conciso", + "detailed": "Detallado", + "customize": "Personalizar", + "access": "Acceso", + "meta": "Metadatos", + "thumbnail": "Miniatura", + "description": "Descripción", + "projects": "Proyectos", + "data": "Datos", + "wrapTitle": "Ajustar título" + } + }, "authSection": { "help": { "faq": "Preguntas Frecuentes", @@ -565,4 +580,4 @@ }, "success": "Agradecemos su retroalimentaci\u00f3n. \u00a1Muchas gracias!" } -} \ No newline at end of file +} diff --git a/src/langs/json/fr.json b/src/langs/json/fr.json index 4bc29d004..19082424d 100644 --- a/src/langs/json/fr.json +++ b/src/langs/json/fr.json @@ -26,6 +26,21 @@ "selected": "S\u00e9lectionn\u00e9", "resultsCount": "Mostrando {n, number} de {total, number} r\u00e9sultats" }, + "documentBrowser": { + "fieldsAnchor": "Champs", + "fields": { + "concise": "Concis", + "detailed": "Détaillé", + "customize": "Personnaliser", + "access": "Accès", + "meta": "Métadonnées", + "thumbnail": "Miniature", + "description": "Description", + "projects": "Projets", + "data": "Données", + "wrapTitle": "Ajuster le titre" + } + }, "access": { "private": { "value": "priv\u00e9", @@ -564,4 +579,4 @@ }, "success": "Nous avons re\u00e7u vos retours. Merci !" } -} \ No newline at end of file +} diff --git a/src/langs/json/it.json b/src/langs/json/it.json index f00b2c9c1..abb5458c3 100644 --- a/src/langs/json/it.json +++ b/src/langs/json/it.json @@ -46,6 +46,21 @@ "notfound": { "content": "Perci\u00f2 prova un altro indirizzo URL." }, + "documentBrowser": { + "fieldsAnchor": "Campi", + "fields": { + "concise": "Conciso", + "detailed": "Dettaglio", + "customize": "Personalizza", + "access": "Accesso", + "meta": "Metadati", + "thumbnail": "Miniatura", + "description": "Descrizione", + "projects": "Progetti", + "data": "Dati", + "wrapTitle": "Adatta titolo" + } + }, "appearanceDimension": { "responsive": "Automatico", "fixed": "Fissato" diff --git a/src/langs/json/ru.json b/src/langs/json/ru.json index 93073d1d9..316015be9 100644 --- a/src/langs/json/ru.json +++ b/src/langs/json/ru.json @@ -41,6 +41,21 @@ "reprocessSingleDoc": "Если вы продолжите, это заставит документ повторно обработать страницу и текст изображения. Вы хотите продолжить?", "confirm": "Повторная обработка" }, + "documentBrowser": { + "fieldsAnchor": "Поля", + "fields": { + "concise": "Кратко", + "detailed": "Подробно", + "customize": "Настроить", + "access": "Доступ", + "meta": "Метаданные", + "thumbnail": "Миниатюра", + "description": "Описание", + "projects": "Проекты", + "data": "Данные", + "wrapTitle": "Оборачивать заголовок" + } + }, "dialogDocumentEmbedDialog": { "responsive": "Адаптивный", "respOn": "Вкл (по умолчанию)", diff --git a/src/langs/json/uk.json b/src/langs/json/uk.json index 62ad60579..3fb5e30be 100644 --- a/src/langs/json/uk.json +++ b/src/langs/json/uk.json @@ -31,6 +31,21 @@ "reprocessSingleDoc": "Продовження призведе до того, що документ повторно обробить сторінку та текст зображення. Бажаєте продовжити?", "confirm": "Повторна обробка" }, + "documentBrowser": { + "fieldsAnchor": "Поля", + "fields": { + "concise": "Стислий", + "detailed": "Детально", + "customize": "Налаштувати", + "access": "Доступ", + "meta": "Метадані", + "thumbnail": "Мініатюра", + "description": "Опис", + "projects": "Проекти", + "data": "Дані", + "wrapTitle": "Обгорнути заголовок" + } + }, "dialogDocumentEmbedDialog": { "responsive": "Адаптивне", "respOn": "Ввімкнено (за замовчуванням)", From 7fc94577b1fe8e1e9c193a744911872e3cf9e8b1 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 10 Dec 2024 10:25:59 -0500 Subject: [PATCH 15/19] Fix test and check --- .../documents/DocumentListItem.svelte | 4 ++-- .../components/documents/ResultsList.svelte | 10 +++++---- .../stories/DocumentListItem.stories.svelte | 5 ++--- .../DocumentListItem.test.ts.snap | 21 ++++++++++--------- 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index 3418085b2..ff8a480e2 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -252,10 +252,10 @@ If we're in an embed, we want to open links to documents in new tabs and hide th width: 100%; } - .fullDescription { + /* .fullDescription { line-clamp: unset; -webkit-line-clamp: unset; - } + } */ .access { flex: 0 0 auto; diff --git a/src/lib/components/documents/ResultsList.svelte b/src/lib/components/documents/ResultsList.svelte index e7662631b..2628906ab 100644 --- a/src/lib/components/documents/ResultsList.svelte +++ b/src/lib/components/documents/ResultsList.svelte @@ -7,6 +7,11 @@ type Writable, } from "svelte/store"; + import { + defaultVisibleFields, + type VisibleFields, + } from "./VisibleFields.svelte"; + // IDs might be strings or numbers, depending on the API endpoint // enforce type consistency here to avoid comparison bugs later export const visible: Writable> = writable(new Map()); @@ -43,10 +48,7 @@ import { Search24 } from "svelte-octicons"; import Button from "../common/Button.svelte"; - import DocumentListItem, { - defaultVisibleFields, - type VisibleFields, - } from "./DocumentListItem.svelte"; + import DocumentListItem from "./DocumentListItem.svelte"; import Empty from "../common/Empty.svelte"; import Flex from "../common/Flex.svelte"; import NoteHighlights from "./NoteHighlights.svelte"; diff --git a/src/lib/components/documents/stories/DocumentListItem.stories.svelte b/src/lib/components/documents/stories/DocumentListItem.stories.svelte index f9dcae034..c1388d3a2 100644 --- a/src/lib/components/documents/stories/DocumentListItem.stories.svelte +++ b/src/lib/components/documents/stories/DocumentListItem.stories.svelte @@ -1,8 +1,7 @@