Update guide presentation and route preview gating

This commit is contained in:
lyf
2026-06-24 23:12:44 +08:00
parent 67c6609ae6
commit 1d277eabf0
12 changed files with 560 additions and 142 deletions

View File

@@ -1,4 +1,5 @@
import {
applyRouteReadinessGate,
NAV_ASSET_BASE_URL,
NAV_ROUTE_READINESS
} from '@/domain/guideReadiness'
@@ -345,7 +346,7 @@ export const createStaticNavAssetsProvider = (
},
async loadRouteReadiness() {
const manifest = await provider.loadManifest()
return manifest.routeReadiness || NAV_ROUTE_READINESS
return applyRouteReadinessGate(manifest.routeReadiness || NAV_ROUTE_READINESS)
}
}