From 59dfa18ec799c0350fef379dbef868d8d5e693cf Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 24 Feb 2026 13:37:07 +0100 Subject: [PATCH] disable: comment out PagePopup and page hover/highlight feature Keep the code aside for potential re-activation later. Co-Authored-By: Claude Opus 4.6 --- src/App.vue | 16 +++-- src/composables/useIframeInteractions.js | 86 ++++++++++-------------- src/composables/useKeyboardShortcuts.js | 4 +- 3 files changed, 49 insertions(+), 57 deletions(-) diff --git a/src/App.vue b/src/App.vue index 2027125..9f91c1a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@ import PagedJsWrapper from './components/PagedJsWrapper.vue'; import EditorPanel from './components/editor/EditorPanel.vue'; import ElementPopup from './components/ElementPopup.vue'; -import PagePopup from './components/PagePopup.vue'; +// import PagePopup from './components/PagePopup.vue'; // DISABLED: page template styling feature import PreviewLoader from './components/PreviewLoader.vue'; import SaveButton from './components/SaveButton.vue'; import { onMounted, ref, computed, provide } from 'vue'; @@ -19,22 +19,22 @@ const narrativeStore = useNarrativeStore(); const previewFrame1 = ref(null); const previewFrame2 = ref(null); const elementPopup = ref(null); -const pagePopup = ref(null); +// const pagePopup = ref(null); // DISABLED: page template styling feature const activeTab = ref(''); provide('activeTab', activeTab); // Setup iframe interactions (hover, click, labels) const { - hoveredPage, - selectedPages, + // hoveredPage, // DISABLED: page template styling feature + // selectedPages, // DISABLED: page template styling feature hoveredElement, selectedElement, handleIframeMouseMove, handleIframeClick, - handlePagePopupClose, + // handlePagePopupClose, // DISABLED: page template styling feature handleElementPopupClose, -} = useIframeInteractions({ elementPopup, pagePopup }); +} = useIframeInteractions({ elementPopup }); // Setup preview renderer with double buffering const { @@ -67,7 +67,7 @@ const { } = useKeyboardShortcuts({ stylesheetStore, elementPopup, - pagePopup, + // pagePopup, // DISABLED: page template styling feature activeTab, printPreview, }); @@ -117,11 +117,13 @@ onMounted(async () => { :iframeRef="activeFrame" @close="handleElementPopupClose" /> +