fix: trace debug — show Stranger_NNN for unnamed traces instead of unknown

This commit is contained in:
Accusys
2026-05-14 15:12:21 +08:00
parent 8f013cbdbc
commit c90394897d
42 changed files with 1806 additions and 1722 deletions

View File

@@ -31,8 +31,8 @@ const routes = [
meta: { requiresAuth: true }
},
{
path: '/faces/candidates',
name: 'face-candidates',
path: '/traces',
name: 'traces',
component: () => import('./views/FaceCandidatesView.vue'),
meta: { requiresAuth: true }
},
@@ -49,28 +49,55 @@ const routes = [
meta: { requiresAuth: true }
},
{
path: '/videos/:uuid',
name: 'video-detail',
path: '/file/:file_uuid',
name: 'file-detail',
component: () => import('./views/VideoDetailView.vue'),
meta: { requiresAuth: true }
},
{
path: '/chunk-detail/:uuid/:chunkId',
path: '/chunk-detail/:file_uuid/:chunk_id',
name: 'chunk-detail',
component: () => import('./views/ChunkDetailView.vue'),
meta: { requiresAuth: true }
},
{
path: '/identity/:id',
path: '/identity/:identity_uuid',
name: 'identity-detail',
component: () => import('./views/IdentityDetailView.vue'),
meta: { requiresAuth: true }
},
{
path: '/jobs',
name: 'pipeline-progress',
component: () => import('./views/PipelineProgressView.vue'),
meta: { requiresAuth: true }
},
{
path: '/traces/:file_uuid/:trace_id',
name: 'trace-detail',
component: () => import('./views/TraceDetailView.vue'),
meta: { requiresAuth: true }
},
{
path: '/trace-viz/:file_uuid',
name: 'trace-viz',
component: () => import('./views/TraceVizView.vue'),
meta: { requiresAuth: false }
},
{
path: '/:pathMatch(.*)*',
name: 'not-found',
component: () => import('./views/NotFoundView.vue'),
meta: { requiresAuth: false }
}
]
const router = createRouter({
history: createWebHistory(),
routes
routes,
scrollBehavior() {
return { top: 0 }
}
})
router.beforeEach((to, _from, next) => {