Logan.Li
|
d5b8b8116c
|
fix(frontend): harden auth request layer per web guide
- fix double-unwrap bug in useLogin prefs sync (theme sync silently broken)
- request layer: 401 single-flight refresh queue + debounced single redirect
with return-url, cancel-aware silent passthrough, skipErrorHandler opt-out,
typed blob download (replace bare fetch export in QueriesPage)
- useFetchList: AbortController + version guard + error state (three states)
- ErrorBoundary with chunk-load auto recovery (reload once)
- permission single source: derive route guard from menu constants, drop
hand-maintained routePermissionMap; TicketDetailPage uses unified
hasActionPermission instead of inline role string comparison
- namespaced localStorage keys (opsxsql.*) with read-old-write-new migration
- fix pre-existing tsc errors (InstancePage/WorkflowPage/QueriesPage/
PlatformConfigPage/RedisDetailPage) - typecheck now passes clean
|
2026-10-26 17:12:29 +08:00 |
|