HWHeat Waves
    DashboardUtforsk
    Analyse
    Data Kilder
      • Explore Slice
      • Read Path
      • Routes
      • Atlas Route
      • Charts Correlation
      • Chart Libraries
      • Dashboard Route
    • Design Rationale
    • Doc Map
    DocsSettings
    DashboardAtlasUtforsk
    Analyse
    Data Kilder
    1. Documentation
    2. Application Architecture
    3. App routes

    App routes

    Shipped surfaces under `app/(main)/` — navigation labels, read paths, and feature doc pointers.

    App routes

    Navigation labels

    Norwegian nav labels come from i18n.ts. The discover translation key means Utforsk and routes to /explore (see components/dashboard/sidebar.tsx and components/dashboard/mobile-bottom-nav.tsx).

    app/(main)/ inventory

    Representative tree:

    • simple/page.tsx — Enkel overview dashboard (RSC + ?interval=). See read-path-get-fire-data-and-catalog-caching.md.
    • dashboard/page.tsx — Dashbord block playground. See dashboard-route.md.
    • explore/ — Utforsk: source-native exploration with cold-ingest into fire_data. See explore-fire-data-slice-probe-and-ingest.md.
    • analytics/page.tsx — Analyse placeholder (charts discontinued). See charts-correlation-crosstab.md.
    • atlas/page.tsx — Scrollytelling atlas (mobile nav). See atlas-route.md.
    • sources/page.tsx — Kilder: source documentation and filter capability matrix.
    • settings/page.tsx — Innstillinger: user preferences and API guardrails.
    • layout.tsx — Main shell (sidebar, auth, console sheet providers).

    Planned (no page.tsx yet): /risk — probability × consequence matrix (spec not in canonical docs until implemented).

    Route summaries

    /simple (Enkel) — Tier-2 consolidated dashboard with a fixed layout. Reads fire_data via getCachedFireData / get_fire_data.

    /dashboard (Dashbord) — Tier-2 block playground: drag-and-drop stat + chart blocks, URL ↔ FireDataQuery, per-user persisted layouts. Anonymous users get the default layout read-only; layout edits require sign-in. Landing Dashbord card and Atlas “Ditt utsnitt” CTA open here.

    /explore (Utforsk) — Source-native exploration on fire_data. Probe → getCachedFireData when materialized; cold-ingest via /api/admin/ingest when a slice is missing (authenticated). BRASK native passthrough uses server-side brask-passthrough.ts (not a browser proxy).

    /analytics (Analyse) — Placeholder copy only; correlation/crosstab UI is discontinued until reintroduced on the unified read path.

    /atlas — Chapter-based scrollytelling; Tier-2 reads like other canon routes.

    /sources (Kilder) — Static source metadata and capability matrix.

    /settings (Innstillinger) — View preference (simple | dashboard), layout density, API guardrails.

    Read path

    All Tier-2 chart routes share:

    getCatalog() → FireDataQuery / URL params → resolveFireDataRequest() → getCachedFireData() → Postgres get_fire_data.

    Details: read-path-get-fire-data-and-catalog-caching.md.

    Maintenance

    When adding a new top-level route under app/(main)/, extend this inventory or add a dedicated feature doc and a row in documentation-map.md.