From 665cd2c249e73989145c28125644e8c44f54842a Mon Sep 17 00:00:00 2001 From: Gordon Lin <75815453+gordlin@users.noreply.github.com> Date: Fri, 4 Oct 2024 13:00:19 -0400 Subject: [PATCH] Implement ToC redesign/refactor, both-language previews --- src/app.vue | 2 +- src/components/editor.vue | 215 ++++++-- src/components/metadata-editor.vue | 69 ++- src/components/preview.vue | 2 +- src/components/slide-editor.vue | 10 +- src/components/slide-toc.vue | 757 +++++++++++++++++++++++------ src/definitions.ts | 5 + src/lang/lang.csv | 24 +- 8 files changed, 875 insertions(+), 209 deletions(-) diff --git a/src/app.vue b/src/app.vue index e2a0351d..b892b25f 100644 --- a/src/app.vue +++ b/src/app.vue @@ -29,7 +29,7 @@ export default class App extends Vue { diff --git a/src/components/metadata-editor.vue b/src/components/metadata-editor.vue index 873d1d42..87b2389d 100644 --- a/src/components/metadata-editor.vue +++ b/src/components/metadata-editor.vue @@ -248,7 +248,7 @@ :configFileStructure="configFileStructure" :sourceCounts="sourceCounts" :metadata="metadata" - :slides="slides" + :bothLanguageSlides="bothLanguageSlides" :configLang="configLang" :saving="saving" :unsavedChanges="unsavedChanges" @@ -257,20 +257,6 @@ @refresh-config="refreshConfig" ref="mainEditor" > - -