feat(webui): support jumping to video timestamp from search results

This commit is contained in:
yiling
2026-06-18 20:35:50 +08:00
parent 4c7ff6f58f
commit 3b7fc410b2
7 changed files with 51 additions and 3 deletions
@@ -242,7 +242,10 @@ export function SearchFilterDialog({
navigate({
to: '/projects/$projectId/files/$fileId',
params: { projectId, fileId: item.versionStack ? item.versionStack.id : item.id! },
search: { version: undefined },
search: {
version: undefined,
start: item.startTime && item.startTime > 0 ? item.startTime : undefined,
},
})
}
onOpenChange(false)