From dda62265c9c628d1fa22fcc1309c4bfab2f98cf1 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 26 Apr 2026 12:53:06 -0400 Subject: [PATCH] fix(journal): drop dangling JournalSetupWizard import MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The setup-wizard component was deleted in the RSS hard-cut (it was briefing-config-shaped), but JournalView still imported it — breaking the Vite build. Removed the import + showWizard / wizardChecked / checkSetup / onWizardDone plumbing. JournalView now mounts straight into the day view. Co-Authored-By: Claude Opus 4.7 --- frontend/src/views/JournalView.vue | 31 +++--------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) diff --git a/frontend/src/views/JournalView.vue b/frontend/src/views/JournalView.vue index 36e2b52..205c2b4 100644 --- a/frontend/src/views/JournalView.vue +++ b/frontend/src/views/JournalView.vue @@ -4,11 +4,9 @@ import { useBackgroundRefresh } from '@/composables/useBackgroundRefresh' import { useChatStore } from '@/stores/chat' import ChatPanel from '@/components/ChatPanel.vue' import WeatherCard from '@/components/WeatherCard.vue' -import JournalSetupWizard from '@/components/JournalSetupWizard.vue' import { apiGet, apiPost, - getJournalConfig, getJournalToday, getJournalDay, getJournalDays, @@ -50,23 +48,6 @@ interface CurrentConditions { const chatStore = useChatStore() -// ── Setup wizard ───────────────────────────────────────────────────────────── -const showWizard = ref(false) -const wizardChecked = ref(false) - -async function checkSetup() { - const config = await getJournalConfig() - // Wizard offers location/feed setup. Skip if already configured. - const hasLocations = !!(config.locations?.home || config.locations?.work) - if (!hasLocations) showWizard.value = true - wizardChecked.value = true -} - -async function onWizardDone() { - showWizard.value = false - await loadAll() -} - // ── Day picker + conversation state ────────────────────────────────────────── const days = ref([]) const todayDate = ref(null) @@ -252,20 +233,14 @@ onUnmounted(() => { }) onMounted(async () => { - await checkSetup() - if (!showWizard.value) { - await loadAll() - currentWeatherTimer = setInterval(loadCurrentConditions, 30 * 60 * 1000) - } + await loadAll() + currentWeatherTimer = setInterval(loadCurrentConditions, 30 * 60 * 1000) })