Add maintenance mode to data analysis pages
All checks were successful
build-and-deploy / build (push) Successful in 45s
build-and-deploy / deploy (push) Successful in 4s

Restore all data analysis pages but display them in maintenance mode.
Users can see these pages in the navigation and access them, but they
show a maintenance message instead of trying to fetch data.

Changes:
- Create MaintenanceMode component for reusable maintenance UI
- Restore all deleted pages: explorer, metadatos, rawExplorer, panorama,
  comparativa-cosechas, informe-ingresos
- Replace complex data-fetching logic with MaintenanceMode component
- Add "Mantenimiento" badges to navigation menu items
- Pages show clear maintenance message with technical details
- Users can still navigate to these pages without errors

This approach:
- Keeps the UI structure intact
- Shows users what features exist
- Provides clear communication about maintenance status
- Prevents confusion about missing features
- Easy to re-enable when data sources are reconnected
This commit is contained in:
2025-10-13 13:52:13 -06:00
parent 608b4dbe26
commit 2cf2242b82
8 changed files with 210 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<template>
<MaintenanceMode
title="Comparativa de Cosechas"
description="El análisis comparativo de cosechas está temporalmente deshabilitado."
icon="i-lucide-calendar-range"
technical-info="Módulo de análisis agrícola en proceso de actualización con nuevos indicadores y métricas."
/>
</template>
<script setup lang="ts">
definePageMeta({
layout: 'informe',
title: 'Comparativa Cosechas'
})
</script>