跳转智能剪辑平台加userid

This commit is contained in:
北枳 2025-08-30 20:56:14 +08:00
parent 596e695a1d
commit 6c283f2d19
3 changed files with 5 additions and 5 deletions

View File

@ -480,7 +480,7 @@ export const MediaViewer = React.memo(function MediaViewer({
</motion.div>
{/* 添加到chat去编辑 按钮 */}
<Tooltip title="Add to chat to edit">
<Tooltip title="Edit video with chat">
<Button
className="absolute top-4 left-4 z-[21] bg-white/10 backdrop-blur-sm border border-white/20 text-white"
onClick={() => {

View File

@ -404,7 +404,7 @@ export function TaskInfo({
{/* 跳转剪辑按钮 */}
{showGotoCutButton && (
<Tooltip placement="top" title='Go to Smart Cut'>
<Tooltip placement="top" title='AI-powered editing platform'>
<GlassIconButton icon={Scissors} size='sm' onClick={onGotoCut} />
</Tooltip>
)}

View File

@ -114,8 +114,8 @@ export function useWorkflowData() {
}, [taskObject.currentStage]);
const generateEditPlan = useCallback(async () => {
await getGenerateEditPlan({ project_id: episodeId });
window.open(`https://smartcut.huiying.video/ai-editor/${episodeId}?token=${token}&userid=${useid}`, '_self');
// await getGenerateEditPlan({ project_id: episodeId });
window.open(`https://smartcut.huiying.video/ai-editor/${episodeId}?token=${token}&user_id=${useid}`, '_blank');
}, [episodeId]);
// useEffect(() => {
@ -160,7 +160,7 @@ export function useWorkflowData() {
if (taskObject.videos.total_count > realTaskResultData.length) {
loadingText.current = LOADING_TEXT_MAP.video(realTaskResultData.length, taskObject.videos.total_count);
} else {
loadingText.current = LOADING_TEXT_MAP.postProduction('generating rough cut video...');
loadingText.current = LOADING_TEXT_MAP.postProduction('AI-powered video editing in progress…');
}
}
if (taskObject.currentStage === 'final_video') {