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) })