Persist versioned models and validated network metadata in IndexedDB. Show scene download progress and recoverable errors with the existing frosted material. Connect existing skeletons to pending navigation and route boundaries while preserving the map. Previously only dynamic imports showed fallbacks, and rejected model promises prevented retries. Verified: 32 focused unit tests; 4 navigation and scene browser checks; 7 cache browser checks including invalid-metadata recovery; isolated production build and type checks.
15 lines
394 B
TypeScript
15 lines
394 B
TypeScript
"use client";
|
|
|
|
import type { ReactNode } from "react";
|
|
|
|
import MapComponent from "@components/olmap/core/MapComponent";
|
|
import { MapNavigationContent } from "@components/loading/NavigationFeedback";
|
|
|
|
export default function MapLayout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<MapComponent>
|
|
<MapNavigationContent>{children}</MapNavigationContent>
|
|
</MapComponent>
|
|
);
|
|
}
|