-
- {title}
-
+ {#if title}
+
+ {title}
+
+ {/if}
{#if children}
{@render children()}
{/if}
diff --git a/frontend/viewer/src/lib/components/ui/format/format-relative-date.svelte b/frontend/viewer/src/lib/components/ui/format/format-relative-date.svelte
index 25757b7330..32901871f3 100644
--- a/frontend/viewer/src/lib/components/ui/format/format-relative-date.svelte
+++ b/frontend/viewer/src/lib/components/ui/format/format-relative-date.svelte
@@ -67,11 +67,10 @@
{#if showActualDate && actualFormattedDate}
-
+
-
-
-
+
+
{actualFormattedDate}
diff --git a/frontend/viewer/src/lib/components/ui/popover/index.ts b/frontend/viewer/src/lib/components/ui/popover/index.ts
index 32c53f30cf..be3a37a0b6 100644
--- a/frontend/viewer/src/lib/components/ui/popover/index.ts
+++ b/frontend/viewer/src/lib/components/ui/popover/index.ts
@@ -1,7 +1,9 @@
/* eslint-disable @typescript-eslint/naming-convention */
-import {Popover as PopoverPrimitive} from 'bits-ui';
import Content from './popover-content.svelte';
+import InfoTrigger from './popover-info-trigger.svelte';
+import {Popover as PopoverPrimitive} from 'bits-ui';
+
const Root = PopoverPrimitive.Root;
const Trigger = PopoverPrimitive.Trigger;
const Close = PopoverPrimitive.Close;
@@ -10,5 +12,6 @@ export {
Close, Content,
//
Root as Popover, Close as PopoverClose, Content as PopoverContent,
- Trigger as PopoverTrigger, Root, Trigger
+ Trigger as PopoverTrigger, Root, Trigger,
+ InfoTrigger, InfoTrigger as PopoverInfoTrigger,
};
diff --git a/frontend/viewer/src/lib/components/ui/popover/popover-info-trigger.svelte b/frontend/viewer/src/lib/components/ui/popover/popover-info-trigger.svelte
new file mode 100644
index 0000000000..b636fd9748
--- /dev/null
+++ b/frontend/viewer/src/lib/components/ui/popover/popover-info-trigger.svelte
@@ -0,0 +1,22 @@
+
+
+
+ {@render children?.()}
+
+
diff --git a/frontend/viewer/src/lib/markdown/NewTabLinkRenderer.svelte b/frontend/viewer/src/lib/markdown/NewTabLinkRenderer.svelte
index f3ff054b50..54c512abee 100644
--- a/frontend/viewer/src/lib/markdown/NewTabLinkRenderer.svelte
+++ b/frontend/viewer/src/lib/markdown/NewTabLinkRenderer.svelte
@@ -3,7 +3,7 @@
export let title: string | undefined = undefined;
-
+
diff --git a/frontend/viewer/src/lib/sandbox/EditorSandbox.svelte b/frontend/viewer/src/lib/sandbox/EditorSandbox.svelte
index 01a7fb60b3..39e00ca994 100644
--- a/frontend/viewer/src/lib/sandbox/EditorSandbox.svelte
+++ b/frontend/viewer/src/lib/sandbox/EditorSandbox.svelte
@@ -11,7 +11,7 @@
import {type IMultiString} from '$lib/dotnet-types';
import {type IRichString} from '$lib/dotnet-types/generated-types/MiniLcm/Models/IRichString';
import { fieldData } from '$lib/entry-editor/field-data';
- import ViewPicker from '../../project/browse/ViewPicker.svelte';
+ import ViewPicker from '../../project/browse/EditorViewOptions.svelte';
import WsInput from '$lib/components/field-editors/ws-input.svelte';
import {vt} from '$lib/views/view-text';
diff --git a/frontend/viewer/src/lib/views/view-data.ts b/frontend/viewer/src/lib/views/view-data.ts
index 749125cd9e..1aefcb2eca 100644
--- a/frontend/viewer/src/lib/views/view-data.ts
+++ b/frontend/viewer/src/lib/views/view-data.ts
@@ -41,7 +41,7 @@ export const FW_LITE_VIEW: RootView = {
export const FW_CLASSIC_VIEW: RootView = {
id: 'fieldworks',
type: 'fw-classic',
- label: 'FieldWorks',
+ label: 'FieldWorks Classic',
fields: recursiveSpread(allFields, {
complexFormTypes: {order: allFields.components.order - 0.1},
[defaultDef]: {show: true}
diff --git a/frontend/viewer/src/locales/en.po b/frontend/viewer/src/locales/en.po
index fdb9a352a9..c25a499163 100644
--- a/frontend/viewer/src/locales/en.po
+++ b/frontend/viewer/src/locales/en.po
@@ -57,6 +57,18 @@ msgstr "{num, plural, one {# new FieldWorks Classic commit} other {# new FieldWo
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr "A new version of FieldWorks Lite is available."
@@ -498,10 +510,6 @@ msgstr "Feedback & Support"
msgid "Field"
msgstr "Field"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "Field Labels"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr "FieldWorks Lite"
@@ -1185,6 +1193,14 @@ msgstr "Tasks"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr "Tell us about a bug or issue you’ve encountered."
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
@@ -1315,6 +1331,10 @@ msgstr "Uses components as"
msgid "Version {0}"
msgstr "Version {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr "View"
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "View Configuration"
diff --git a/frontend/viewer/src/locales/es.po b/frontend/viewer/src/locales/es.po
index ccb3d621fc..25b784cd23 100644
--- a/frontend/viewer/src/locales/es.po
+++ b/frontend/viewer/src/locales/es.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr "Una nueva versión de FieldWorks Lite está disponible."
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr "Campo"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "Etiquetas de campo"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr "FieldWorks Lite"
@@ -1190,6 +1198,14 @@ msgstr "Tareas"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr "Utiliza componentes como"
msgid "Version {0}"
msgstr "Versión {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "Ver configuración"
diff --git a/frontend/viewer/src/locales/fr.po b/frontend/viewer/src/locales/fr.po
index 6d12bc4018..e4cb5fc788 100644
--- a/frontend/viewer/src/locales/fr.po
+++ b/frontend/viewer/src/locales/fr.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr "Une nouvelle version de FieldWorks Lite sera disponible."
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr "Champ d'application"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "Étiquettes de champ"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr "FieldWorks Lite"
@@ -1190,6 +1198,14 @@ msgstr "Tâches"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr "Utilise des composants tels que"
msgid "Version {0}"
msgstr "Version {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "Voir la configuration"
diff --git a/frontend/viewer/src/locales/id.po b/frontend/viewer/src/locales/id.po
index f8783b6f92..9547389b44 100644
--- a/frontend/viewer/src/locales/id.po
+++ b/frontend/viewer/src/locales/id.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr "Versi baru FieldWorks Lite telah tersedia."
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr "Bidang"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "Label Bidang"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr "FieldWorks Lite"
@@ -1190,6 +1198,14 @@ msgstr "Tugas"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr "Menggunakan komponen sebagai"
msgid "Version {0}"
msgstr "Versi {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "Lihat Konfigurasi"
diff --git a/frontend/viewer/src/locales/ko.po b/frontend/viewer/src/locales/ko.po
index bf8f5a0b99..fce03b3d67 100644
--- a/frontend/viewer/src/locales/ko.po
+++ b/frontend/viewer/src/locales/ko.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr "새 버전의 FieldWorks Lite를 사용할 수 있습니다."
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr "필드"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "필드 레이블"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr "FieldWorks Lite"
@@ -1190,6 +1198,14 @@ msgstr "작업"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr "구성 요소를 다음과 같이 사용합니다."
msgid "Version {0}"
msgstr "버전 {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "구성 보기"
diff --git a/frontend/viewer/src/locales/ms.po b/frontend/viewer/src/locales/ms.po
index a4053bf41c..3d91c6d978 100644
--- a/frontend/viewer/src/locales/ms.po
+++ b/frontend/viewer/src/locales/ms.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr ""
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr "Bidang"
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr "Label Medan"
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr ""
@@ -1190,6 +1198,14 @@ msgstr "Tugasan"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr "Menggunakan komponen sebagai"
msgid "Version {0}"
msgstr "Versi {0}"
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr "Lihat Konfigurasi"
diff --git a/frontend/viewer/src/locales/sw.po b/frontend/viewer/src/locales/sw.po
index 7cf8c58d7e..0e7c49be47 100644
--- a/frontend/viewer/src/locales/sw.po
+++ b/frontend/viewer/src/locales/sw.po
@@ -62,6 +62,18 @@ msgstr ""
msgid "{num, plural, one {# new FieldWorks Lite commit} other {# new FieldWorks Lite commits}}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer fields** (e.g. hides *Complex form types*, *Literal meaning*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Fewer morpheme types** (only *Root*, *Bound Root*, *Stem*, *Bound Stem*, *Particle*, *Phrase*, and *Discontiguous Phrase*)"
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "**Simpler terminology** (e.g. *Word* instead of *Lexeme form*, *Meaning* instead of *Sense*)"
+msgstr ""
+
#: src/lib/notifications/NotificationOutlet.svelte
msgid "A new version of FieldWorks Lite is available."
msgstr ""
@@ -503,10 +515,6 @@ msgstr ""
msgid "Field"
msgstr ""
-#: src/project/browse/ViewPicker.svelte
-msgid "Field Labels"
-msgstr ""
-
#: src/project/sync/SyncStatusPrimitive.svelte
msgid "FieldWorks Lite"
msgstr ""
@@ -1190,6 +1198,14 @@ msgstr "Jukumu"
msgid "Tell us about a bug or issue you’ve encountered."
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Classic* view, on the other hand, is designed for users who are familiar with *[FieldWorks Language Explorer](https://software.sil.org/fieldworks/)*."
+msgstr ""
+
+#: src/project/browse/ViewPicker.svelte
+msgid "The *FieldWorks Lite* view is designed for non-linguists and differs from the *FieldWorks Classic* view in the following ways:"
+msgstr ""
+
#: src/project/sync/FwLiteToFwMergeDetails.svelte
msgid "The number of FieldWorks Classic commits will not necessarily match the number of changes shown in the sync result message."
msgstr ""
@@ -1320,6 +1336,10 @@ msgstr ""
msgid "Version {0}"
msgstr ""
+#: src/project/browse/ViewPicker.svelte
+msgid "View"
+msgstr ""
+
#: src/project/browse/ViewPicker.svelte
msgid "View Configuration"
msgstr ""
diff --git a/frontend/viewer/src/project/browse/BrowseView.svelte b/frontend/viewer/src/project/browse/BrowseView.svelte
index 5da2912a05..044958d36e 100644
--- a/frontend/viewer/src/project/browse/BrowseView.svelte
+++ b/frontend/viewer/src/project/browse/BrowseView.svelte
@@ -4,14 +4,10 @@
import EntryView from './EntryView.svelte';
import SearchFilter from './SearchFilter.svelte';
import EntriesList from './EntriesList.svelte';
- import { Icon } from '$lib/components/ui/icon';
import { t } from 'svelte-i18n-lingui';
import SidebarPrimaryAction from '../SidebarPrimaryAction.svelte';
import {useDialogsService} from '$lib/services/dialogs-service';
import PrimaryNewEntryButton from '../PrimaryNewEntryButton.svelte';
- import ResponsivePopup from '$lib/components/responsive-popup/responsive-popup.svelte';
- import {Tabs, TabsList, TabsTrigger} from '$lib/components/ui/tabs';
- import {Button} from '$lib/components/ui/button';
import {QueryParamState} from '$lib/utils/url.svelte';
import {pt} from '$lib/views/view-text';
import {useCurrentView} from '$lib/views/view-service';
@@ -19,6 +15,8 @@
import {SortField} from '$lib/dotnet-types';
import SortMenu, {type SortConfig} from './SortMenu.svelte';
import {useProjectContext} from '$lib/project-context.svelte';
+ import type {EntryListViewMode} from './EntryListViewOptions.svelte';
+ import EntryListViewOptions from './EntryListViewOptions.svelte';
const projectContext = useProjectContext();
const currentView = useCurrentView();
@@ -28,7 +26,7 @@
let search = $state('');
let gridifyFilter = $state();
let sort = $state();
- let entryMode: 'preview' | 'simple' = $state('simple');
+ let entryMode: EntryListViewMode = $state('simple');
async function newEntry() {
const entry = await dialogsService.createNewEntry();
@@ -38,7 +36,6 @@
let leftPane: ResizablePane | undefined = $state();
let rightPane: ResizablePane | undefined = $state();
- let listModeOpen = $state(false);
{#snippet children(isOpen: boolean)}
@@ -62,25 +59,7 @@